Skip to content

Commit bf317d7

Browse files
Google APIscopybara-github
authored andcommitted
chore: Configure Ruby clients for Gemini Data Analytics
PiperOrigin-RevId: 799691666
1 parent e7f331a commit bf317d7

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This build file includes a target for the Ruby wrapper library for
2+
# google-cloud-gemini_data_analytics.
3+
4+
# This is an API workspace, having public visibility by default makes perfect sense.
5+
package(default_visibility = ["//visibility:public"])
6+
7+
# Export yaml configs.
8+
exports_files(glob(["*.yaml"]))
9+
10+
load(
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 geminidataanalytics API.
17+
# Ruby wrapper clients are versionless, but are generated from source protos
18+
# for a particular service version, v1beta in this case.
19+
ruby_cloud_gapic_library(
20+
name = "geminidataanalytics_ruby_wrapper",
21+
srcs = ["//google/cloud/geminidataanalytics/v1beta:geminidataanalytics_proto_with_info"],
22+
extra_protoc_parameters = [
23+
"ruby-cloud-gem-name=google-cloud-gemini_data_analytics",
24+
"ruby-cloud-wrapper-of=v1beta:0.0",
25+
],
26+
service_yaml = "//google/cloud/geminidataanalytics/v1beta:geminidataanalytics_v1beta.yaml",
27+
transport = "grpc+rest",
28+
)
29+
30+
# Open Source package.
31+
ruby_gapic_assembly_pkg(
32+
name = "google-cloud-gemini_data_analytics-ruby",
33+
deps = [
34+
":geminidataanalytics_ruby_wrapper",
35+
],
36+
)

0 commit comments

Comments
 (0)