From e36f8f1822d1290b984a8ae57efedd0276ca39f5 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 21 Apr 2023 16:35:27 -0400 Subject: [PATCH] docs: update routing annotations for CancelResumableWriteRequest and QueryWriteStatusRequest (#1992) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: update routing annotations for CancelResumableWriteRequest and QueryWriteStatusRequest PiperOrigin-RevId: 526066043 Source-Link: https://github.com/googleapis/googleapis/commit/c87b67d9c2c993621399d1fdc8e6f82d6fe39ee8 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 --- .../main/java/com/google/storage/v2/stub/GrpcStorageStub.java | 4 ++-- .../src/main/java/com/google/storage/v2/StorageProto.java | 4 ++-- .../src/main/proto/google/storage/v2/storage.proto | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java index d9519f9f9..bf3d10640 100644 --- a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java +++ b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java @@ -472,7 +472,7 @@ public class GrpcStorageStub extends StorageStub { private static final PathTemplate DELETE_OBJECT_0_PATH_TEMPLATE = PathTemplate.create("{bucket=**}"); private static final PathTemplate CANCEL_RESUMABLE_WRITE_0_PATH_TEMPLATE = - PathTemplate.create("{bucket=projects/*/buckets/*}:**"); + PathTemplate.create("{bucket=projects/*/buckets/*}/**"); private static final PathTemplate GET_OBJECT_0_PATH_TEMPLATE = PathTemplate.create("{bucket=**}"); private static final PathTemplate READ_OBJECT_0_PATH_TEMPLATE = PathTemplate.create("{bucket=**}"); @@ -487,7 +487,7 @@ public class GrpcStorageStub extends StorageStub { private static final PathTemplate START_RESUMABLE_WRITE_0_PATH_TEMPLATE = PathTemplate.create("{bucket=**}"); private static final PathTemplate QUERY_WRITE_STATUS_0_PATH_TEMPLATE = - PathTemplate.create("{bucket=projects/*/buckets/*}:**"); + PathTemplate.create("{bucket=projects/*/buckets/*}/**"); private static final PathTemplate GET_SERVICE_ACCOUNT_0_PATH_TEMPLATE = PathTemplate.create("{project=**}"); private static final PathTemplate CREATE_HMAC_KEY_0_PATH_TEMPLATE = diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java index 66b7a005a..a6a8af989 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java @@ -811,7 +811,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ncelResumableWriteRequest\032/.google.stora" + "ge.v2.CancelResumableWriteResponse\"A\212\323\344\223" + "\002/\022-\n\tupload_id\022 {bucket=projects/*/buck" - + "ets/*}:**\332A\tupload_id\022\225\001\n\tGetObject\022#.go" + + "ets/*}/**\332A\tupload_id\022\225\001\n\tGetObject\022#.go" + "ogle.storage.v2.GetObjectRequest\032\031.googl" + "e.storage.v2.Object\"H\212\323\344\223\002\027\022\025\n\006bucket\022\013{" + "bucket=**}\332A\rbucket,object\332A\030bucket,obje" @@ -841,7 +841,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "storage.v2.QueryWriteStatusRequest\032+.goo" + "gle.storage.v2.QueryWriteStatusResponse\"" + "A\212\323\344\223\002/\022-\n\tupload_id\022 {bucket=projects/*" - + "/buckets/*}:**\332A\tupload_id\022\200\001\n\021GetServic" + + "/buckets/*}/**\332A\tupload_id\022\200\001\n\021GetServic" + "eAccount\022+.google.storage.v2.GetServiceA" + "ccountRequest\032!.google.storage.v2.Servic" + "eAccount\"\033\212\323\344\223\002\013\022\t\n\007project\332A\007project\022\225\001" diff --git a/proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto b/proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto index f5053eaed..02d78323b 100644 --- a/proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto +++ b/proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto @@ -252,7 +252,7 @@ service Storage { option (google.api.routing) = { routing_parameters { field: "upload_id" - path_template: "{bucket=projects/*/buckets/*}:**" + path_template: "{bucket=projects/*/buckets/*}/**" } }; option (google.api.method_signature) = "upload_id"; @@ -391,7 +391,7 @@ service Storage { option (google.api.routing) = { routing_parameters { field: "upload_id" - path_template: "{bucket=projects/*/buckets/*}:**" + path_template: "{bucket=projects/*/buckets/*}/**" } }; option (google.api.method_signature) = "upload_id";