Skip to content

Commit fb0d2d7

Browse files
Google APIscopybara-github
authored andcommitted
feat: Introducing new Grant states for Withdrawal operation
PiperOrigin-RevId: 789206965
1 parent e468628 commit fb0d2d7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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)