From 7e0c392492fd9524a427bbb8e5745822fe56ef3d Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 21 Aug 2023 10:10:58 -0600 Subject: [PATCH] chore(notebooks): add config to generate apiv2 --- .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 c5a8c8b0b183..4cd9ebce271b 100644 --- a/.github/.OwlBot.yaml +++ b/.github/.OwlBot.yaml @@ -263,6 +263,7 @@ deep-remove-regex: - /internal/generated/snippets/networksecurity/apiv1beta1/ - /internal/generated/snippets/notebooks/apiv1/ - /internal/generated/snippets/notebooks/apiv1beta1/ + - /internal/generated/snippets/notebooks/apiv2/ - /internal/generated/snippets/optimization/apiv1/ - /internal/generated/snippets/orchestration/airflow/service/apiv1/ - /internal/generated/snippets/orgpolicy/apiv2/ @@ -379,6 +380,7 @@ deep-remove-regex: - /networksecurity/apiv1beta1/ - /notebooks/apiv1/ - /notebooks/apiv1beta1/ + - /notebooks/apiv2/ - /optimization/apiv1/ - /orchestration/airflow/service/apiv1/ - /orgpolicy/apiv1/ @@ -801,6 +803,8 @@ deep-copy-regex: dest: / - source: /google/cloud/notebooks/v1beta1/cloud.google.com/go dest: / + - source: /google/cloud/notebooks/v2/cloud.google.com/go + dest: / - source: /google/cloud/optimization/v1/cloud.google.com/go dest: / - source: /google/cloud/orchestration/airflow/service/v1/cloud.google.com/go diff --git a/internal/postprocessor/config.yaml b/internal/postprocessor/config.yaml index 661246920447..dcfd4b3356fe 100644 --- a/internal/postprocessor/config.yaml +++ b/internal/postprocessor/config.yaml @@ -612,6 +612,9 @@ service-configs: - input-directory: google/cloud/notebooks/v1beta1 service-config: notebooks_v1beta1.yaml import-path: cloud.google.com/go/notebooks/apiv1beta1 + - input-directory: google/cloud/notebooks/v2 + service-config: notebooks_v2.yaml + import-path: cloud.google.com/go/notebooks/apiv2 - input-directory: google/cloud/optimization/v1 service-config: cloudoptimization_v1.yaml import-path: cloud.google.com/go/optimization/apiv1