Skip to content

Commit 83bf2ae

Browse files
Google APIscopybara-github
authored andcommitted
chore(ruby): Configure ruby gapic generation
PiperOrigin-RevId: 399199238
1 parent f73ccb9 commit 83bf2ae

8 files changed

Lines changed: 64 additions & 7 deletions

File tree

google/cloud/assuredworkloads/v1/BUILD.bazel

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,15 @@ ruby_cloud_gapic_library(
277277
name = "assuredworkloads_ruby_gapic",
278278
srcs = [":assuredworkloads_proto_with_info"],
279279
extra_protoc_parameters = [
280-
"ruby-cloud-gem-name=google-cloud-assuredworkloads-v1",
280+
"ruby-cloud-api-id=assuredworkloads.googleapis.com",
281+
"ruby-cloud-api-shortname=assuredworkloads",
282+
"ruby-cloud-env-prefix=ASSURED_WORKLOADS",
283+
"ruby-cloud-gem-name=google-cloud-assured_workloads-v1",
284+
"ruby-cloud-product-url=https://cloud.google.com/assured-workloads/",
281285
],
282286
grpc_service_config = "assuredworkloads_grpc_service_config.json",
287+
ruby_cloud_description = "Assured Workloads for Government secures government workloads and accelerates the path to running compliant workloads on Google Cloud.",
288+
ruby_cloud_title = "Assured Workloads for Government V1",
283289
deps = [
284290
":assuredworkloads_ruby_grpc",
285291
":assuredworkloads_ruby_proto",

google/cloud/billing/budgets/v1/BUILD.bazel

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,16 @@ ruby_grpc_library(
236236
ruby_cloud_gapic_library(
237237
name = "budgets_ruby_gapic",
238238
srcs = [":budgets_proto_with_info"],
239-
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-billing-budgets-v1"],
239+
extra_protoc_parameters = [
240+
"ruby-cloud-api-id=billingbudgets.googleapis.com",
241+
"ruby-cloud-api-shortname=billingbudgets",
242+
"ruby-cloud-env-prefix=BILLING_BUDGETS",
243+
"ruby-cloud-gem-name=google-cloud-billing-budgets-v1",
244+
"ruby-cloud-product-url=https://cloud.google.com/billing/docs/how-to/budget-api-overview",
245+
],
240246
grpc_service_config = "billingbudgets_grpc_service_config.json",
247+
ruby_cloud_description = "Provides methods to view, create, and manage Cloud Billing budgets programmatically at scale.",
248+
ruby_cloud_title = "Billing Budgets V1",
241249
deps = [
242250
":budgets_ruby_grpc",
243251
":budgets_ruby_proto",

google/cloud/notebooks/v1/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,14 @@ ruby_cloud_gapic_library(
292292
srcs = [":notebooks_proto_with_info"],
293293
extra_protoc_parameters = [
294294
"ruby-cloud-gem-name=google-cloud-notebooks-v1",
295+
"ruby-cloud-env-prefix=NOTEBOOKS",
296+
"ruby-cloud-product-url=https://cloud.google.com/ai-platform-notebooks",
297+
"ruby-cloud-api-id=notebooks.googleapis.com",
298+
"ruby-cloud-api-shortname=notebooks",
295299
],
296300
grpc_service_config = "notebooks_grpc_service_config.json",
301+
ruby_cloud_description = "AI Platform Notebooks makes it easy to manage JupyterLab instances through a protected, publicly available notebook instance URL. A JupyterLab instance is a Deep Learning virtual machine instance with the latest machine learning and data science libraries pre-installed.",
302+
ruby_cloud_title = "AI Platform Notebooks V1",
297303
deps = [
298304
":notebooks_ruby_grpc",
299305
":notebooks_ruby_proto",

google/cloud/orchestration/airflow/service/v1/BUILD.bazel

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,14 @@ ruby_cloud_gapic_library(
279279
name = "service_ruby_gapic",
280280
srcs = [":service_proto_with_info"],
281281
extra_protoc_parameters = [
282-
"ruby-cloud-gem-name=google-cloud-airflow-service-v1",
282+
"ruby-cloud-gem-name=google-cloud-orchestration-airflow-service-v1",
283+
"ruby-cloud-product-url=https://cloud.google.com/composer",
284+
"ruby-cloud-api-id=composer.googleapis.com",
285+
"ruby-cloud-api-shortname=composer",
283286
],
284287
grpc_service_config = "composer_grpc_service_config.json",
288+
ruby_cloud_description = "The client library for the Cloud Composer API, built on the popular Apache Airflow open source project. Cloud Composer is a fully managed workflow orchestration service, enabling you to create, schedule, monitor, and manage workflows that span across clouds and on-premises data centers.",
289+
ruby_cloud_title = "Cloud Composer V1",
285290
deps = [
286291
":service_ruby_grpc",
287292
":service_ruby_proto",

google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,14 @@ ruby_cloud_gapic_library(
276276
name = "service_ruby_gapic",
277277
srcs = [":service_proto_with_info"],
278278
extra_protoc_parameters = [
279-
"ruby-cloud-gem-name=google-cloud-airflow-service-v1beta1",
279+
"ruby-cloud-gem-name=google-cloud-orchestration-airflow-service-v1beta1",
280+
"ruby-cloud-product-url=https://cloud.google.com/composer",
281+
"ruby-cloud-api-id=composer.googleapis.com",
282+
"ruby-cloud-api-shortname=composer",
280283
],
281284
grpc_service_config = "composer_grpc_service_config.json",
285+
ruby_cloud_description = "The client library for the Cloud Composer API, built on the popular Apache Airflow open source project. Cloud Composer is a fully managed workflow orchestration service, enabling you to create, schedule, monitor, and manage workflows that span across clouds and on-premises data centers.",
286+
ruby_cloud_title = "Cloud Composer V1beta1",
282287
deps = [
283288
":service_ruby_grpc",
284289
":service_ruby_proto",

google/cloud/videointelligence/v1p3beta1/BUILD.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,16 @@ ruby_grpc_library(
264264
ruby_cloud_gapic_library(
265265
name = "videointelligence_ruby_gapic",
266266
srcs = [":videointelligence_proto_with_info",],
267-
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-videointelligence-v1p3beta1"],
267+
extra_protoc_parameters = [
268+
"ruby-cloud-gem-name=google-cloud-video_intelligence-v1p3beta1",
269+
"ruby-cloud-env-prefix=VIDEO_INTELLIGENCE",
270+
"ruby-cloud-product-url=https://cloud.google.com/video-intelligence",
271+
"ruby-cloud-api-id=videointelligence.googleapis.com",
272+
"ruby-cloud-api-shortname=videointelligence",
273+
],
274+
grpc_service_config = "videointelligence_grpc_service_config.json",
275+
ruby_cloud_description = "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.",
276+
ruby_cloud_title = "Cloud Video Intelligence V1p3beta1",
268277
deps = [
269278
":videointelligence_ruby_grpc",
270279
":videointelligence_ruby_proto",

google/cloud/vision/v1p4beta1/BUILD.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,16 @@ ruby_grpc_library(
275275
ruby_cloud_gapic_library(
276276
name = "vision_ruby_gapic",
277277
srcs = [":vision_proto_with_info",],
278-
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-vision-v1p4beta1"],
278+
extra_protoc_parameters = [
279+
"ruby-cloud-gem-name=google-cloud-vision-v1p4beta1",
280+
"ruby-cloud-env-prefix=VISION",
281+
"ruby-cloud-product-url=https://cloud.google.com/vision",
282+
"ruby-cloud-api-id=vision.googleapis.com",
283+
"ruby-cloud-api-shortname=vision",
284+
],
285+
grpc_service_config = "vision_grpc_service_config.json",
286+
ruby_cloud_description = "Cloud Vision API allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content.",
287+
ruby_cloud_title = "Cloud Vision V1p4beta1",
279288
deps = [
280289
":vision_ruby_grpc",
281290
":vision_ruby_proto",

google/cloud/workflows/executions/v1/BUILD.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,17 @@ ruby_grpc_library(
261261
ruby_cloud_gapic_library(
262262
name = "executions_ruby_gapic",
263263
srcs = [":executions_proto_with_info",],
264-
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-executions-v1"],
264+
extra_protoc_parameters = [
265+
"ruby-cloud-gem-name=google-cloud-workflows-executions-v1",
266+
"ruby-cloud-env-prefix=WORKFLOWS",
267+
"ruby-cloud-product-url=https://cloud.google.com/workflows/",
268+
"ruby-cloud-api-id=workflowexecutions.googleapis.com",
269+
"ruby-cloud-api-shortname=workflowexecutions",
270+
"ruby-cloud-wrapper-gem-override=google-cloud-workflows",
271+
],
265272
grpc_service_config = "executions_grpc_service_config.json",
273+
ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..",
274+
ruby_cloud_title = "Workflows Executions V1",
266275
deps = [
267276
":executions_ruby_grpc",
268277
":executions_ruby_proto",

0 commit comments

Comments
 (0)