Skip to content

Commit

Permalink
chore(securitycenter): add config to generate apiv2 (#9549)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 613632579
  • Loading branch information
quartzmo authored Mar 11, 2024
1 parent 3f4d7c2 commit 74dcd1f
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 @@ -332,6 +332,7 @@ deep-remove-regex:
- /internal/generated/snippets/securitycenter/apiv1/
- /internal/generated/snippets/securitycenter/apiv1beta1/
- /internal/generated/snippets/securitycenter/apiv1p1beta1/
- /internal/generated/snippets/securitycenter/apiv2/
- /internal/generated/snippets/securitycenter/settings/apiv1beta1/
- /internal/generated/snippets/securitycentermanagement/apiv1/
- /internal/generated/snippets/securityposture/apiv1/
Expand Down Expand Up @@ -462,6 +463,7 @@ deep-remove-regex:
- /securitycenter/apiv1/
- /securitycenter/apiv1beta1/
- /securitycenter/apiv1p1beta1/
- /securitycenter/apiv2/
- /securitycenter/settings/apiv1beta1/
- /securitycentermanagement/apiv1/
- /securityposture/apiv1/
Expand Down Expand Up @@ -975,6 +977,8 @@ deep-copy-regex:
dest: /
- source: /google/cloud/securitycenter/v1p1beta1/cloud.google.com/go
dest: /
- source: /google/cloud/securitycenter/v2/cloud.google.com/go
dest: /
- source: /google/cloud/securitycenter/settings/v1beta1/cloud.google.com/go
dest: /
- source: /google/cloud/securitycentermanagement/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 @@ -799,6 +799,9 @@ service-configs:
- input-directory: google/cloud/securitycenter/v1p1beta1
service-config: securitycenter_v1p1beta1.yaml
import-path: cloud.google.com/go/securitycenter/apiv1p1beta1
- input-directory: google/cloud/securitycenter/v2
service-config: securitycenter_v2.yaml
import-path: cloud.google.com/go/securitycenter/apiv2
- input-directory: google/cloud/securitycentermanagement/v1
service-config: securitycentermanagement_v1.yaml
import-path: cloud.google.com/go/securitycentermanagement/apiv1
Expand Down

0 comments on commit 74dcd1f

Please sign in to comment.