Skip to content

Commit

Permalink
feat: [orgpolicy] Support adding constraints to new method types REMO…
Browse files Browse the repository at this point in the history
…VE_GRANTS and GOVERN_TAGS (#5687)

* feat: Support adding constraints to new method types REMOVE_GRANTS and GOVERN_TAGS

PiperOrigin-RevId: 675680963

Source-Link: googleapis/googleapis@0a87fe7

Source-Link: googleapis/googleapis-gen@a490100
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW9yZ3BvbGljeS8uT3dsQm90LnlhbWwiLCJoIjoiYTQ5MDEwMDE5ZjQyY2MyNzMzNjM3NDZmNTQ4ZmZkZGU5MDRhMjA1NyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Sep 20, 2024
1 parent 8f2a389 commit 8661267
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ message CustomConstraint {
// Constraint applied when deleting the resource.
// Not supported yet.
DELETE = 3;

// Constraint applied when removing an IAM grant.
REMOVE_GRANT = 4;

// Constraint applied when enforcing forced tagging.
GOVERN_TAGS = 5;
}

// Allow or deny type.
Expand Down
4 changes: 3 additions & 1 deletion packages/google-cloud-orgpolicy/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions packages/google-cloud-orgpolicy/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion packages/google-cloud-orgpolicy/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8661267

Please sign in to comment.