11# This file was automatically generated by BuildFileGenerator
2- # https://github.com/googleapis/gapic-generator /tree/master/rules_gapic /bazel
2+ # https://github.com/googleapis/rules_gapic /tree/master/bazel
33
44# Most of the manual changes to this file will be overwritten.
55# It's **only** allowed to change the following rule attribute values:
@@ -28,8 +28,6 @@ proto_library(
2828 "//google/api:client_proto" ,
2929 "//google/api:field_behavior_proto" ,
3030 "//google/api:resource_proto" ,
31- "@com_google_protobuf//:empty_proto" ,
32- "@com_google_protobuf//:field_mask_proto" ,
3331 "@com_google_protobuf//:timestamp_proto" ,
3432 ],
3533)
@@ -78,6 +76,7 @@ java_gapic_library(
7876 transport = "grpc+rest" ,
7977 deps = [
8078 ":recaptchaenterprise_java_proto" ,
79+ "//google/api:api_java_proto" ,
8180 ],
8281)
8382
@@ -128,6 +127,7 @@ go_gapic_library(
128127 srcs = [":recaptchaenterprise_proto_with_info" ],
129128 grpc_service_config = "recaptchaenterprise_grpc_service_config.json" ,
130129 importpath = "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1;recaptchaenterprise" ,
130+ metadata = True ,
131131 release_level = "beta" ,
132132 rest_numeric_enums = True ,
133133 service_yaml = "recaptchaenterprise_v1beta1.yaml" ,
@@ -142,6 +142,7 @@ go_gapic_assembly_pkg(
142142 name = "gapi-cloud-recaptchaenterprise-v1beta1-go" ,
143143 deps = [
144144 ":recaptchaenterprise_go_gapic" ,
145+ ":recaptchaenterprise_go_gapic_srcjar-metadata.srcjar" ,
145146 ":recaptchaenterprise_go_gapic_srcjar-snippets.srcjar" ,
146147 ":recaptchaenterprise_go_gapic_srcjar-test.srcjar" ,
147148 ":recaptchaenterprise_go_proto" ,
@@ -162,12 +163,12 @@ py_gapic_library(
162163 name = "recaptchaenterprise_py_gapic" ,
163164 srcs = [":recaptchaenterprise_proto" ],
164165 grpc_service_config = "recaptchaenterprise_grpc_service_config.json" ,
165- opt_args = [
166- "warehouse-package-name=google-cloud-recaptcha-enterprise" ,
167- ],
166+ opt_args = ["warehouse-package-name=google-cloud-recaptcha-enterprise" ],
168167 rest_numeric_enums = True ,
169168 service_yaml = "recaptchaenterprise_v1beta1.yaml" ,
170169 transport = "grpc+rest" ,
170+ deps = [
171+ ],
171172)
172173
173174py_test (
@@ -207,10 +208,13 @@ php_gapic_library(
207208 name = "recaptchaenterprise_php_gapic" ,
208209 srcs = [":recaptchaenterprise_proto_with_info" ],
209210 grpc_service_config = "recaptchaenterprise_grpc_service_config.json" ,
211+ migration_mode = "PRE_MIGRATION_SURFACE_ONLY" ,
210212 rest_numeric_enums = True ,
211213 service_yaml = "recaptchaenterprise_v1beta1.yaml" ,
212214 transport = "grpc+rest" ,
213- deps = [":recaptchaenterprise_php_proto" ],
215+ deps = [
216+ ":recaptchaenterprise_php_proto" ,
217+ ],
214218)
215219
216220# Open Source Packages
@@ -278,11 +282,11 @@ ruby_cloud_gapic_library(
278282 name = "recaptchaenterprise_ruby_gapic" ,
279283 srcs = [":recaptchaenterprise_proto_with_info" ],
280284 extra_protoc_parameters = [
281- "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1beta1" ,
282- "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE" ,
283- "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise" ,
284285 "ruby-cloud-api-id=recaptchaenterprise.googleapis.com" ,
285286 "ruby-cloud-api-shortname=recaptchaenterprise" ,
287+ "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE" ,
288+ "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1beta1" ,
289+ "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise" ,
286290 "ruby-cloud-service-override=RecaptchaEnterpriseServiceV1Beta1=RecaptchaEnterpriseService" ,
287291 ],
288292 grpc_service_config = "recaptchaenterprise_grpc_service_config.json" ,
@@ -356,4 +360,20 @@ csharp_gapic_assembly_pkg(
356360##############################################################################
357361# C++
358362##############################################################################
359- # Put your C++ rules here
363+ load (
364+ "@com_google_googleapis_imports//:imports.bzl" ,
365+ "cc_grpc_library" ,
366+ "cc_proto_library" ,
367+ )
368+
369+ cc_proto_library (
370+ name = "recaptchaenterprise_cc_proto" ,
371+ deps = [":recaptchaenterprise_proto" ],
372+ )
373+
374+ cc_grpc_library (
375+ name = "recaptchaenterprise_cc_grpc" ,
376+ srcs = [":recaptchaenterprise_proto" ],
377+ grpc_only = True ,
378+ deps = [":recaptchaenterprise_cc_proto" ],
379+ )
0 commit comments