# This file was automatically generated by BuildFileGenerator # This is an API workspace, having public visibility by default makes perfect sense. package(default_visibility = ["//visibility:public"]) ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "billing_proto", srcs = [ "cloud_billing.proto", "cloud_catalog.proto", ], deps = [ "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/iam/v1:iam_policy_proto", "//google/iam/v1:policy_proto", "//google/type:money_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], ) proto_library_with_info( name = "billing_proto_with_info", deps = [ ":billing_proto", "//google/cloud:common_resources_proto", ], ) ############################################################################## # Java ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", "java_grpc_library", "java_proto_library", ) java_proto_library( name = "billing_java_proto", deps = [":billing_proto"], ) java_grpc_library( name = "billing_java_grpc", srcs = [":billing_proto"], deps = [":billing_java_proto"], ) java_gapic_library( name = "billing_java_gapic", src = ":billing_proto_with_info", gapic_yaml = "cloud_billing_gapic.yaml", package = "google.cloud.billing.v1", service_yaml = "cloudbilling.yaml", test_deps = [ ":billing_java_grpc", "//google/iam/v1:iam_java_grpc", ], deps = [ ":billing_java_proto", "//google/iam/v1:iam_java_proto", ], ) java_gapic_test( name = "billing_java_gapic_test_suite", test_classes = [ "com.google.cloud.billing.v1.CloudBillingClientTest", "com.google.cloud.billing.v1.CloudCatalogClientTest", ], runtime_deps = [":billing_java_gapic_test"], ) # Open Source Packages java_gapic_assembly_gradle_pkg( name = "google-cloud-billing-v1-java", deps = [ ":billing_java_gapic", ":billing_java_grpc", ":billing_java_proto", ":billing_proto", ], ) ############################################################################## # Go ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", "go_test", ) go_proto_library( name = "billing_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], importpath = "google.golang.org/genproto/googleapis/cloud/billing/v1", protos = [":billing_proto"], deps = [ "//google/api:annotations_go_proto", "//google/iam/v1:iam_go_proto", "//google/type:money_go_proto", ], ) go_gapic_library( name = "billing_go_gapic", srcs = [":billing_proto_with_info"], grpc_service_config = "cloud_billing_grpc_service_config.json", importpath = "cloud.google.com/go/billing/apiv1;billing", service_yaml = "cloudbilling.yaml", deps = [ ":billing_go_proto", "//google/iam/v1:iam_go_proto", ], ) go_test( name = "billing_go_gapic_test", srcs = [":billing_go_gapic_srcjar_test"], embed = [":billing_go_gapic"], importpath = "cloud.google.com/go/billing/apiv1", ) # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-billing-v1-go", deps = [ ":billing_go_gapic", ":billing_go_gapic_srcjar-test.srcjar", ":billing_go_proto", ], ) ############################################################################## # Python ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "moved_proto_library", "py_gapic_assembly_pkg", "py_gapic_library", "py_grpc_library", "py_proto_library", ) moved_proto_library( name = "billing_moved_proto", srcs = [":billing_proto"], deps = [ "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/iam/v1:iam_policy_proto", "//google/iam/v1:policy_proto", "//google/type:money_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], ) py_proto_library( name = "billing_py_proto", plugin = "@protoc_docs_plugin//:docs_plugin", deps = [":billing_moved_proto"], ) py_grpc_library( name = "billing_py_grpc", srcs = [":billing_moved_proto"], deps = [":billing_py_proto"], ) py_gapic_library( name = "billing_py_gapic", src = ":billing_proto_with_info", gapic_yaml = "cloud_billing_gapic.yaml", package = "google.cloud.billing.v1", service_yaml = "cloudbilling.yaml", deps = [ ":billing_py_grpc", ":billing_py_proto", ], ) # Open Source Packages py_gapic_assembly_pkg( name = "billing-v1-py", deps = [ ":billing_py_gapic", ":billing_py_grpc", ":billing_py_proto", ], ) ############################################################################## # PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", "php_grpc_library", "php_proto_library", ) php_proto_library( name = "billing_php_proto", deps = [":billing_proto"], ) php_grpc_library( name = "billing_php_grpc", srcs = [":billing_proto"], deps = [":billing_php_proto"], ) php_gapic_library( name = "billing_php_gapic", src = ":billing_proto_with_info", gapic_yaml = "cloud_billing_gapic.yaml", package = "google.cloud.billing.v1", service_yaml = "cloudbilling.yaml", deps = [ ":billing_php_grpc", ":billing_php_proto", ], ) # Open Source Packages php_gapic_assembly_pkg( name = "google-cloud-billing-v1-php", deps = [ ":billing_php_gapic", ":billing_php_grpc", ":billing_php_proto", ], ) ############################################################################## # Node.js ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "nodejs_gapic_assembly_pkg", "nodejs_gapic_library", ) nodejs_gapic_library( name = "billing_nodejs_gapic", src = ":billing_proto_with_info", gapic_yaml = "cloud_billing_gapic.yaml", package = "google.cloud.billing.v1", service_yaml = "cloudbilling.yaml", deps = [], ) nodejs_gapic_assembly_pkg( name = "billing-v1-nodejs", deps = [ ":billing_nodejs_gapic", ":billing_proto", ], ) ############################################################################## # Ruby ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "ruby_gapic_assembly_pkg", "ruby_gapic_library", "ruby_grpc_library", "ruby_proto_library", ) ruby_proto_library( name = "billing_ruby_proto", deps = [":billing_proto"], ) ruby_grpc_library( name = "billing_ruby_grpc", srcs = [":billing_proto"], deps = [":billing_ruby_proto"], ) ruby_gapic_library( name = "billing_ruby_gapic", src = ":billing_proto_with_info", gapic_yaml = "cloud_billing_gapic.yaml", package = "google.cloud.billing.v1", service_yaml = "cloudbilling.yaml", deps = [ ":billing_ruby_grpc", ":billing_ruby_proto", ], ) # Open Source Packages ruby_gapic_assembly_pkg( name = "google-cloud-billing-v1-ruby", deps = [ ":billing_ruby_gapic", ":billing_ruby_grpc", ":billing_ruby_proto", ], ) ############################################################################## # C# ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", "csharp_gapic_assembly_pkg", "csharp_gapic_library", "csharp_grpc_library", "csharp_proto_library", ) csharp_proto_library( name = "billing_csharp_proto", deps = [":billing_proto"], ) csharp_grpc_library( name = "billing_csharp_grpc", srcs = [":billing_proto"], deps = [":billing_csharp_proto"], ) csharp_gapic_library( name = "billing_csharp_gapic", src = ":billing_proto_with_info", gapic_yaml = "cloud_billing_gapic.yaml", package = "google.cloud.billing.v1", service_yaml = "cloudbilling.yaml", deps = [ ":billing_csharp_grpc", ":billing_csharp_proto", ], ) # Open Source Packages csharp_gapic_assembly_pkg( name = "google-cloud-billing-v1-csharp", deps = [ ":billing_csharp_gapic", ":billing_csharp_grpc", ":billing_csharp_proto", ], ) ############################################################################## # C++ ############################################################################## # Put your C++ rules here