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 = "workstations_proto", 23 srcs = [ 24 "workstations.proto", 25 ], 26 deps = [ 27 "//google/api:annotations_proto", 28 "//google/api:client_proto", 29 "//google/api:field_behavior_proto", 30 "//google/api:resource_proto", 31 "//google/longrunning:operations_proto", 32 "//google/rpc:status_proto", 33 "@com_google_protobuf//:duration_proto", 34 "@com_google_protobuf//:field_mask_proto", 35 "@com_google_protobuf//:timestamp_proto", 36 ], 37) 38 39proto_library_with_info( 40 name = "workstations_proto_with_info", 41 deps = [ 42 ":workstations_proto", 43 "//google/cloud:common_resources_proto", 44 "//google/cloud/location:location_proto", 45 "//google/iam/v1:iam_policy_proto", 46 ], 47) 48 49############################################################################## 50# Java 51############################################################################## 52load( 53 "@com_google_googleapis_imports//:imports.bzl", 54 "java_gapic_assembly_gradle_pkg", 55 "java_gapic_library", 56 "java_gapic_test", 57 "java_grpc_library", 58 "java_proto_library", 59) 60 61java_proto_library( 62 name = "workstations_java_proto", 63 deps = [":workstations_proto"], 64) 65 66java_grpc_library( 67 name = "workstations_java_grpc", 68 srcs = [":workstations_proto"], 69 deps = [":workstations_java_proto"], 70) 71 72java_gapic_library( 73 name = "workstations_java_gapic", 74 srcs = [":workstations_proto_with_info"], 75 gapic_yaml = None, 76 grpc_service_config = "workstations_grpc_service_config.json", 77 rest_numeric_enums = True, 78 service_yaml = "workstations_v1.yaml", 79 test_deps = [ 80 ":workstations_java_grpc", 81 "//google/cloud/location:location_java_grpc", 82 "//google/iam/v1:iam_java_grpc", 83 ], 84 transport = "grpc+rest", 85 deps = [ 86 ":workstations_java_proto", 87 "//google/api:api_java_proto", 88 "//google/cloud/location:location_java_proto", 89 "//google/iam/v1:iam_java_proto", 90 ], 91) 92 93java_gapic_test( 94 name = "workstations_java_gapic_test_suite", 95 test_classes = [ 96 "com.google.cloud.workstations.v1.WorkstationsClientHttpJsonTest", 97 "com.google.cloud.workstations.v1.WorkstationsClientTest", 98 ], 99 runtime_deps = [":workstations_java_gapic_test"], 100) 101 102# Open Source Packages 103java_gapic_assembly_gradle_pkg( 104 name = "google-cloud-workstations-v1-java", 105 include_samples = True, 106 transport = "grpc+rest", 107 deps = [ 108 ":workstations_java_gapic", 109 ":workstations_java_grpc", 110 ":workstations_java_proto", 111 ":workstations_proto", 112 ], 113) 114 115############################################################################## 116# Go 117############################################################################## 118load( 119 "@com_google_googleapis_imports//:imports.bzl", 120 "go_gapic_assembly_pkg", 121 "go_gapic_library", 122 "go_proto_library", 123) 124 125go_proto_library( 126 name = "workstations_go_proto", 127 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 128 importpath = "cloud.google.com/go/workstations/apiv1/workstationspb", 129 protos = [":workstations_proto"], 130 deps = [ 131 "//google/api:annotations_go_proto", 132 "//google/longrunning:longrunning_go_proto", 133 "//google/rpc:status_go_proto", 134 ], 135) 136 137go_gapic_library( 138 name = "workstations_go_gapic", 139 srcs = [":workstations_proto_with_info"], 140 grpc_service_config = "workstations_grpc_service_config.json", 141 importpath = "cloud.google.com/go/workstations/apiv1;workstations", 142 metadata = True, 143 release_level = "beta", 144 rest_numeric_enums = True, 145 service_yaml = "workstations_v1.yaml", 146 transport = "grpc+rest", 147 deps = [ 148 ":workstations_go_proto", 149 "//google/cloud/location:location_go_proto", 150 "//google/iam/v1:iam_go_proto", 151 "//google/longrunning:longrunning_go_proto", 152 "@com_google_cloud_go_longrunning//:go_default_library", 153 "@com_google_cloud_go_longrunning//autogen:go_default_library", 154 "@io_bazel_rules_go//proto/wkt:duration_go_proto", 155 ], 156) 157 158# Open Source Packages 159go_gapic_assembly_pkg( 160 name = "gapi-cloud-workstations-v1-go", 161 deps = [ 162 ":workstations_go_gapic", 163 ":workstations_go_gapic_srcjar-metadata.srcjar", 164 ":workstations_go_gapic_srcjar-snippets.srcjar", 165 ":workstations_go_gapic_srcjar-test.srcjar", 166 ":workstations_go_proto", 167 ], 168) 169 170############################################################################## 171# Python 172############################################################################## 173load( 174 "@com_google_googleapis_imports//:imports.bzl", 175 "py_gapic_assembly_pkg", 176 "py_gapic_library", 177 "py_test", 178) 179 180py_gapic_library( 181 name = "workstations_py_gapic", 182 srcs = [":workstations_proto"], 183 grpc_service_config = "workstations_grpc_service_config.json", 184 rest_numeric_enums = True, 185 service_yaml = "workstations_v1.yaml", 186 transport = "grpc+rest", 187 deps = [ 188 "//google/iam/v1:iam_policy_py_proto", 189 ], 190) 191 192py_test( 193 name = "workstations_py_gapic_test", 194 srcs = [ 195 "workstations_py_gapic_pytest.py", 196 "workstations_py_gapic_test.py", 197 ], 198 legacy_create_init = False, 199 deps = [":workstations_py_gapic"], 200) 201 202# Open Source Packages 203py_gapic_assembly_pkg( 204 name = "workstations-v1-py", 205 deps = [ 206 ":workstations_py_gapic", 207 ], 208) 209 210############################################################################## 211# PHP 212############################################################################## 213load( 214 "@com_google_googleapis_imports//:imports.bzl", 215 "php_gapic_assembly_pkg", 216 "php_gapic_library", 217 "php_proto_library", 218) 219 220php_proto_library( 221 name = "workstations_php_proto", 222 deps = [":workstations_proto"], 223) 224 225php_gapic_library( 226 name = "workstations_php_gapic", 227 srcs = [":workstations_proto_with_info"], 228 grpc_service_config = "workstations_grpc_service_config.json", 229 rest_numeric_enums = True, 230 service_yaml = "workstations_v1.yaml", 231 transport = "grpc+rest", 232 deps = [":workstations_php_proto"], 233) 234 235# Open Source Packages 236php_gapic_assembly_pkg( 237 name = "google-cloud-workstations-v1-php", 238 deps = [ 239 ":workstations_php_gapic", 240 ":workstations_php_proto", 241 ], 242) 243 244############################################################################## 245# Node.js 246############################################################################## 247load( 248 "@com_google_googleapis_imports//:imports.bzl", 249 "nodejs_gapic_assembly_pkg", 250 "nodejs_gapic_library", 251) 252 253nodejs_gapic_library( 254 name = "workstations_nodejs_gapic", 255 package_name = "@google-cloud/workstations", 256 src = ":workstations_proto_with_info", 257 extra_protoc_parameters = ["metadata"], 258 grpc_service_config = "workstations_grpc_service_config.json", 259 package = "google.cloud.workstations.v1", 260 rest_numeric_enums = True, 261 service_yaml = "workstations_v1.yaml", 262 transport = "grpc+rest", 263 deps = [], 264) 265 266nodejs_gapic_assembly_pkg( 267 name = "workstations-v1-nodejs", 268 deps = [ 269 ":workstations_nodejs_gapic", 270 ":workstations_proto", 271 ], 272) 273 274############################################################################## 275# Ruby 276############################################################################## 277load( 278 "@com_google_googleapis_imports//:imports.bzl", 279 "ruby_cloud_gapic_library", 280 "ruby_gapic_assembly_pkg", 281 "ruby_grpc_library", 282 "ruby_proto_library", 283) 284 285ruby_proto_library( 286 name = "workstations_ruby_proto", 287 deps = [":workstations_proto"], 288) 289 290ruby_grpc_library( 291 name = "workstations_ruby_grpc", 292 srcs = [":workstations_proto"], 293 deps = [":workstations_ruby_proto"], 294) 295 296ruby_cloud_gapic_library( 297 name = "workstations_ruby_gapic", 298 srcs = [":workstations_proto_with_info"], 299 extra_protoc_parameters = [ 300 "ruby-cloud-gem-name=google-cloud-workstations-v1", 301 ], 302 grpc_service_config = "workstations_grpc_service_config.json", 303 rest_numeric_enums = True, 304 service_yaml = "workstations_v1.yaml", 305 deps = [ 306 ":workstations_ruby_grpc", 307 ":workstations_ruby_proto", 308 ], 309) 310 311# Open Source Packages 312ruby_gapic_assembly_pkg( 313 name = "google-cloud-workstations-v1-ruby", 314 deps = [ 315 ":workstations_ruby_gapic", 316 ":workstations_ruby_grpc", 317 ":workstations_ruby_proto", 318 ], 319) 320 321############################################################################## 322# C# 323############################################################################## 324load( 325 "@com_google_googleapis_imports//:imports.bzl", 326 "csharp_gapic_assembly_pkg", 327 "csharp_gapic_library", 328 "csharp_grpc_library", 329 "csharp_proto_library", 330) 331 332csharp_proto_library( 333 name = "workstations_csharp_proto", 334 deps = [":workstations_proto"], 335) 336 337csharp_grpc_library( 338 name = "workstations_csharp_grpc", 339 srcs = [":workstations_proto"], 340 deps = [":workstations_csharp_proto"], 341) 342 343csharp_gapic_library( 344 name = "workstations_csharp_gapic", 345 srcs = [":workstations_proto_with_info"], 346 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 347 grpc_service_config = "workstations_grpc_service_config.json", 348 rest_numeric_enums = True, 349 service_yaml = "workstations_v1.yaml", 350 deps = [ 351 ":workstations_csharp_grpc", 352 ":workstations_csharp_proto", 353 ], 354) 355 356# Open Source Packages 357csharp_gapic_assembly_pkg( 358 name = "google-cloud-workstations-v1-csharp", 359 deps = [ 360 ":workstations_csharp_gapic", 361 ":workstations_csharp_grpc", 362 ":workstations_csharp_proto", 363 ], 364) 365 366############################################################################## 367# C++ 368############################################################################## 369load( 370 "@com_google_googleapis_imports//:imports.bzl", 371 "cc_grpc_library", 372 "cc_proto_library", 373) 374 375cc_proto_library( 376 name = "workstations_cc_proto", 377 deps = [":workstations_proto"], 378) 379 380cc_grpc_library( 381 name = "workstations_cc_grpc", 382 srcs = [":workstations_proto"], 383 grpc_only = True, 384 deps = [":workstations_cc_proto"], 385) 386