chore: migrate recommendationengine to the Python microgenerator

Committer: @miraleung
PiperOrigin-RevId: 351468458
This commit is contained in:
Google APIs 2021-01-12 16:03:06 -08:00 committed by Copybara-Service
parent e58a94f9ba
commit 2c29aa2222
1 changed files with 3 additions and 46 deletions

View File

@ -19,7 +19,6 @@ load(
"java_gapic_test",
"java_grpc_library",
"java_proto_library",
"moved_proto_library",
"nodejs_gapic_assembly_pkg",
"nodejs_gapic_library",
"php_gapic_assembly_pkg",
@ -27,14 +26,12 @@ load(
"php_grpc_library",
"php_proto_library",
"proto_library_with_info",
"py_grpc_library",
"py_proto_library",
"py_gapic_assembly_pkg",
"py_gapic_library",
"ruby_gapic_assembly_pkg",
"ruby_gapic_library",
"ruby_grpc_library",
"ruby_proto_library",
py_gapic_assembly_pkg = "py_gapic_assembly_pkg_legacy",
py_gapic_library = "py_gapic_library_legacy",
)
# This is an API workspace, having public visibility by default makes perfect sense.
@ -173,48 +170,10 @@ go_gapic_assembly_pkg(
],
)
moved_proto_library(
name = "recommendationengine_moved_proto",
srcs = [":recommendationengine_proto"],
deps = [
"//google/api:annotations_proto",
"//google/api:client_proto",
"//google/api:field_behavior_proto",
"//google/api:httpbody_proto",
"//google/api:resource_proto",
"//google/longrunning:operations_proto",
"//google/rpc:status_proto",
"//google/type:date_proto",
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:field_mask_proto",
"@com_google_protobuf//:struct_proto",
"@com_google_protobuf//:timestamp_proto",
],
)
py_proto_library(
name = "recommendationengine_py_proto",
plugin = "@protoc_docs_plugin//:docs_plugin",
deps = [":recommendationengine_moved_proto"],
)
py_grpc_library(
name = "recommendationengine_py_grpc",
srcs = [":recommendationengine_moved_proto"],
deps = [":recommendationengine_py_proto"],
)
py_gapic_library(
name = "recommendationengine_py_gapic",
src = ":recommendationengine_proto_with_info",
gapic_yaml = "recommendationengine_gapic.yaml",
srcs = [":recommendationengine_proto"],
grpc_service_config = "recommendationengine_grpc_service_config.json",
package = "google.cloud.recommendationengine.v1beta1",
service_yaml = "recommendationengine_v1beta1.yaml",
deps = [
":recommendationengine_py_grpc",
":recommendationengine_py_proto",
],
)
# Open Source Packages
@ -222,8 +181,6 @@ py_gapic_assembly_pkg(
name = "recommendationengine-v1beta1-py",
deps = [
":recommendationengine_py_gapic",
":recommendationengine_py_grpc",
":recommendationengine_py_proto",
],
)