Synchronize new proto/yaml changes.

PiperOrigin-RevId: 334645418
This commit is contained in:
Google APIs 2020-09-30 11:43:23 -07:00 committed by Copybara-Service
parent 9a69333d45
commit c941026e5e
2 changed files with 6 additions and 42 deletions

View File

@ -162,7 +162,7 @@ py_gapic_library(
name = "datatransfer_py_gapic",
srcs = [":datatransfer_proto"],
grpc_service_config = "bigquerydatatransfer_grpc_service_config.json",
opt_args = ["python-gapic-namespace=google.cloud", "python-gapic-name=bigquery_datatransfer"],
)
py_gapic_assembly_pkg(

View File

@ -144,60 +144,24 @@ go_gapic_assembly_pkg(
##############################################################################
# Python
##############################################################################
# This library is using Python microgenerator.
# DO NOT OVERRIDE this Python section with autogenerated rules.
load(
"@com_google_googleapis_imports//:imports.bzl",
"moved_proto_library",
"py_gapic_assembly_pkg",
"py_gapic_library",
"py_grpc_library",
"py_proto_library",
)
moved_proto_library(
name = "bigquery_moved_proto",
srcs = [":bigquery_proto"],
deps = [
"//google/api:annotations_proto",
"//google/api:client_proto",
"//google/api:field_behavior_proto",
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:timestamp_proto",
"@com_google_protobuf//:wrappers_proto",
],
)
py_proto_library(
name = "bigquery_py_proto",
plugin = "@protoc_docs_plugin//:docs_plugin",
deps = [":bigquery_moved_proto"],
)
py_grpc_library(
name = "bigquery_py_grpc",
srcs = [":bigquery_moved_proto"],
deps = [":bigquery_py_proto"],
py_gapic_assembly_pkg = "py_gapic_assembly_pkg2",
py_gapic_library = "py_gapic_library2",
)
py_gapic_library(
name = "bigquery_py_gapic",
src = ":bigquery_proto_with_info",
gapic_yaml = "bigquery_gapic.yaml",
srcs = [":bigquery_proto"],
grpc_service_config = "bigquery_grpc_service_config.json",
package = "google.cloud.bigquery.v2",
service_yaml = "bigquery_v2.yaml",
deps = [
":bigquery_py_grpc",
":bigquery_py_proto",
],
)
# Open Source Packages
py_gapic_assembly_pkg(
name = "bigquery-v2-py",
deps = [
":bigquery_py_gapic",
":bigquery_py_grpc",
":bigquery_py_proto",
],
)