xref: /aosp_15_r20/external/googleapis/google/cloud/bigquery/dataexchange/BUILD.bazel (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1# This build file includes a target for the Ruby wrapper library for
2# google-cloud-bigquery-data_exchange.
3
4# This is an API workspace, having public visibility by default makes perfect sense.
5package(default_visibility = ["//visibility:public"])
6
7# Export yaml configs.
8exports_files(glob(["*.yaml"]))
9
10load(
11    "@com_google_googleapis_imports//:imports.bzl",
12    "ruby_cloud_gapic_library",
13    "ruby_gapic_assembly_pkg",
14)
15
16# Generates a Ruby wrapper client for analyticshub.
17# Ruby wrapper clients are versionless, but are generated from source protos
18# for a particular service version, v1beta1 in this case.
19ruby_cloud_gapic_library(
20    name = "dataexchange_ruby_wrapper",
21    srcs = ["//google/cloud/bigquery/dataexchange/v1beta1:dataexchange_proto_with_info"],
22    extra_protoc_parameters = [
23        "ruby-cloud-api-id=analyticshub.googleapis.com",
24        "ruby-cloud-api-shortname=analyticshub",
25        "ruby-cloud-gem-name=google-cloud-bigquery-data_exchange",
26        "ruby-cloud-product-url=https://cloud.google.com/analytics-hub/",
27        "ruby-cloud-wrapper-of=v1beta1:0.6",
28    ],
29    ruby_cloud_description = "Analytics Hub is a data exchange that allows you to efficiently and securely exchange data assets across organizations to address challenges of data reliability and cost. Curate a library of internal and external assets, including unique datasets like Google Trends, backed by the power of BigQuery.",
30    ruby_cloud_title = "Analytics Hub",
31)
32
33# Open Source package.
34ruby_gapic_assembly_pkg(
35    name = "google-cloud-dataexchange-ruby",
36    deps = [
37        ":dataexchange_ruby_wrapper",
38    ],
39)
40