Skip to content

Commit e36f8f1

Browse files
docs: update routing annotations for CancelResumableWriteRequest and QueryWriteStatusRequest (#1992)
* docs: update routing annotations for CancelResumableWriteRequest and QueryWriteStatusRequest PiperOrigin-RevId: 526066043 Source-Link: googleapis/googleapis@c87b67d Source-Link: https://github.com/googleapis/googleapis-gen/commit/791b51688aa2f10e07614840908c2affb92b9317 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzkxYjUxNjg4YWEyZjEwZTA3NjE0ODQwOTA4YzJhZmZiOTJiOTMxNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a52bb37 commit e36f8f1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ public class GrpcStorageStub extends StorageStub {
472472
private static final PathTemplate DELETE_OBJECT_0_PATH_TEMPLATE =
473473
PathTemplate.create("{bucket=**}");
474474
private static final PathTemplate CANCEL_RESUMABLE_WRITE_0_PATH_TEMPLATE =
475-
PathTemplate.create("{bucket=projects/*/buckets/*}:**");
475+
PathTemplate.create("{bucket=projects/*/buckets/*}/**");
476476
private static final PathTemplate GET_OBJECT_0_PATH_TEMPLATE = PathTemplate.create("{bucket=**}");
477477
private static final PathTemplate READ_OBJECT_0_PATH_TEMPLATE =
478478
PathTemplate.create("{bucket=**}");
@@ -487,7 +487,7 @@ public class GrpcStorageStub extends StorageStub {
487487
private static final PathTemplate START_RESUMABLE_WRITE_0_PATH_TEMPLATE =
488488
PathTemplate.create("{bucket=**}");
489489
private static final PathTemplate QUERY_WRITE_STATUS_0_PATH_TEMPLATE =
490-
PathTemplate.create("{bucket=projects/*/buckets/*}:**");
490+
PathTemplate.create("{bucket=projects/*/buckets/*}/**");
491491
private static final PathTemplate GET_SERVICE_ACCOUNT_0_PATH_TEMPLATE =
492492
PathTemplate.create("{project=**}");
493493
private static final PathTemplate CREATE_HMAC_KEY_0_PATH_TEMPLATE =

proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
811811
+ "ncelResumableWriteRequest\032/.google.stora"
812812
+ "ge.v2.CancelResumableWriteResponse\"A\212\323\344\223"
813813
+ "\002/\022-\n\tupload_id\022 {bucket=projects/*/buck"
814-
+ "ets/*}:**\332A\tupload_id\022\225\001\n\tGetObject\022#.go"
814+
+ "ets/*}/**\332A\tupload_id\022\225\001\n\tGetObject\022#.go"
815815
+ "ogle.storage.v2.GetObjectRequest\032\031.googl"
816816
+ "e.storage.v2.Object\"H\212\323\344\223\002\027\022\025\n\006bucket\022\013{"
817817
+ "bucket=**}\332A\rbucket,object\332A\030bucket,obje"
@@ -841,7 +841,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
841841
+ "storage.v2.QueryWriteStatusRequest\032+.goo"
842842
+ "gle.storage.v2.QueryWriteStatusResponse\""
843843
+ "A\212\323\344\223\002/\022-\n\tupload_id\022 {bucket=projects/*"
844-
+ "/buckets/*}:**\332A\tupload_id\022\200\001\n\021GetServic"
844+
+ "/buckets/*}/**\332A\tupload_id\022\200\001\n\021GetServic"
845845
+ "eAccount\022+.google.storage.v2.GetServiceA"
846846
+ "ccountRequest\032!.google.storage.v2.Servic"
847847
+ "eAccount\"\033\212\323\344\223\002\013\022\t\n\007project\332A\007project\022\225\001"

proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto

+2-2
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)