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# This is an API workspace, having public visibility by default makes perfect sense. 13package(default_visibility = ["//visibility:public"]) 14 15############################################################################## 16# Common 17############################################################################## 18load("@rules_proto//proto:defs.bzl", "proto_library") 19load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") 20 21proto_library( 22 name = "baremetalsolution_proto", 23 srcs = [ 24 "baremetalsolution.proto", 25 "common.proto", 26 "instance.proto", 27 "lun.proto", 28 "network.proto", 29 "nfs_share.proto", 30 "osimage.proto", 31 "provisioning.proto", 32 "ssh_key.proto", 33 "volume.proto", 34 "volume_snapshot.proto", 35 ], 36 deps = [ 37 "//google/api:annotations_proto", 38 "//google/api:client_proto", 39 "//google/api:field_behavior_proto", 40 "//google/api:resource_proto", 41 "//google/longrunning:operations_proto", 42 "@com_google_protobuf//:empty_proto", 43 "@com_google_protobuf//:field_mask_proto", 44 "@com_google_protobuf//:timestamp_proto", 45 ], 46) 47 48proto_library_with_info( 49 name = "baremetalsolution_proto_with_info", 50 deps = [ 51 ":baremetalsolution_proto", 52 "//google/cloud:common_resources_proto", 53 "//google/cloud/location:location_proto", 54 "//google/iam/v1:iam_policy_proto", 55 ], 56) 57 58############################################################################## 59# Java 60############################################################################## 61load( 62 "@com_google_googleapis_imports//:imports.bzl", 63 "java_gapic_assembly_gradle_pkg", 64 "java_gapic_library", 65 "java_gapic_test", 66 "java_grpc_library", 67 "java_proto_library", 68) 69 70java_proto_library( 71 name = "baremetalsolution_java_proto", 72 deps = [":baremetalsolution_proto"], 73) 74 75java_grpc_library( 76 name = "baremetalsolution_java_grpc", 77 srcs = [":baremetalsolution_proto"], 78 deps = [":baremetalsolution_java_proto"], 79) 80 81java_gapic_library( 82 name = "baremetalsolution_java_gapic", 83 srcs = [":baremetalsolution_proto_with_info"], 84 gapic_yaml = None, 85 grpc_service_config = "baremetalsolution_grpc_service_config.json", 86 rest_numeric_enums = True, 87 service_yaml = "baremetalsolution_v2.yaml", 88 test_deps = [ 89 "//google/cloud/location:location_java_grpc", 90 "//google/iam/v1:iam_java_grpc", 91 ":baremetalsolution_java_grpc", 92 ], 93 transport = "grpc+rest", 94 deps = [ 95 ":baremetalsolution_java_proto", 96 "//google/api:api_java_proto", 97 "//google/cloud/location:location_java_proto", 98 "//google/iam/v1:iam_java_proto", 99 ], 100) 101 102java_gapic_test( 103 name = "baremetalsolution_java_gapic_test_suite", 104 test_classes = [ 105 "com.google.cloud.baremetalsolution.v2.BareMetalSolutionClientHttpJsonTest", 106 "com.google.cloud.baremetalsolution.v2.BareMetalSolutionClientTest", 107 ], 108 runtime_deps = [":baremetalsolution_java_gapic_test"], 109) 110 111# Open Source Packages 112java_gapic_assembly_gradle_pkg( 113 name = "google-cloud-baremetalsolution-v2-java", 114 include_samples = True, 115 transport = "grpc+rest", 116 deps = [ 117 ":baremetalsolution_java_gapic", 118 ":baremetalsolution_java_grpc", 119 ":baremetalsolution_java_proto", 120 ":baremetalsolution_proto", 121 ], 122) 123 124############################################################################## 125# Go 126############################################################################## 127load( 128 "@com_google_googleapis_imports//:imports.bzl", 129 "go_gapic_assembly_pkg", 130 "go_gapic_library", 131 "go_proto_library", 132) 133 134go_proto_library( 135 name = "baremetalsolution_go_proto", 136 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 137 importpath = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb", 138 protos = [":baremetalsolution_proto"], 139 deps = [ 140 "//google/api:annotations_go_proto", 141 "//google/longrunning:longrunning_go_proto", 142 ], 143) 144 145go_gapic_library( 146 name = "baremetalsolution_go_gapic", 147 srcs = [":baremetalsolution_proto_with_info"], 148 grpc_service_config = "baremetalsolution_grpc_service_config.json", 149 importpath = "cloud.google.com/go/baremetalsolution/apiv2;baremetalsolution", 150 metadata = True, 151 release_level = "ga", 152 rest_numeric_enums = True, 153 service_yaml = "baremetalsolution_v2.yaml", 154 transport = "grpc+rest", 155 deps = [ 156 ":baremetalsolution_go_proto", 157 "//google/cloud/location:location_go_proto", 158 "//google/iam/v1:iam_go_proto", 159 "//google/longrunning:longrunning_go_proto", 160 "@com_google_cloud_go_longrunning//:go_default_library", 161 "@com_google_cloud_go_longrunning//autogen:go_default_library", 162 ], 163) 164 165# Open Source Packages 166go_gapic_assembly_pkg( 167 name = "gapi-cloud-baremetalsolution-v2-go", 168 deps = [ 169 ":baremetalsolution_go_gapic", 170 ":baremetalsolution_go_gapic_srcjar-metadata.srcjar", 171 ":baremetalsolution_go_gapic_srcjar-snippets.srcjar", 172 ":baremetalsolution_go_gapic_srcjar-test.srcjar", 173 ":baremetalsolution_go_proto", 174 ], 175) 176 177############################################################################## 178# Python 179############################################################################## 180load( 181 "@com_google_googleapis_imports//:imports.bzl", 182 "py_gapic_assembly_pkg", 183 "py_gapic_library", 184 "py_test", 185) 186 187py_gapic_library( 188 name = "baremetalsolution_py_gapic", 189 srcs = [":baremetalsolution_proto"], 190 grpc_service_config = "baremetalsolution_grpc_service_config.json", 191 opt_args = [ 192 "python-gapic-name=bare_metal_solution", 193 "python-gapic-namespace=google.cloud", 194 "warehouse-package-name=google-cloud-bare-metal-solution", 195 ], 196 rest_numeric_enums = True, 197 service_yaml = "baremetalsolution_v2.yaml", 198 transport = "grpc+rest", 199 deps = [ 200 "//google/iam/v1:iam_policy_py_proto", 201 ], 202) 203 204py_test( 205 name = "baremetalsolution_py_gapic_test", 206 srcs = [ 207 "baremetalsolution_py_gapic_pytest.py", 208 "baremetalsolution_py_gapic_test.py", 209 ], 210 legacy_create_init = False, 211 deps = [":baremetalsolution_py_gapic"], 212) 213 214# Open Source Packages 215py_gapic_assembly_pkg( 216 name = "baremetalsolution-v2-py", 217 deps = [ 218 ":baremetalsolution_py_gapic", 219 ], 220) 221 222############################################################################## 223# PHP 224############################################################################## 225load( 226 "@com_google_googleapis_imports//:imports.bzl", 227 "php_gapic_assembly_pkg", 228 "php_gapic_library", 229 "php_proto_library", 230) 231 232php_proto_library( 233 name = "baremetalsolution_php_proto", 234 deps = [":baremetalsolution_proto"], 235) 236 237php_gapic_library( 238 name = "baremetalsolution_php_gapic", 239 srcs = [":baremetalsolution_proto_with_info"], 240 grpc_service_config = "baremetalsolution_grpc_service_config.json", 241 migration_mode = "MIGRATING", 242 rest_numeric_enums = True, 243 service_yaml = "baremetalsolution_v2.yaml", 244 transport = "grpc+rest", 245 deps = [ 246 ":baremetalsolution_php_proto", 247 ], 248) 249 250# Open Source Packages 251php_gapic_assembly_pkg( 252 name = "google-cloud-baremetalsolution-v2-php", 253 deps = [ 254 ":baremetalsolution_php_gapic", 255 ":baremetalsolution_php_proto", 256 ], 257) 258 259############################################################################## 260# Node.js 261############################################################################## 262load( 263 "@com_google_googleapis_imports//:imports.bzl", 264 "nodejs_gapic_assembly_pkg", 265 "nodejs_gapic_library", 266) 267 268nodejs_gapic_library( 269 name = "baremetalsolution_nodejs_gapic", 270 package_name = "@google-cloud/bare-metal-solution", 271 src = ":baremetalsolution_proto_with_info", 272 extra_protoc_parameters = ["metadata"], 273 grpc_service_config = "baremetalsolution_grpc_service_config.json", 274 package = "google.cloud.baremetalsolution.v2", 275 rest_numeric_enums = True, 276 service_yaml = "baremetalsolution_v2.yaml", 277 transport = "grpc+rest", 278 deps = [], 279) 280 281nodejs_gapic_assembly_pkg( 282 name = "baremetalsolution-v2-nodejs", 283 deps = [ 284 ":baremetalsolution_nodejs_gapic", 285 ":baremetalsolution_proto", 286 ], 287) 288 289############################################################################## 290# Ruby 291############################################################################## 292load( 293 "@com_google_googleapis_imports//:imports.bzl", 294 "ruby_cloud_gapic_library", 295 "ruby_gapic_assembly_pkg", 296 "ruby_grpc_library", 297 "ruby_proto_library", 298) 299 300ruby_proto_library( 301 name = "baremetalsolution_ruby_proto", 302 deps = [":baremetalsolution_proto"], 303) 304 305ruby_grpc_library( 306 name = "baremetalsolution_ruby_grpc", 307 srcs = [":baremetalsolution_proto"], 308 deps = [":baremetalsolution_ruby_proto"], 309) 310 311ruby_cloud_gapic_library( 312 name = "baremetalsolution_ruby_gapic", 313 srcs = [":baremetalsolution_proto_with_info"], 314 extra_protoc_parameters = [ 315 "ruby-cloud-api-id=baremetalsolution.googleapis.com", 316 "ruby-cloud-api-shortname=baremetalsolution", 317 "ruby-cloud-gem-name=google-cloud-bare_metal_solution-v2", 318 "ruby-cloud-product-url=https://cloud.google.com/bare-metal/", 319 ], 320 grpc_service_config = "baremetalsolution_grpc_service_config.json", 321 rest_numeric_enums = True, 322 ruby_cloud_description = "Bare Metal Solution is a managed solution that provides purpose-built HPE or Atos bare-metal servers in regional extensions that are connected to Google Cloud by a managed, high-performance connection with a low-latency network fabric.", 323 ruby_cloud_title = "Bare Metal Solution V2", 324 service_yaml = "baremetalsolution_v2.yaml", 325 transport = "grpc+rest", 326 deps = [ 327 ":baremetalsolution_ruby_grpc", 328 ":baremetalsolution_ruby_proto", 329 ], 330) 331 332# Open Source Packages 333ruby_gapic_assembly_pkg( 334 name = "google-cloud-baremetalsolution-v2-ruby", 335 deps = [ 336 ":baremetalsolution_ruby_gapic", 337 ":baremetalsolution_ruby_grpc", 338 ":baremetalsolution_ruby_proto", 339 ], 340) 341 342############################################################################## 343# C# 344############################################################################## 345load( 346 "@com_google_googleapis_imports//:imports.bzl", 347 "csharp_gapic_assembly_pkg", 348 "csharp_gapic_library", 349 "csharp_grpc_library", 350 "csharp_proto_library", 351) 352 353csharp_proto_library( 354 name = "baremetalsolution_csharp_proto", 355 deps = [":baremetalsolution_proto"], 356) 357 358csharp_grpc_library( 359 name = "baremetalsolution_csharp_grpc", 360 srcs = [":baremetalsolution_proto"], 361 deps = [":baremetalsolution_csharp_proto"], 362) 363 364csharp_gapic_library( 365 name = "baremetalsolution_csharp_gapic", 366 srcs = [":baremetalsolution_proto_with_info"], 367 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 368 grpc_service_config = "baremetalsolution_grpc_service_config.json", 369 rest_numeric_enums = True, 370 service_yaml = "baremetalsolution_v2.yaml", 371 transport = "grpc+rest", 372 deps = [ 373 ":baremetalsolution_csharp_grpc", 374 ":baremetalsolution_csharp_proto", 375 ], 376) 377 378# Open Source Packages 379csharp_gapic_assembly_pkg( 380 name = "google-cloud-baremetalsolution-v2-csharp", 381 deps = [ 382 ":baremetalsolution_csharp_gapic", 383 ":baremetalsolution_csharp_grpc", 384 ":baremetalsolution_csharp_proto", 385 ], 386) 387 388############################################################################## 389# C++ 390############################################################################## 391load( 392 "@com_google_googleapis_imports//:imports.bzl", 393 "cc_grpc_library", 394 "cc_proto_library", 395) 396 397cc_proto_library( 398 name = "baremetalsolution_cc_proto", 399 deps = [":baremetalsolution_proto"], 400) 401 402cc_grpc_library( 403 name = "baremetalsolution_cc_grpc", 404 srcs = [":baremetalsolution_proto"], 405 grpc_only = True, 406 deps = [":baremetalsolution_cc_proto"], 407) 408