Skip to content

Commit c87b67d

Browse files
Google APIscopybara-github
authored andcommitted
docs: update routing annotations for CancelResumableWriteRequest and QueryWriteStatusRequest
PiperOrigin-RevId: 526066043
1 parent ef353f4 commit c87b67d

2 files changed

Lines changed: 39 additions & 39 deletions

File tree

google/storage/v2/BUILD.bazel

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ load(
3535
"proto_library_with_info",
3636
"py_gapic_assembly_pkg",
3737
"py_gapic_library",
38-
#"ruby_cloud_gapic_library",
39-
#"ruby_gapic_assembly_pkg",
40-
#"ruby_grpc_library",
41-
#"ruby_proto_library",
38+
"ruby_cloud_gapic_library",
39+
"ruby_gapic_assembly_pkg",
40+
"ruby_grpc_library",
41+
"ruby_proto_library",
4242
)
4343

4444
# This is an API workspace, having public visibility by default makes perfect sense.
@@ -257,39 +257,39 @@ nodejs_gapic_assembly_pkg(
257257
],
258258
)
259259

260-
#ruby_proto_library(
261-
# name = "storage_ruby_proto",
262-
# deps = [":storage_proto"],
263-
#)
264-
#
265-
#ruby_grpc_library(
266-
# name = "storage_ruby_grpc",
267-
# srcs = [":storage_proto"],
268-
# deps = [":storage_ruby_proto"],
269-
#)
270-
#
271-
#ruby_cloud_gapic_library(
272-
# name = "storage_ruby_gapic",
273-
# srcs = [":storage_proto_with_info"],
274-
# extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-storage-v2"],
275-
# grpc_service_config = "storage_grpc_service_config.json",
276-
# rest_numeric_enums = True,
277-
# service_yaml = "storage_v2.yaml",
278-
# deps = [
279-
# ":storage_ruby_grpc",
280-
# ":storage_ruby_proto",
281-
# ],
282-
#)
283-
#
284-
## Open Source Packages
285-
#ruby_gapic_assembly_pkg(
286-
# name = "google-cloud-storage-v2-ruby",
287-
# deps = [
288-
# ":storage_ruby_gapic",
289-
# ":storage_ruby_grpc",
290-
# ":storage_ruby_proto",
291-
# ],
292-
#)
260+
ruby_proto_library(
261+
name = "storage_ruby_proto",
262+
deps = [":storage_proto"],
263+
)
264+
265+
ruby_grpc_library(
266+
name = "storage_ruby_grpc",
267+
srcs = [":storage_proto"],
268+
deps = [":storage_ruby_proto"],
269+
)
270+
271+
ruby_cloud_gapic_library(
272+
name = "storage_ruby_gapic",
273+
srcs = [":storage_proto_with_info"],
274+
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-storage-v2"],
275+
grpc_service_config = "storage_grpc_service_config.json",
276+
rest_numeric_enums = True,
277+
service_yaml = "storage_v2.yaml",
278+
deps = [
279+
":storage_ruby_grpc",
280+
":storage_ruby_proto",
281+
],
282+
)
283+
284+
# Open Source Packages
285+
ruby_gapic_assembly_pkg(
286+
name = "google-cloud-storage-v2-ruby",
287+
deps = [
288+
":storage_ruby_gapic",
289+
":storage_ruby_grpc",
290+
":storage_ruby_proto",
291+
],
292+
)
293293

294294
##############################################################################
295295
# C#

google/storage/v2/storage.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ service Storage {
252252
option (google.api.routing) = {
253253
routing_parameters {
254254
field: "upload_id"
255-
path_template: "{bucket=projects/*/buckets/*}:**"
255+
path_template: "{bucket=projects/*/buckets/*}/**"
256256
}
257257
};
258258
option (google.api.method_signature) = "upload_id";
@@ -391,7 +391,7 @@ service Storage {
391391
option (google.api.routing) = {
392392
routing_parameters {
393393
field: "upload_id"
394-
path_template: "{bucket=projects/*/buckets/*}:**"
394+
path_template: "{bucket=projects/*/buckets/*}/**"
395395
}
396396
};
397397
option (google.api.method_signature) = "upload_id";

0 commit comments

Comments
 (0)