mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-15 12:50:26 +02:00
chore: Configure Ruby clients
PiperOrigin-RevId: 450033738
This commit is contained in:
parent
4c6f5836a3
commit
2ac1b0abec
6 changed files with 112 additions and 4 deletions
39
google/cloud/baremetalsolution/BUILD.bazel
Normal file
39
google/cloud/baremetalsolution/BUILD.bazel
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# This build file includes a target for the Ruby wrapper library for
|
||||
# google-cloud-bare_metal_solution.
|
||||
|
||||
# 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 baremetalsolution.
|
||||
# Ruby wrapper clients are versionless, but are generated from source protos
|
||||
# for a particular service version, v2 in this case.
|
||||
ruby_cloud_gapic_library(
|
||||
name = "baremetalsolution_ruby_wrapper",
|
||||
srcs = ["//google/cloud/baremetalsolution/v2:baremetalsolution_proto_with_info"],
|
||||
extra_protoc_parameters = [
|
||||
"ruby-cloud-api-id=baremetalsolution.googleapis.com",
|
||||
"ruby-cloud-api-shortname=baremetalsolution",
|
||||
"ruby-cloud-gem-name=google-cloud-bare_metal_solution",
|
||||
"ruby-cloud-product-url=https://cloud.google.com/bare-metal/",
|
||||
"ruby-cloud-wrapper-of=v2:0.0",
|
||||
],
|
||||
ruby_cloud_description = "Bare Metal Solution is a managed solution that provides purpose-built HPE or Atos bare-metal servers in regional extensions that are connected to Google Cloud by a managed, high-performance connection with a low-latency network fabric.",
|
||||
ruby_cloud_title = "Bare Metal Solution",
|
||||
)
|
||||
|
||||
# Open Source package.
|
||||
ruby_gapic_assembly_pkg(
|
||||
name = "google-cloud-baremetalsolution-ruby",
|
||||
deps = [
|
||||
":baremetalsolution_ruby_wrapper",
|
||||
],
|
||||
)
|
||||
|
|
@ -279,8 +279,15 @@ ruby_grpc_library(
|
|||
ruby_cloud_gapic_library(
|
||||
name = "baremetalsolution_ruby_gapic",
|
||||
srcs = [":baremetalsolution_proto_with_info"],
|
||||
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-baremetalsolution-v2"],
|
||||
extra_protoc_parameters = [
|
||||
"ruby-cloud-api-id=baremetalsolution.googleapis.com",
|
||||
"ruby-cloud-api-shortname=baremetalsolution",
|
||||
"ruby-cloud-gem-name=google-cloud-bare_metal_solution-v2",
|
||||
"ruby-cloud-product-url=https://cloud.google.com/bare-metal/",
|
||||
],
|
||||
grpc_service_config = "baremetalsolution_grpc_service_config.json",
|
||||
ruby_cloud_description = "Bare Metal Solution is a managed solution that provides purpose-built HPE or Atos bare-metal servers in regional extensions that are connected to Google Cloud by a managed, high-performance connection with a low-latency network fabric.",
|
||||
ruby_cloud_title = "Bare Metal Solution V2",
|
||||
deps = [
|
||||
":baremetalsolution_ruby_grpc",
|
||||
":baremetalsolution_ruby_proto",
|
||||
|
|
|
|||
39
google/cloud/gkemulticloud/BUILD.bazel
Normal file
39
google/cloud/gkemulticloud/BUILD.bazel
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# This build file includes a target for the Ruby wrapper library for
|
||||
# google-cloud-gke_multi_cloud.
|
||||
|
||||
# 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 gkemulticloud.
|
||||
# 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 = "gkemulticloud_ruby_wrapper",
|
||||
srcs = ["//google/cloud/gkemulticloud/v1:gkemulticloud_proto_with_info"],
|
||||
extra_protoc_parameters = [
|
||||
"ruby-cloud-api-id=gkemulticloud.googleapis.com",
|
||||
"ruby-cloud-api-shortname=gkemulticloud",
|
||||
"ruby-cloud-gem-name=google-cloud-gke_multi_cloud",
|
||||
"ruby-cloud-product-url=https://cloud.google.com/anthos/clusters/docs/multi-cloud",
|
||||
"ruby-cloud-wrapper-of=v1:0.0",
|
||||
],
|
||||
ruby_cloud_description = "Anthos Multi-Cloud provides a way to manage Kubernetes clusters that run on AWS and Azure infrastructure using the Anthos Multi-Cloud API. Combined with Connect, you can manage Kubernetes clusters on Google Cloud, AWS, and Azure from the Google Cloud Console.",
|
||||
ruby_cloud_title = "Anthos Multi-Cloud",
|
||||
)
|
||||
|
||||
# Open Source package.
|
||||
ruby_gapic_assembly_pkg(
|
||||
name = "google-cloud-gkemulticloud-ruby",
|
||||
deps = [
|
||||
":gkemulticloud_ruby_wrapper",
|
||||
],
|
||||
)
|
||||
|
|
@ -279,8 +279,15 @@ ruby_grpc_library(
|
|||
ruby_cloud_gapic_library(
|
||||
name = "gkemulticloud_ruby_gapic",
|
||||
srcs = [":gkemulticloud_proto_with_info"],
|
||||
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-gkemulticloud-v1"],
|
||||
extra_protoc_parameters = [
|
||||
"ruby-cloud-api-id=gkemulticloud.googleapis.com",
|
||||
"ruby-cloud-api-shortname=gkemulticloud",
|
||||
"ruby-cloud-gem-name=google-cloud-gke_multi_cloud-v1",
|
||||
"ruby-cloud-product-url=https://cloud.google.com/anthos/clusters/docs/multi-cloud",
|
||||
],
|
||||
grpc_service_config = "gkemulticloud_grpc_service_config.json",
|
||||
ruby_cloud_description = "Anthos Multi-Cloud provides a way to manage Kubernetes clusters that run on AWS and Azure infrastructure using the Anthos Multi-Cloud API. Combined with Connect, you can manage Kubernetes clusters on Google Cloud, AWS, and Azure from the Google Cloud Console.",
|
||||
ruby_cloud_title = "Anthos Multi-Cloud V1",
|
||||
deps = [
|
||||
":gkemulticloud_ruby_grpc",
|
||||
":gkemulticloud_ruby_proto",
|
||||
|
|
|
|||
|
|
@ -310,8 +310,16 @@ ruby_grpc_library(
|
|||
ruby_cloud_gapic_library(
|
||||
name = "retail_ruby_gapic",
|
||||
srcs = [":retail_proto_with_info"],
|
||||
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-retail-v2alpha"],
|
||||
extra_protoc_parameters = [
|
||||
"ruby-cloud-api-id=retail.googleapis.com",
|
||||
"ruby-cloud-api-shortname=retail",
|
||||
"ruby-cloud-env-prefix=RETAIL",
|
||||
"ruby-cloud-gem-name=google-cloud-retail-v2alpha",
|
||||
"ruby-cloud-product-url=https://cloud.google.com/retail/docs/apis",
|
||||
],
|
||||
grpc_service_config = "retail_grpc_service_config.json",
|
||||
ruby_cloud_description = "Retail enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.",
|
||||
ruby_cloud_title = "Retail V2alpha",
|
||||
deps = [
|
||||
":retail_ruby_grpc",
|
||||
":retail_ruby_proto",
|
||||
|
|
|
|||
|
|
@ -310,8 +310,16 @@ ruby_grpc_library(
|
|||
ruby_cloud_gapic_library(
|
||||
name = "retail_ruby_gapic",
|
||||
srcs = [":retail_proto_with_info"],
|
||||
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-retail-v2beta"],
|
||||
extra_protoc_parameters = [
|
||||
"ruby-cloud-api-id=retail.googleapis.com",
|
||||
"ruby-cloud-api-shortname=retail",
|
||||
"ruby-cloud-env-prefix=RETAIL",
|
||||
"ruby-cloud-gem-name=google-cloud-retail-v2beta",
|
||||
"ruby-cloud-product-url=https://cloud.google.com/retail/docs/apis",
|
||||
],
|
||||
grpc_service_config = "retail_grpc_service_config.json",
|
||||
ruby_cloud_description = "Retail enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.",
|
||||
ruby_cloud_title = "Retail V2beta",
|
||||
deps = [
|
||||
":retail_ruby_grpc",
|
||||
":retail_ruby_proto",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue