feat: move PhishingProtection API to python microgenerator.

PiperOrigin-RevId: 321294662
This commit is contained in:
Google APIs 2020-07-14 21:30:10 -07:00 committed by Copybara-Service
parent 0e56befedb
commit cc68fa0b20
1 changed files with 6 additions and 40 deletions

View File

@ -139,61 +139,27 @@ 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 = "phishingprotection_moved_proto",
srcs = [":phishingprotection_proto"],
deps = [
"//google/api:annotations_proto",
"//google/api:client_proto",
"//google/api:field_behavior_proto",
"//google/api:resource_proto",
],
)
py_proto_library(
name = "phishingprotection_py_proto",
plugin = "@protoc_docs_plugin//:docs_plugin",
deps = [":phishingprotection_moved_proto"],
)
py_grpc_library(
name = "phishingprotection_py_grpc",
srcs = [":phishingprotection_moved_proto"],
deps = [":phishingprotection_py_proto"],
py_gapic_assembly_pkg = "py_gapic_assembly_pkg2",
py_gapic_library = "py_gapic_library2",
)
py_gapic_library(
name = "phishingprotection_py_gapic",
src = ":phishingprotection_proto_with_info",
gapic_yaml = "phishingprotection_gapic.yaml",
grpc_service_config = "phishingprotection_grpc_service_config.json",
package = "google.cloud.phishingprotection.v1beta1",
service_yaml = "phishingprotection_v1beta1.yaml",
deps = [
":phishingprotection_py_grpc",
":phishingprotection_py_proto",
],
srcs = [":phishingprotection_proto"],
)
# Open Source Packages
py_gapic_assembly_pkg(
name = "phishingprotection-v1beta1-py",
deps = [
":phishingprotection_py_gapic",
":phishingprotection_py_grpc",
":phishingprotection_py_proto",
],
)
##############################################################################
# PHP
##############################################################################