1# This file was automatically generated by BuildFileGenerator 2# https://github.com/googleapis/rules_gapic/tree/master/bazel 3 4# Most of the manual changes to this file will be overwritten. 5# It's **only** allowed to change the following rule attribute values: 6# - names of *_gapic_assembly_* rules 7# - certain parameters of *_gapic_library rules, including but not limited to: 8# * extra_protoc_parameters 9# * extra_protoc_file_parameters 10# The complete list of preserved parameters can be found in the source code. 11 12# buildifier: disable=load-on-top 13 14# This is an API workspace, having public visibility by default makes perfect sense. 15package(default_visibility = ["//visibility:public"]) 16 17############################################################################## 18# Common 19############################################################################## 20# buildifier: disable=same-origin-load 21load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") 22load("@rules_proto//proto:defs.bzl", "proto_library") 23 24proto_library( 25 name = "recaptchaenterprise_proto", 26 srcs = [ 27 "recaptchaenterprise.proto", 28 ], 29 deps = [ 30 "//google/api:annotations_proto", 31 "//google/api:client_proto", 32 "//google/api:field_behavior_proto", 33 "//google/api:field_info_proto", 34 "//google/api:resource_proto", 35 "//google/rpc:status_proto", 36 "@com_google_protobuf//:empty_proto", 37 "@com_google_protobuf//:field_mask_proto", 38 "@com_google_protobuf//:timestamp_proto", 39 ], 40) 41 42proto_library_with_info( 43 name = "recaptchaenterprise_proto_with_info", 44 deps = [ 45 ":recaptchaenterprise_proto", 46 "//google/cloud:common_resources_proto", 47 ], 48) 49 50############################################################################## 51# Java 52############################################################################## 53# buildifier: disable=same-origin-load 54load( 55 "@com_google_googleapis_imports//:imports.bzl", 56 "java_gapic_assembly_gradle_pkg", 57 "java_gapic_library", 58 "java_gapic_test", 59 "java_grpc_library", 60 "java_proto_library", 61) 62 63java_proto_library( 64 name = "recaptchaenterprise_java_proto", 65 deps = [":recaptchaenterprise_proto"], 66) 67 68java_grpc_library( 69 name = "recaptchaenterprise_java_grpc", 70 srcs = [":recaptchaenterprise_proto"], 71 deps = [":recaptchaenterprise_java_proto"], 72) 73 74java_gapic_library( 75 name = "recaptchaenterprise_java_gapic", 76 srcs = [":recaptchaenterprise_proto_with_info"], 77 gapic_yaml = "recaptchaenterprise_gapic.yaml", 78 grpc_service_config = "recaptchaenterprise_grpc_service_config.json", 79 rest_numeric_enums = True, 80 service_yaml = "recaptchaenterprise_v1.yaml", 81 test_deps = [ 82 ":recaptchaenterprise_java_grpc", 83 ], 84 transport = "grpc", 85 deps = [ 86 ":recaptchaenterprise_java_proto", 87 "//google/api:api_java_proto", 88 ], 89) 90 91java_gapic_test( 92 name = "recaptchaenterprise_java_gapic_test_suite", 93 test_classes = [ 94 "com.google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseServiceClientTest", 95 ], 96 runtime_deps = [":recaptchaenterprise_java_gapic_test"], 97) 98 99# Open Source Packages 100java_gapic_assembly_gradle_pkg( 101 name = "google-cloud-recaptchaenterprise-v1-java", 102 include_samples = True, 103 transport = "grpc", 104 deps = [ 105 ":recaptchaenterprise_java_gapic", 106 ":recaptchaenterprise_java_grpc", 107 ":recaptchaenterprise_java_proto", 108 ":recaptchaenterprise_proto", 109 ], 110) 111 112############################################################################## 113# Go 114############################################################################## 115# buildifier: disable=same-origin-load 116load( 117 "@com_google_googleapis_imports//:imports.bzl", 118 "go_gapic_assembly_pkg", 119 "go_gapic_library", 120 "go_proto_library", 121) 122 123go_proto_library( 124 name = "recaptchaenterprise_go_proto", 125 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 126 importpath = "cloud.google.com/go/recaptchaenterprise/v2/apiv1/recaptchaenterprisepb", 127 protos = [":recaptchaenterprise_proto"], 128 deps = [ 129 "//google/api:annotations_go_proto", 130 "//google/rpc:status_go_proto", 131 ], 132) 133 134go_gapic_library( 135 name = "recaptchaenterprise_go_gapic", 136 srcs = [":recaptchaenterprise_proto_with_info"], 137 grpc_service_config = "recaptchaenterprise_grpc_service_config.json", 138 importpath = "cloud.google.com/go/recaptchaenterprise/v2/apiv1;recaptchaenterprise", 139 metadata = True, 140 release_level = "ga", 141 rest_numeric_enums = True, 142 service_yaml = "recaptchaenterprise_v1.yaml", 143 transport = "grpc", 144 deps = [ 145 ":recaptchaenterprise_go_proto", 146 ], 147) 148 149# Open Source Packages 150go_gapic_assembly_pkg( 151 name = "gapi-cloud-recaptchaenterprise-v1-go", 152 deps = [ 153 ":recaptchaenterprise_go_gapic", 154 ":recaptchaenterprise_go_gapic_srcjar-metadata.srcjar", 155 ":recaptchaenterprise_go_gapic_srcjar-snippets.srcjar", 156 ":recaptchaenterprise_go_gapic_srcjar-test.srcjar", 157 ":recaptchaenterprise_go_proto", 158 ], 159) 160 161############################################################################## 162# Python 163############################################################################## 164# buildifier: disable=same-origin-load 165load( 166 "@com_google_googleapis_imports//:imports.bzl", 167 "py_gapic_assembly_pkg", 168 "py_gapic_library", 169 "py_test", 170) 171 172py_gapic_library( 173 name = "recaptchaenterprise_py_gapic", 174 srcs = [":recaptchaenterprise_proto"], 175 grpc_service_config = "recaptchaenterprise_grpc_service_config.json", 176 opt_args = ["warehouse-package-name=google-cloud-recaptcha-enterprise"], 177 rest_numeric_enums = True, 178 service_yaml = "recaptchaenterprise_v1.yaml", 179 transport = "grpc", 180 deps = [ 181 ], 182) 183 184py_test( 185 name = "recaptchaenterprise_py_gapic_test", 186 srcs = [ 187 "recaptchaenterprise_py_gapic_pytest.py", 188 "recaptchaenterprise_py_gapic_test.py", 189 ], 190 legacy_create_init = False, 191 deps = [":recaptchaenterprise_py_gapic"], 192) 193 194# Open Source Packages 195py_gapic_assembly_pkg( 196 name = "recaptchaenterprise-v1-py", 197 deps = [ 198 ":recaptchaenterprise_py_gapic", 199 ], 200) 201 202############################################################################## 203# PHP 204############################################################################## 205# buildifier: disable=same-origin-load 206load( 207 "@com_google_googleapis_imports//:imports.bzl", 208 "php_gapic_assembly_pkg", 209 "php_gapic_library", 210 "php_proto_library", 211) 212 213php_proto_library( 214 name = "recaptchaenterprise_php_proto", 215 deps = [":recaptchaenterprise_proto"], 216) 217 218php_gapic_library( 219 name = "recaptchaenterprise_php_gapic", 220 srcs = [":recaptchaenterprise_proto_with_info"], 221 grpc_service_config = "recaptchaenterprise_grpc_service_config.json", 222 migration_mode = "MIGRATING", 223 rest_numeric_enums = True, 224 service_yaml = "recaptchaenterprise_v1.yaml", 225 transport = "grpc+rest", 226 deps = [ 227 ":recaptchaenterprise_php_proto", 228 ], 229) 230 231# Open Source Packages 232php_gapic_assembly_pkg( 233 name = "google-cloud-recaptchaenterprise-v1-php", 234 deps = [ 235 ":recaptchaenterprise_php_gapic", 236 ":recaptchaenterprise_php_proto", 237 ], 238) 239 240############################################################################## 241# Node.js 242############################################################################## 243# buildifier: disable=same-origin-load 244load( 245 "@com_google_googleapis_imports//:imports.bzl", 246 "nodejs_gapic_assembly_pkg", 247 "nodejs_gapic_library", 248) 249 250nodejs_gapic_library( 251 name = "recaptchaenterprise_nodejs_gapic", 252 package_name = "@google-cloud/recaptcha-enterprise", 253 src = ":recaptchaenterprise_proto_with_info", 254 extra_protoc_parameters = ["metadata"], 255 grpc_service_config = "recaptchaenterprise_grpc_service_config.json", 256 package = "google.cloud.recaptchaenterprise.v1", 257 rest_numeric_enums = True, 258 service_yaml = "recaptchaenterprise_v1.yaml", 259 transport = "grpc", 260 deps = [], 261) 262 263nodejs_gapic_assembly_pkg( 264 name = "recaptchaenterprise-v1-nodejs", 265 deps = [ 266 ":recaptchaenterprise_nodejs_gapic", 267 ":recaptchaenterprise_proto", 268 ], 269) 270 271############################################################################## 272# Ruby 273############################################################################## 274# buildifier: disable=same-origin-load 275load( 276 "@com_google_googleapis_imports//:imports.bzl", 277 "ruby_cloud_gapic_library", 278 "ruby_gapic_assembly_pkg", 279 "ruby_grpc_library", 280 "ruby_proto_library", 281) 282 283ruby_proto_library( 284 name = "recaptchaenterprise_ruby_proto", 285 deps = [":recaptchaenterprise_proto"], 286) 287 288ruby_grpc_library( 289 name = "recaptchaenterprise_ruby_grpc", 290 srcs = [":recaptchaenterprise_proto"], 291 deps = [":recaptchaenterprise_ruby_proto"], 292) 293 294ruby_cloud_gapic_library( 295 name = "recaptchaenterprise_ruby_gapic", 296 srcs = [":recaptchaenterprise_proto_with_info"], 297 extra_protoc_parameters = [ 298 "ruby-cloud-api-id=recaptchaenterprise.googleapis.com", 299 "ruby-cloud-api-shortname=recaptchaenterprise", 300 "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", 301 "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1", 302 "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", 303 ], 304 grpc_service_config = "recaptchaenterprise_grpc_service_config.json", 305 rest_numeric_enums = True, 306 ruby_cloud_description = "reCAPTCHA Enterprise is a service that protects your site from spam and abuse.", 307 ruby_cloud_title = "reCAPTCHA Enterprise V1", 308 service_yaml = "recaptchaenterprise_v1.yaml", 309 transport = "grpc", 310 deps = [ 311 ":recaptchaenterprise_ruby_grpc", 312 ":recaptchaenterprise_ruby_proto", 313 ], 314) 315 316# Open Source Packages 317ruby_gapic_assembly_pkg( 318 name = "google-cloud-recaptchaenterprise-v1-ruby", 319 deps = [ 320 ":recaptchaenterprise_ruby_gapic", 321 ":recaptchaenterprise_ruby_grpc", 322 ":recaptchaenterprise_ruby_proto", 323 ], 324) 325 326############################################################################## 327# C# 328############################################################################## 329# buildifier: disable=same-origin-load 330load( 331 "@com_google_googleapis_imports//:imports.bzl", 332 "csharp_gapic_assembly_pkg", 333 "csharp_gapic_library", 334 "csharp_grpc_library", 335 "csharp_proto_library", 336) 337 338csharp_proto_library( 339 name = "recaptchaenterprise_csharp_proto", 340 deps = [":recaptchaenterprise_proto"], 341) 342 343csharp_grpc_library( 344 name = "recaptchaenterprise_csharp_grpc", 345 srcs = [":recaptchaenterprise_proto"], 346 deps = [":recaptchaenterprise_csharp_proto"], 347) 348 349csharp_gapic_library( 350 name = "recaptchaenterprise_csharp_gapic", 351 srcs = [":recaptchaenterprise_proto_with_info"], 352 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 353 grpc_service_config = "recaptchaenterprise_grpc_service_config.json", 354 rest_numeric_enums = True, 355 service_yaml = "recaptchaenterprise_v1.yaml", 356 transport = "grpc", 357 deps = [ 358 ":recaptchaenterprise_csharp_grpc", 359 ":recaptchaenterprise_csharp_proto", 360 ], 361) 362 363# Open Source Packages 364csharp_gapic_assembly_pkg( 365 name = "google-cloud-recaptchaenterprise-v1-csharp", 366 deps = [ 367 ":recaptchaenterprise_csharp_gapic", 368 ":recaptchaenterprise_csharp_grpc", 369 ":recaptchaenterprise_csharp_proto", 370 ], 371) 372 373############################################################################## 374# C++ 375############################################################################## 376# buildifier: disable=same-origin-load 377load( 378 "@com_google_googleapis_imports//:imports.bzl", 379 "cc_grpc_library", 380 "cc_proto_library", 381) 382 383cc_proto_library( 384 name = "recaptchaenterprise_cc_proto", 385 deps = [":recaptchaenterprise_proto"], 386) 387 388cc_grpc_library( 389 name = "recaptchaenterprise_cc_grpc", 390 srcs = [":recaptchaenterprise_proto"], 391 grpc_only = True, 392 deps = [":recaptchaenterprise_cc_proto"], 393) 394