From 106174a6a41bc9ca48c70bcc2325bcaaaa2e9488 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 19 Aug 2024 15:16:42 -0600 Subject: [PATCH] chore(apihub): add config to generate apiv1 (#10701) PiperOrigin-RevId: 658810011 --- .github/.OwlBot.yaml | 4 ++++ internal/postprocessor/config.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/.OwlBot.yaml b/.github/.OwlBot.yaml index 28a18aea01ae..4b04abb9fec4 100644 --- a/.github/.OwlBot.yaml +++ b/.github/.OwlBot.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - /apigateway/apiv1/ - /apigeeconnect/apiv1/ - /apigeeregistry/apiv1/ + - /apihub/apiv1/ - /apikeys/apiv2/ - /appengine/apiv1/ - /apphub/apiv1/ @@ -154,6 +155,7 @@ deep-remove-regex: - /internal/generated/snippets/apigateway/apiv1/ - /internal/generated/snippets/apigeeconnect/apiv1/ - /internal/generated/snippets/apigeeregistry/apiv1/ + - /internal/generated/snippets/apihub/apiv1/ - /internal/generated/snippets/apikeys/apiv2/ - /internal/generated/snippets/appengine/apiv1/ - /internal/generated/snippets/apphub/apiv1/ @@ -647,6 +649,8 @@ deep-copy-regex: dest: / - source: /google/cloud/asset/v1p5beta1/cloud.google.com/go dest: / + - source: /google/cloud/apihub/v1/cloud.google.com/go + dest: / - source: /google/api/apikeys/v2/cloud.google.com/go dest: / - source: /google/api/cloudquotas/v1/cloud.google.com/go diff --git a/internal/postprocessor/config.yaml b/internal/postprocessor/config.yaml index 6ca140c39912..d34a1b809418 100644 --- a/internal/postprocessor/config.yaml +++ b/internal/postprocessor/config.yaml @@ -9,6 +9,7 @@ modules: - apigateway - apigeeconnect - apigeeregistry + - apihub - apikeys - appengine - apphub @@ -352,6 +353,9 @@ service-configs: - input-directory: google/cloud/apigeeregistry/v1 service-config: apigeeregistry_v1.yaml import-path: cloud.google.com/go/apigeeregistry/apiv1 + - input-directory: google/cloud/apihub/v1 + service-config: apihub_v1.yaml + import-path: cloud.google.com/go/apihub/apiv1 - input-directory: google/cloud/apphub/v1 service-config: apphub_v1.yaml import-path: cloud.google.com/go/apphub/apiv1