Skip to content

Commit bf845b2

Browse files
Google APIscopybara-github
authored andcommitted
chore: migrate phishingprotection to the PHP microgenerator
Committer: @miraleung PiperOrigin-RevId: 365154926
1 parent 1f9bbda commit bf845b2

2 files changed

Lines changed: 7 additions & 25 deletions

File tree

google/cloud/phishingprotection/v1beta1/BUILD.bazel

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,14 @@ py_gapic_assembly_pkg(
158158

159159
##############################################################################
160160
# PHP
161+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
161162
##############################################################################
162163
load(
163164
"@com_google_googleapis_imports//:imports.bzl",
164-
"php_gapic_assembly_pkg",
165-
"php_gapic_library",
166-
"php_grpc_library",
167-
"php_proto_library",
165+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
166+
php_gapic_library = "php_gapic_library2",
167+
php_grpc_library = "php_grpc_library2",
168+
php_proto_library = "php_proto_library2",
168169
)
169170

170171
php_proto_library(
@@ -180,11 +181,8 @@ php_grpc_library(
180181

181182
php_gapic_library(
182183
name = "phishingprotection_php_gapic",
183-
src = ":phishingprotection_proto_with_info",
184-
gapic_yaml = "phishingprotection_gapic.yaml",
184+
srcs = [":phishingprotection_proto_with_info"],
185185
grpc_service_config = "phishingprotection_grpc_service_config.json",
186-
package = "google.cloud.phishingprotection.v1beta1",
187-
service_yaml = "phishingprotection_v1beta1.yaml",
188186
deps = [
189187
":phishingprotection_php_grpc",
190188
":phishingprotection_php_proto",
@@ -234,8 +232,8 @@ nodejs_gapic_assembly_pkg(
234232
##############################################################################
235233
load(
236234
"@com_google_googleapis_imports//:imports.bzl",
237-
"ruby_gapic_assembly_pkg",
238235
"ruby_cloud_gapic_library",
236+
"ruby_gapic_assembly_pkg",
239237
"ruby_grpc_library",
240238
"ruby_proto_library",
241239
)

google/cloud/phishingprotection/v1beta1/phishingprotection_gapic.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,3 @@ config_schema_version: 2.0.0
44
language_settings:
55
java:
66
package_name: com.google.cloud.phishingprotection.v1beta1
7-
python:
8-
package_name: google.cloud.phishingprotection_v1beta1.gapic
9-
go:
10-
package_name: cloud.google.com/go/phishingprotection/apiv1beta1
11-
csharp:
12-
package_name: Google.Cloud.PhishingProtection.V1Beta1
13-
ruby:
14-
package_name: Google::Cloud::PhishingProtection::V1beta1
15-
php:
16-
package_name: Google\Cloud\PhishingProtection\V1beta1
17-
nodejs:
18-
package_name: phishingprotection.v1beta1
19-
# A list of API interface configurations.
20-
interfaces:
21-
# The fully qualified name of the API interface.
22-
- name: google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1

0 commit comments

Comments
 (0)