Skip to content

Commit 544f81e

Browse files
Google APIscopybara-github
authored andcommitted
chore: migrate recaptchaenterprise/{v1,v1beta} to the PHP microgenerator
Committer: @miraleung PiperOrigin-RevId: 369274396
1 parent a8cd11e commit 544f81e

4 files changed

Lines changed: 14 additions & 54 deletions

File tree

google/cloud/recaptchaenterprise/v1/BUILD.bazel

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

172172
##############################################################################
173173
# PHP
174+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
174175
##############################################################################
175176
load(
176177
"@com_google_googleapis_imports//:imports.bzl",
177-
"php_gapic_assembly_pkg",
178-
"php_gapic_library",
179-
"php_grpc_library",
180-
"php_proto_library",
178+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
179+
php_gapic_library = "php_gapic_library2",
180+
php_grpc_library = "php_grpc_library2",
181+
php_proto_library = "php_proto_library2",
181182
)
182183

183184
php_proto_library(
@@ -193,11 +194,8 @@ php_grpc_library(
193194

194195
php_gapic_library(
195196
name = "recaptchaenterprise_php_gapic",
196-
src = ":recaptchaenterprise_proto_with_info",
197-
gapic_yaml = "recaptchaenterprise_gapic.yaml",
197+
srcs = [":recaptchaenterprise_proto_with_info"],
198198
grpc_service_config = "recaptchaenterprise_grpc_service_config.json",
199-
package = "google.cloud.recaptchaenterprise.v1",
200-
service_yaml = "recaptchaenterprise_v1.yaml",
201199
deps = [
202200
":recaptchaenterprise_php_grpc",
203201
":recaptchaenterprise_php_proto",
@@ -247,8 +245,8 @@ nodejs_gapic_assembly_pkg(
247245
##############################################################################
248246
load(
249247
"@com_google_googleapis_imports//:imports.bzl",
250-
"ruby_gapic_assembly_pkg",
251248
"ruby_cloud_gapic_library",
249+
"ruby_gapic_assembly_pkg",
252250
"ruby_grpc_library",
253251
"ruby_proto_library",
254252
)

google/cloud/recaptchaenterprise/v1/recaptchaenterprise_gapic.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,3 @@ config_schema_version: 2.0.0
44
language_settings:
55
java:
66
package_name: com.google.cloud.recaptchaenterprise.v1
7-
python:
8-
package_name: google.cloud.recaptcha_enterprise_v1.gapic
9-
go:
10-
package_name: cloud.google.com/go/recaptchaenterprise/apiv1
11-
csharp:
12-
package_name: Google.Cloud.RecaptchaEnterprise.V1
13-
ruby:
14-
package_name: Google::Cloud::RecaptchaEnterprise::V1
15-
php:
16-
package_name: Google\Cloud\RecaptchaEnterprise\V1
17-
nodejs:
18-
package_name: recaptchaenterprise.v1
19-
domain_layer_location: google-cloud
20-
collections:
21-
- entity_name: project
22-
language_overrides:
23-
- language: csharp
24-
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName

google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel

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

172172
##############################################################################
173173
# PHP
174+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
174175
##############################################################################
175176
load(
176177
"@com_google_googleapis_imports//:imports.bzl",
177-
"php_gapic_assembly_pkg",
178-
"php_gapic_library",
179-
"php_grpc_library",
180-
"php_proto_library",
178+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
179+
php_gapic_library = "php_gapic_library2",
180+
php_grpc_library = "php_grpc_library2",
181+
php_proto_library = "php_proto_library2",
181182
)
182183

183184
php_proto_library(
@@ -193,11 +194,8 @@ php_grpc_library(
193194

194195
php_gapic_library(
195196
name = "recaptchaenterprise_php_gapic",
196-
src = ":recaptchaenterprise_proto_with_info",
197-
gapic_yaml = "recaptchaenterprise_gapic.yaml",
197+
srcs = [":recaptchaenterprise_proto_with_info"],
198198
grpc_service_config = "recaptchaenterprise_grpc_service_config.json",
199-
package = "google.cloud.recaptchaenterprise.v1beta1",
200-
service_yaml = "recaptchaenterprise_v1beta1.yaml",
201199
deps = [
202200
":recaptchaenterprise_php_grpc",
203201
":recaptchaenterprise_php_proto",
@@ -247,8 +245,8 @@ nodejs_gapic_assembly_pkg(
247245
##############################################################################
248246
load(
249247
"@com_google_googleapis_imports//:imports.bzl",
250-
"ruby_gapic_assembly_pkg",
251248
"ruby_cloud_gapic_library",
249+
"ruby_gapic_assembly_pkg",
252250
"ruby_grpc_library",
253251
"ruby_proto_library",
254252
)

google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise_gapic.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,3 @@ config_schema_version: 2.0.0
44
language_settings:
55
java:
66
package_name: com.google.cloud.recaptchaenterprise.v1beta1
7-
python:
8-
package_name: google.cloud.recaptcha_enterprise_v1beta1.gapic
9-
go:
10-
package_name: cloud.google.com/go/recaptchaenterprise/apiv1beta1
11-
csharp:
12-
package_name: Google.Cloud.RecaptchaEnterprise.V1Beta1
13-
ruby:
14-
package_name: Google::Cloud::RecaptchaEnterprise::V1beta1
15-
php:
16-
package_name: Google\Cloud\RecaptchaEnterprise\V1beta1
17-
nodejs:
18-
package_name: recaptchaenterprise.v1beta1
19-
domain_layer_location: google-cloud
20-
collections:
21-
- entity_name: project
22-
language_overrides:
23-
- language: csharp
24-
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName

0 commit comments

Comments
 (0)