Skip to content

Commit 445f9a3

Browse files
feat: [privilegedaccessmanager] Introducing new Grant states for Withdrawal operation (#6550)
* feat: Introducing new Grant states for Withdrawal operation PiperOrigin-RevId: 789206965 Source-Link: googleapis/googleapis@fb0d2d7 Source-Link: googleapis/googleapis-gen@fc7a38c Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXByaXZpbGVnZWRhY2Nlc3NtYW5hZ2VyLy5Pd2xCb3QueWFtbCIsImgiOiJmYzdhMzhjM2I3ZmIwOGQzN2E2MTNmMjI5NTQzNDNkYzMwNDQzODMyIn0= * 🦉 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>
1 parent 7c4f983 commit 445f9a3

4 files changed

Lines changed: 2865 additions & 159 deletions

File tree

packages/google-cloud-privilegedaccessmanager/protos/google/cloud/privilegedaccessmanager/v1/privilegedaccessmanager.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,9 @@ message Grant {
845845
string actor = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
846846
}
847847

848+
// An event representing that the grant was withdrawn.
849+
message Withdrawn {}
850+
848851
// An event representing that the grant has been scheduled to be
849852
// activated later.
850853
message Scheduled {
@@ -905,6 +908,9 @@ message Grant {
905908

906909
// The policy bindings made by grant have been modified outside of PAM.
907910
ExternallyModified externally_modified = 12;
911+
912+
// The grant was withdrawn.
913+
Withdrawn withdrawn = 13;
908914
}
909915

910916
// Output only. The time (as recorded at server) when this event occurred.
@@ -973,6 +979,12 @@ message Grant {
973979
// System took back access as the requested duration was over. This is a
974980
// terminal state.
975981
ENDED = 11;
982+
983+
// Access is being withdrawn.
984+
WITHDRAWING = 12;
985+
986+
// Grant was withdrawn by the grant owner. This is a terminal state.
987+
WITHDRAWN = 13;
976988
}
977989

978990
// Identifier. Name of this grant.

0 commit comments

Comments
 (0)