Skip to content

Commit e13001b

Browse files
Google APIscopybara-github
authored andcommitted
fix: Fixes ruby gem build
PiperOrigin-RevId: 358152223
1 parent d8d59fb commit e13001b

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

google/devtools/clouderrorreporting/v1beta1/BUILD.bazel

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ nodejs_gapic_assembly_pkg(
257257
load(
258258
"@com_google_googleapis_imports//:imports.bzl",
259259
"ruby_gapic_assembly_pkg",
260-
"ruby_gapic_library",
260+
"ruby_cloud_gapic_library",
261261
"ruby_grpc_library",
262262
"ruby_proto_library",
263263
)
@@ -273,13 +273,20 @@ ruby_grpc_library(
273273
deps = [":clouderrorreporting_ruby_proto"],
274274
)
275275

276-
ruby_gapic_library(
276+
ruby_cloud_gapic_library(
277277
name = "clouderrorreporting_ruby_gapic",
278-
src = ":clouderrorreporting_proto_with_info",
278+
srcs = [":clouderrorreporting_proto_with_info",],
279+
extra_protoc_parameters = [
280+
"ruby-cloud-gem-name=google-cloud-error_reporting-v1beta1",
281+
"ruby-cloud-title=Cloud Error Reporting V1beta1",
282+
"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.",
283+
"ruby-cloud-env-prefix=ERROR_REPORTING",
284+
"ruby-cloud-product-url=https://cloud.google.com/error-reporting",
285+
"ruby-cloud-api-id=clouderrorreporting.googleapis.com",
286+
"ruby-cloud-api-shortname=clouderrorreporting",
287+
],
279288
gapic_yaml = "errorreporting_gapic.yaml",
280289
grpc_service_config = "errorreporting_grpc_service_config.json",
281-
package = "google.devtools.clouderrorreporting.v1beta1",
282-
service_yaml = "clouderrorreporting_v1beta1.yaml",
283290
deps = [
284291
":clouderrorreporting_ruby_grpc",
285292
":clouderrorreporting_ruby_proto",

0 commit comments

Comments
 (0)