diff options
| author | n1c00o <git.n1c00o@gmail.com> | 2022-10-12 18:05:45 +0200 | 
|---|---|---|
| committer | n1c00o <git.n1c00o@gmail.com> | 2022-10-12 18:05:45 +0200 | 
| commit | 9bcf3fedd50bd6c8dfef1673482d9b61fab49cd0 (patch) | |
| tree | 45f3b754ece09b90bde859bc6e7eae4d3c31a848 /third_party/googleapis/google/cloud/channel/BUILD.bazel | |
| parent | 2e1a2ee3d6c12d8367cbbe005fe7dcf8d253d9ac (diff) | |
Revendor correctly googleapis
Diffstat (limited to 'third_party/googleapis/google/cloud/channel/BUILD.bazel')
| -rw-r--r-- | third_party/googleapis/google/cloud/channel/BUILD.bazel | 40 | 
1 files changed, 40 insertions, 0 deletions
diff --git a/third_party/googleapis/google/cloud/channel/BUILD.bazel b/third_party/googleapis/google/cloud/channel/BUILD.bazel new file mode 100644 index 0000000..4f0f35a --- /dev/null +++ b/third_party/googleapis/google/cloud/channel/BUILD.bazel @@ -0,0 +1,40 @@ +# This build file includes a target for the Ruby wrapper library for +# google-cloud-channel. + +# This is an API workspace, having public visibility by default makes perfect sense. +package(default_visibility = ["//visibility:public"]) + +# Export yaml configs. +exports_files(glob(["*.yaml"])) + +load( +    "@com_google_googleapis_imports//:imports.bzl", +    "ruby_cloud_gapic_library", +    "ruby_gapic_assembly_pkg", +) + +# Generates a Ruby wrapper client for cloudchannel. +# Ruby wrapper clients are versionless, but are generated from source protos +# for a particular service version, v1 in this case. +ruby_cloud_gapic_library( +    name = "cloudchannel_ruby_wrapper", +    srcs = ["//google/cloud/channel/v1:channel_proto_with_info"], +    extra_protoc_parameters = [ +        "ruby-cloud-gem-name=google-cloud-channel", +        "ruby-cloud-env-prefix=CHANNEL", +        "ruby-cloud-wrapper-of=v1:0.5", +        "ruby-cloud-product-url=https://cloud.google.com/channel", +        "ruby-cloud-api-id=cloudchannel.googleapis.com", +        "ruby-cloud-api-shortname=cloudchannel", +    ], +    ruby_cloud_description = "You can use Channel Services to manage your relationships with your partners and your customers. Channel Services include a console and APIs to view and provision links between distributors and resellers, customers and entitlements.", +    ruby_cloud_title = "Cloud Channel", +) + +# Open Source package. +ruby_gapic_assembly_pkg( +    name = "google-cloud-channel-ruby", +    deps = [ +        ":cloudchannel_ruby_wrapper", +    ], +)  | 
