Skip to content

Commit

Permalink
chore(notebooks): add config to generate apiv2 (#8454)
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzmo committed Aug 21, 2023
1 parent aa13d97 commit 28af108
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -379,6 +380,7 @@ deep-remove-regex:
- /networksecurity/apiv1beta1/
- /notebooks/apiv1/
- /notebooks/apiv1beta1/
- /notebooks/apiv2/
- /optimization/apiv1/
- /orchestration/airflow/service/apiv1/
- /orgpolicy/apiv1/
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions internal/postprocessor/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28af108

Please sign in to comment.