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 = "privatecatalog_proto", 23 srcs = [ 24 "private_catalog.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 "@com_google_protobuf//:any_proto", 33 "@com_google_protobuf//:empty_proto", 34 "@com_google_protobuf//:field_mask_proto", 35 "@com_google_protobuf//:struct_proto", 36 "@com_google_protobuf//:timestamp_proto", 37 ], 38) 39 40proto_library_with_info( 41 name = "privatecatalog_proto_with_info", 42 deps = [ 43 ":privatecatalog_proto", 44 "//google/cloud:common_resources_proto", 45 ], 46) 47 48############################################################################## 49# Java 50############################################################################## 51load( 52 "@com_google_googleapis_imports//:imports.bzl", 53 "java_gapic_assembly_gradle_pkg", 54 "java_gapic_library", 55 "java_gapic_test", 56 "java_grpc_library", 57 "java_proto_library", 58) 59 60java_proto_library( 61 name = "privatecatalog_java_proto", 62 deps = [":privatecatalog_proto"], 63) 64 65java_grpc_library( 66 name = "privatecatalog_java_grpc", 67 srcs = [":privatecatalog_proto"], 68 deps = [":privatecatalog_java_proto"], 69) 70 71java_gapic_library( 72 name = "privatecatalog_java_gapic", 73 srcs = [":privatecatalog_proto_with_info"], 74 grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", 75 rest_numeric_enums = True, 76 service_yaml = "cloudprivatecatalog_v1beta1.yaml", 77 test_deps = [ 78 ":privatecatalog_java_grpc", 79 ], 80 transport = "grpc+rest", 81 deps = [ 82 ":privatecatalog_java_proto", 83 ], 84) 85 86java_gapic_test( 87 name = "privatecatalog_java_gapic_test_suite", 88 test_classes = [ 89 "com.google.cloud.privatecatalog.v1beta1.PrivateCatalogClientHttpJsonTest", 90 "com.google.cloud.privatecatalog.v1beta1.PrivateCatalogClientTest", 91 ], 92 runtime_deps = [":privatecatalog_java_gapic_test"], 93) 94 95# Open Source Packages 96java_gapic_assembly_gradle_pkg( 97 name = "google-cloud-privatecatalog-v1beta1-java", 98 include_samples = True, 99 transport = "grpc+rest", 100 deps = [ 101 ":privatecatalog_java_gapic", 102 ":privatecatalog_java_grpc", 103 ":privatecatalog_java_proto", 104 ":privatecatalog_proto", 105 ], 106) 107 108############################################################################## 109# Go 110############################################################################## 111load( 112 "@com_google_googleapis_imports//:imports.bzl", 113 "go_gapic_assembly_pkg", 114 "go_gapic_library", 115 "go_proto_library", 116) 117 118go_proto_library( 119 name = "privatecatalog_go_proto", 120 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 121 importpath = "cloud.google.com/go/privatecatalog/apiv1beta1/privatecatalogpb", 122 protos = [":privatecatalog_proto"], 123 deps = [ 124 "//google/api:annotations_go_proto", 125 "//google/longrunning:longrunning_go_proto", 126 ], 127) 128 129go_gapic_library( 130 name = "privatecatalog_go_gapic", 131 srcs = [":privatecatalog_proto_with_info"], 132 grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", 133 importpath = "cloud.google.com/go/privatecatalog/apiv1beta1;privatecatalog", 134 metadata = True, 135 release_level = "beta", 136 rest_numeric_enums = True, 137 service_yaml = "cloudprivatecatalog_v1beta1.yaml", 138 transport = "grpc+rest", 139 deps = [ 140 ":privatecatalog_go_proto", 141 "//google/longrunning:longrunning_go_proto", 142 "@com_google_cloud_go_longrunning//:go_default_library", 143 "@com_google_cloud_go_longrunning//autogen:go_default_library", 144 "@io_bazel_rules_go//proto/wkt:any_go_proto", 145 "@io_bazel_rules_go//proto/wkt:struct_go_proto", 146 ], 147) 148 149# Open Source Packages 150go_gapic_assembly_pkg( 151 name = "gapi-cloud-privatecatalog-v1beta1-go", 152 deps = [ 153 ":privatecatalog_go_gapic", 154 ":privatecatalog_go_gapic_srcjar-metadata.srcjar", 155 ":privatecatalog_go_gapic_srcjar-snippets.srcjar", 156 ":privatecatalog_go_gapic_srcjar-test.srcjar", 157 ":privatecatalog_go_proto", 158 ], 159) 160 161############################################################################## 162# Python 163############################################################################## 164load( 165 "@com_google_googleapis_imports//:imports.bzl", 166 "py_gapic_assembly_pkg", 167 "py_gapic_library", 168 "py_test", 169) 170 171py_gapic_library( 172 name = "privatecatalog_py_gapic", 173 srcs = [":privatecatalog_proto"], 174 grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", 175 opt_args = [ 176 "warehouse-package-name=google-cloud-private-catalog", 177 "autogen-snippets", 178 ], 179 rest_numeric_enums = True, 180 service_yaml = "cloudprivatecatalog_v1beta1.yaml", 181 transport = "grpc+rest", 182) 183 184py_test( 185 name = "privatecatalog_py_gapic_test", 186 srcs = [ 187 "privatecatalog_py_gapic_pytest.py", 188 "privatecatalog_py_gapic_test.py", 189 ], 190 legacy_create_init = False, 191 deps = [":privatecatalog_py_gapic"], 192) 193 194# Open Source Packages 195py_gapic_assembly_pkg( 196 name = "privatecatalog-v1beta1-py", 197 deps = [ 198 ":privatecatalog_py_gapic", 199 ], 200) 201 202############################################################################## 203# PHP 204############################################################################## 205load( 206 "@com_google_googleapis_imports//:imports.bzl", 207 "php_gapic_assembly_pkg", 208 "php_gapic_library", 209 "php_proto_library", 210) 211 212php_proto_library( 213 name = "privatecatalog_php_proto", 214 deps = [":privatecatalog_proto"], 215) 216 217php_gapic_library( 218 name = "privatecatalog_php_gapic", 219 srcs = [":privatecatalog_proto_with_info"], 220 grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", 221 migration_mode = "MIGRATING", 222 rest_numeric_enums = True, 223 service_yaml = "cloudprivatecatalog_v1beta1.yaml", 224 transport = "grpc+rest", 225 deps = [":privatecatalog_php_proto"], 226) 227 228# Open Source Packages 229php_gapic_assembly_pkg( 230 name = "google-cloud-privatecatalog-v1beta1-php", 231 deps = [ 232 ":privatecatalog_php_gapic", 233 ":privatecatalog_php_proto", 234 ], 235) 236 237############################################################################## 238# Node.js 239############################################################################## 240load( 241 "@com_google_googleapis_imports//:imports.bzl", 242 "nodejs_gapic_assembly_pkg", 243 "nodejs_gapic_library", 244) 245 246nodejs_gapic_library( 247 name = "privatecatalog_nodejs_gapic", 248 package_name = "@google-cloud/private-catalog", 249 src = ":privatecatalog_proto_with_info", 250 extra_protoc_parameters = ["metadata"], 251 grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", 252 package = "google.cloud.privatecatalog.v1beta1", 253 rest_numeric_enums = True, 254 service_yaml = "cloudprivatecatalog_v1beta1.yaml", 255 transport = "grpc+rest", 256 deps = [], 257) 258 259nodejs_gapic_assembly_pkg( 260 name = "privatecatalog-v1beta1-nodejs", 261 deps = [ 262 ":privatecatalog_nodejs_gapic", 263 ":privatecatalog_proto", 264 ], 265) 266 267############################################################################## 268# Ruby 269############################################################################## 270load( 271 "@com_google_googleapis_imports//:imports.bzl", 272 "ruby_cloud_gapic_library", 273 "ruby_gapic_assembly_pkg", 274 "ruby_grpc_library", 275 "ruby_proto_library", 276) 277 278ruby_proto_library( 279 name = "privatecatalog_ruby_proto", 280 deps = [":privatecatalog_proto"], 281) 282 283ruby_grpc_library( 284 name = "privatecatalog_ruby_grpc", 285 srcs = [":privatecatalog_proto"], 286 deps = [":privatecatalog_ruby_proto"], 287) 288 289ruby_cloud_gapic_library( 290 name = "privatecatalog_ruby_gapic", 291 srcs = [":privatecatalog_proto_with_info"], 292 extra_protoc_parameters = [ 293 "ruby-cloud-gem-name=google-cloud-private_catalog-v1beta1", 294 "ruby-cloud-env-prefix=PRIVATE_CATALOG", 295 "ruby-cloud-product-url=https://cloud.google.com/private-catalog/", 296 "ruby-cloud-api-id=cloudprivatecatalog.googleapis.com", 297 "ruby-cloud-api-shortname=cloudprivatecatalog", 298 "ruby-cloud-yard-strict=false", 299 ], 300 grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", 301 rest_numeric_enums = True, 302 ruby_cloud_description = "With Private Catalog, developers and cloud admins can make their solutions discoverable to their internal enterprise users. Cloud admins can manage their solutions and ensure their users are always launching the latest versions.", 303 ruby_cloud_title = "Private Catalog V1beta1", 304 service_yaml = "cloudprivatecatalog_v1beta1.yaml", 305 transport = "grpc+rest", 306 deps = [ 307 ":privatecatalog_ruby_grpc", 308 ":privatecatalog_ruby_proto", 309 ], 310) 311 312# Open Source Packages 313ruby_gapic_assembly_pkg( 314 name = "google-cloud-privatecatalog-v1beta1-ruby", 315 deps = [ 316 ":privatecatalog_ruby_gapic", 317 ":privatecatalog_ruby_grpc", 318 ":privatecatalog_ruby_proto", 319 ], 320) 321 322############################################################################## 323# C# 324############################################################################## 325load( 326 "@com_google_googleapis_imports//:imports.bzl", 327 "csharp_gapic_assembly_pkg", 328 "csharp_gapic_library", 329 "csharp_grpc_library", 330 "csharp_proto_library", 331) 332 333csharp_proto_library( 334 name = "privatecatalog_csharp_proto", 335 deps = [":privatecatalog_proto"], 336) 337 338csharp_grpc_library( 339 name = "privatecatalog_csharp_grpc", 340 srcs = [":privatecatalog_proto"], 341 deps = [":privatecatalog_csharp_proto"], 342) 343 344csharp_gapic_library( 345 name = "privatecatalog_csharp_gapic", 346 srcs = [":privatecatalog_proto_with_info"], 347 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 348 grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", 349 rest_numeric_enums = True, 350 service_yaml = "cloudprivatecatalog_v1beta1.yaml", 351 transport = "grpc+rest", 352 deps = [ 353 ":privatecatalog_csharp_grpc", 354 ":privatecatalog_csharp_proto", 355 ], 356) 357 358# Open Source Packages 359csharp_gapic_assembly_pkg( 360 name = "google-cloud-privatecatalog-v1beta1-csharp", 361 deps = [ 362 ":privatecatalog_csharp_gapic", 363 ":privatecatalog_csharp_grpc", 364 ":privatecatalog_csharp_proto", 365 ], 366) 367 368############################################################################## 369# C++ 370############################################################################## 371# Put your C++ rules here 372