Skip to content

Commit b26f86a

Browse files
Google APIscopybara-github
authored andcommitted
chore(ruby): Populate Ruby generator configuration for new clients
PiperOrigin-RevId: 379815863
1 parent 7e78ffd commit b26f86a

18 files changed

Lines changed: 129 additions & 18 deletions

File tree

google/analytics/data/v1alpha/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ ruby_cloud_gapic_library(
264264
srcs = [":data_proto_with_info",],
265265
extra_protoc_parameters = [
266266
"ruby-cloud-gem-name=google-analytics-data-v1alpha",
267-
"ruby-cloud-env-prefix=ANALYTICS",
267+
"ruby-cloud-env-prefix=ANALYTICS_DATA",
268268
"ruby-cloud-api-id=analyticsdata.googleapis.com",
269269
"ruby-cloud-api-shortname=analyticsdata",
270270
"ruby-cloud-service-override=AlphaAnalyticsData=AnalyticsData",

google/analytics/data/v1beta/BUILD.bazel

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,16 @@ ruby_cloud_gapic_library(
264264
name = "data_ruby_gapic",
265265
srcs = [":data_proto_with_info"],
266266
extra_protoc_parameters = [
267-
"ruby-cloud-gem-name=google-analytics-data-v1",
268-
"ruby-cloud-env-prefix=ANALYTICSDATA",
267+
"ruby-cloud-gem-name=google-analytics-data-v1beta",
268+
"ruby-cloud-env-prefix=ANALYTICS_DATA",
269269
"ruby-cloud-product-url=https://developers.google.com/analytics/devguides/reporting/data/v1",
270270
"ruby-cloud-api-id=analyticsdata.googleapis.com",
271271
"ruby-cloud-api-shortname=analyticsdata",
272+
"ruby-cloud-service-override=BetaAnalyticsData=AnalyticsData",
272273
],
273274
grpc_service_config = "analytics_data_grpc_service_config.json",
274-
ruby_cloud_description = "The Google Analytics Data API V1 provides programmatic methods to access report data in Google Analytics 4 (GA4) properties.",
275-
ruby_cloud_title = "Google Analytics Data V1",
275+
ruby_cloud_description = "The Google Analytics Data API provides programmatic methods to access report data in Google Analytics 4 (GA4) properties. Google Analytics 4 helps you understand how people use your web, iOS, or Android app.",
276+
ruby_cloud_title = "Google Analytics Data V1beta",
276277
deps = [
277278
":data_ruby_grpc",
278279
":data_ruby_proto",

google/api/serviceusage/v1/BUILD.bazel

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,15 @@ ruby_cloud_gapic_library(
288288
name = "serviceusage_ruby_gapic",
289289
srcs = [":serviceusage_proto_with_info"],
290290
extra_protoc_parameters = [
291-
"ruby-cloud-gem-name=google-cloud-api-serviceusage-v1",
291+
"ruby-cloud-gem-name=google-cloud-service_usage-v1",
292+
"ruby-cloud-env-prefix=SERVICE_USAGE",
293+
"ruby-cloud-product-url=https://cloud.google.com/service-usage/",
294+
"ruby-cloud-api-id=serviceusage.googleapis.com",
295+
"ruby-cloud-api-shortname=serviceusage",
292296
],
293297
grpc_service_config = "serviceusage_grpc_service_config.json",
298+
ruby_cloud_description = "Service Usage is an infrastructure service of Google Cloud that lets you list and manage other APIs and services in your Cloud projects. You can list and manage Google Cloud services and their APIs, as well as services created using Cloud Endpoints.",
299+
ruby_cloud_title = "Service Usage V1",
294300
deps = [
295301
":serviceusage_ruby_grpc",
296302
":serviceusage_ruby_proto",

google/api/serviceusage/v1beta1/BUILD.bazel

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,16 @@ ruby_grpc_library(
279279
ruby_cloud_gapic_library(
280280
name = "serviceusage_ruby_gapic",
281281
srcs = [":serviceusage_proto_with_info"],
282-
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-api-serviceusage-v1beta1"],
282+
extra_protoc_parameters = [
283+
"ruby-cloud-gem-name=google-cloud-service_usage-v1beta1",
284+
"ruby-cloud-env-prefix=SERVICE_USAGE",
285+
"ruby-cloud-product-url=https://cloud.google.com/service-usage/",
286+
"ruby-cloud-api-id=serviceusage.googleapis.com",
287+
"ruby-cloud-api-shortname=serviceusage",
288+
],
283289
grpc_service_config = "serviceusage_grpc_service_config.json",
290+
ruby_cloud_description = "Service Usage is an infrastructure service of Google Cloud that lets you list and manage other APIs and services in your Cloud projects. You can list and manage Google Cloud services and their APIs, as well as services created using Cloud Endpoints.",
291+
ruby_cloud_title = "Service Usage V1beta1",
284292
deps = [
285293
":serviceusage_ruby_grpc",
286294
":serviceusage_ruby_proto",

google/cloud/apigeeconnect/v1/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,14 @@ ruby_cloud_gapic_library(
272272
srcs = [":apigeeconnect_proto_with_info"],
273273
extra_protoc_parameters = [
274274
"ruby-cloud-gem-name=google-cloud-apigee_connect-v1",
275+
"ruby-cloud-env-prefix=APIGEE_CONNECT",
276+
"ruby-cloud-product-url=https://cloud.google.com/apigee/docs/hybrid/v1.4/apigee-connect",
277+
"ruby-cloud-api-id=apigeeconnect.googleapis.com",
278+
"ruby-cloud-api-shortname=apigeeconnect",
275279
],
276280
grpc_service_config = "connection_grpc_service_config.json",
281+
ruby_cloud_description = "Apigee Connect allows the Apigee hybrid management plane to connect securely to the MART service in the runtime plane without requiring you to expose the MART endpoint on the internet. If you use Apigee Connect, you do not need to configure the MART ingress gateway with a host alias and an authorized DNS certificate.",
282+
ruby_cloud_title = "Apigee Connect V1",
277283
deps = [
278284
":apigeeconnect_ruby_grpc",
279285
":apigeeconnect_ruby_proto",

google/cloud/clouddms/v1/BUILD.bazel

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,18 @@ ruby_grpc_library(
277277
ruby_cloud_gapic_library(
278278
name = "clouddms_ruby_gapic",
279279
srcs = [":clouddms_proto_with_info"],
280-
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-clouddms-v1"],
280+
extra_protoc_parameters = [
281+
"ruby-cloud-gem-name=google-cloud-cloud_dms-v1",
282+
"ruby-cloud-gem-namespace=Google::Cloud::CloudDMS::V1",
283+
"ruby-cloud-env-prefix=DATABASE_MIGRATION",
284+
"ruby-cloud-product-url=https://cloud.google.com/database-migration/",
285+
"ruby-cloud-api-id=datamigration.googleapis.com",
286+
"ruby-cloud-api-shortname=datamigration",
287+
"ruby-cloud-namespace-override=CloudDms=CloudDMS",
288+
],
281289
grpc_service_config = "library_grpc_service_config.json",
290+
ruby_cloud_description = "Database Migration Service makes it easier for you to migrate your data to Google Cloud. Database Migration Service helps you lift and shift your MySQL and PostgreSQL workloads into Cloud SQL. Database Migration Service streamlines networking workflow, manages the initial snapshot and ongoing replication, and provides a status of the migration operation.",
291+
ruby_cloud_title = "Cloud Database Migration Service V1",
282292
deps = [
283293
":clouddms_ruby_grpc",
284294
":clouddms_ruby_proto",

google/cloud/essentialcontacts/v1/BUILD.bazel

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,15 @@ ruby_cloud_gapic_library(
238238
name = "essentialcontacts_ruby_gapic",
239239
srcs = [":essentialcontacts_proto_with_info"],
240240
extra_protoc_parameters = [
241-
"ruby-cloud-gem-name=google-cloud-essentialcontacts-v1",
241+
"ruby-cloud-gem-name=google-cloud-essential_contacts-v1",
242+
"ruby-cloud-env-prefix=ESSENTIAL_CONTACTS",
243+
"ruby-cloud-product-url=https://cloud.google.com/resource-manager/docs/managing-notification-contacts/",
244+
"ruby-cloud-api-id=essentialcontacts.googleapis.com",
245+
"ruby-cloud-api-shortname=essentialcontacts",
242246
],
243247
grpc_service_config = "essentialcontacts_v1_grpc_service_config.json",
248+
ruby_cloud_description = "Many Google Cloud services, such as Cloud Billing, send out notifications to share important information with Google Cloud users. By default, these notifications are sent to members with certain Identity and Access Management (IAM) roles. With Essential Contacts, you can customize who receives notifications by providing your own list of contacts.",
249+
ruby_cloud_title = "Essential Contacts V1",
244250
deps = [
245251
":essentialcontacts_ruby_grpc",
246252
":essentialcontacts_ruby_proto",

google/cloud/eventarc/v1/BUILD.bazel

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,16 @@ ruby_grpc_library(
271271
ruby_cloud_gapic_library(
272272
name = "eventarc_ruby_gapic",
273273
srcs = [":eventarc_proto_with_info"],
274-
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-eventarc-v1"],
274+
extra_protoc_parameters = [
275+
"ruby-cloud-gem-name=google-cloud-eventarc-v1",
276+
"ruby-cloud-env-prefix=EVENTARC",
277+
"ruby-cloud-product-url=https://cloud.google.com/eventarc/",
278+
"ruby-cloud-api-id=eventarc.googleapis.com",
279+
"ruby-cloud-api-shortname=eventarc",
280+
],
275281
grpc_service_config = "eventarc_grpc_service_config.json",
282+
ruby_cloud_description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution.",
283+
ruby_cloud_title = "Eventarc V1",
276284
deps = [
277285
":eventarc_ruby_grpc",
278286
":eventarc_ruby_proto",

google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,15 @@ ruby_cloud_gapic_library(
266266
name = "gateway_ruby_gapic",
267267
srcs = [":gateway_proto_with_info"],
268268
extra_protoc_parameters = [
269-
"ruby-cloud-gem-name=google-cloud-gkeconnect-gateway-v1beta1",
269+
"ruby-cloud-gem-name=google-cloud-gke_connect-gateway-v1beta1",
270+
"ruby-cloud-env-prefix=GKE_CONNECT_GATEWAY",
271+
"ruby-cloud-product-url=https://cloud.google.com/anthos/multicluster-management/gateway/",
272+
"ruby-cloud-api-id=connectgateway.googleapis.com",
273+
"ruby-cloud-api-shortname=connectgateway",
270274
],
271275
grpc_service_config = "connectgw_grpc_service_config.json",
276+
ruby_cloud_description = "The Connect gateway builds on the power of fleets to let Anthos users connect to and run commands against registered Anthos clusters in a simple, consistent, and secured way, whether the clusters are on Google Cloud, other public clouds, or on premises, and makes it easier to automate DevOps processes across all your clusters.",
277+
ruby_cloud_title = "Connect Gateway V1beta1",
272278
deps = [
273279
":gateway_ruby_grpc",
274280
":gateway_ruby_proto",

google/cloud/gsuiteaddons/v1/BUILD.bazel

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,19 @@ ruby_grpc_library(
256256
ruby_cloud_gapic_library(
257257
name = "gsuiteaddons_ruby_gapic",
258258
srcs = [":gsuiteaddons_proto_with_info",],
259-
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-gsuiteaddons-v1"],
259+
extra_protoc_parameters = [
260+
"ruby-cloud-gem-name=google-cloud-gsuite_add_ons-v1",
261+
"ruby-cloud-gem-namespace=Google::Cloud::GSuiteAddOns::V1",
262+
"ruby-cloud-env-prefix=GSUITE_ADD_ONS",
263+
"ruby-cloud-product-url=https://developers.google.com/workspace/add-ons/",
264+
"ruby-cloud-api-id=gsuiteaddons.googleapis.com",
265+
"ruby-cloud-api-shortname=gsuiteaddons",
266+
"ruby-cloud-namespace-override=GsuiteAddOns=GSuiteAddOns",
267+
"ruby-cloud-path-override=g_suite_add_ons=gsuite_add_ons",
268+
],
260269
grpc_service_config = "gsuiteaddons_grpc_service_config.json",
270+
ruby_cloud_description = "Add-ons are customized applications that integrate with Google Workspace productivity applications.",
271+
ruby_cloud_title = "Google Workspace Add-ons V1",
261272
deps = [
262273
":gsuiteaddons_ruby_grpc",
263274
":gsuiteaddons_ruby_proto",

0 commit comments

Comments
 (0)