From e13001be33d69042a9505e698f792587a804a5cf Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 18 Feb 2021 04:46:38 -0800 Subject: [PATCH] fix: Fixes ruby gem build PiperOrigin-RevId: 358152223 --- .../clouderrorreporting/v1beta1/BUILD.bazel | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel b/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel index bb95af838201c..50c970c5ec4f2 100644 --- a/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel +++ b/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel @@ -257,7 +257,7 @@ nodejs_gapic_assembly_pkg( load( "@com_google_googleapis_imports//:imports.bzl", "ruby_gapic_assembly_pkg", - "ruby_gapic_library", + "ruby_cloud_gapic_library", "ruby_grpc_library", "ruby_proto_library", ) @@ -273,13 +273,20 @@ ruby_grpc_library( deps = [":clouderrorreporting_ruby_proto"], ) -ruby_gapic_library( +ruby_cloud_gapic_library( name = "clouderrorreporting_ruby_gapic", - src = ":clouderrorreporting_proto_with_info", + srcs = [":clouderrorreporting_proto_with_info",], + extra_protoc_parameters = [ + "ruby-cloud-gem-name=google-cloud-error_reporting-v1beta1", + "ruby-cloud-title=Cloud Error Reporting V1beta1", + "ruby-cloud-description=The Error Reporting API provides a simple endpoint to report errors from your running service, and read access to error groups and their associated errors.", + "ruby-cloud-env-prefix=ERROR_REPORTING", + "ruby-cloud-product-url=https://cloud.google.com/error-reporting", + "ruby-cloud-api-id=clouderrorreporting.googleapis.com", + "ruby-cloud-api-shortname=clouderrorreporting", + ], gapic_yaml = "errorreporting_gapic.yaml", grpc_service_config = "errorreporting_grpc_service_config.json", - package = "google.devtools.clouderrorreporting.v1beta1", - service_yaml = "clouderrorreporting_v1beta1.yaml", deps = [ ":clouderrorreporting_ruby_grpc", ":clouderrorreporting_ruby_proto",