From ce18838fb5d8d3adfcf29d60503e208d6f68025b Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Wed, 20 Mar 2024 09:30:16 -0600 Subject: [PATCH] chore(storage/control): add config to generate apiv2 (#9613) This reverts commit 698919640f56f8aacd47ee825da507d5a2f3ce23. PiperOrigin-RevId: 616205855 --- .github/.OwlBot.yaml | 4 ++++ internal/postprocessor/config.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/.OwlBot.yaml b/.github/.OwlBot.yaml index c832477d6ce7..de75a5978466 100644 --- a/.github/.OwlBot.yaml +++ b/.github/.OwlBot.yaml @@ -354,6 +354,7 @@ deep-remove-regex: - /internal/generated/snippets/speech/apiv1/ - /internal/generated/snippets/speech/apiv1p1beta1/ - /internal/generated/snippets/speech/apiv2/ + - /internal/generated/snippets/storage/control/apiv2/ - /internal/generated/snippets/storageinsights/apiv1/ - /internal/generated/snippets/storagetransfer/apiv1/ - /internal/generated/snippets/support/apiv2/ @@ -488,6 +489,7 @@ deep-remove-regex: - /speech/apiv1/ - /speech/apiv1p1beta1/ - /speech/apiv2/ + - /storage/control/apiv2/ - /storage/internal/apiv2/ - /storageinsights/apiv1/ - /storagetransfer/apiv1/ @@ -1027,6 +1029,8 @@ deep-copy-regex: dest: / - source: /google/cloud/speech/v2/cloud.google.com/go dest: / + - source: /google/storage/control/v2/cloud.google.com/go/ + dest: / - source: /google/storage/v2/cloud.google.com/go/storage/internal/apiv2 dest: /storage/internal/apiv2 - source: /google/cloud/storageinsights/v1/cloud.google.com/go diff --git a/internal/postprocessor/config.yaml b/internal/postprocessor/config.yaml index a5191a27460d..35566ff9d29d 100644 --- a/internal/postprocessor/config.yaml +++ b/internal/postprocessor/config.yaml @@ -1060,6 +1060,9 @@ service-configs: - input-directory: google/spanner/executor/v1 service-config: spanner_cloud_executor.yaml import-path: cloud.google.com/go/spanner/executor/apiv1 + - input-directory: google/storage/control/v2 + service-config: storage_v2.yaml + import-path: cloud.google.com/go/storage/control/apiv2 - input-directory: google/storage/v2 service-config: storage_v2.yaml import-path: cloud.google.com/go/storage/internal/apiv2