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