Reference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::PolicySimulator::V1::AccessStateDiff::AccessChangeType.
How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
Constants
ACCESS_CHANGE_TYPE_UNSPECIFIED
value: 0
Default value. This value is unused.
NO_CHANGE
value: 1
The principal's access did not change.
This includes the case where both baseline and simulated are UNKNOWN,
but the unknown information is equivalent.
UNKNOWN_CHANGE
value: 2
The principal's access under both the current policies and the proposed
policies is UNKNOWN
, but the unknown information differs between them.
ACCESS_REVOKED
value: 3
The principal had access under the current policies (GRANTED
), but will
no longer have access after the proposed changes (NOT_GRANTED
).
ACCESS_GAINED
value: 4
The principal did not have access under the current policies
(NOT_GRANTED
), but will have access after the proposed changes
(GRANTED
).
ACCESS_MAYBE_REVOKED
value: 5
This result can occur for the following reasons:
The principal had access under the current policies (
GRANTED
), but their access after the proposed changes isUNKNOWN
.The principal's access under the current policies is
UNKNOWN
, but they will not have access after the proposed changes (NOT_GRANTED
).
ACCESS_MAYBE_GAINED
value: 6
This result can occur for the following reasons:
The principal did not have access under the current policies (
NOT_GRANTED
), but their access after the proposed changes isUNKNOWN
.The principal's access under the current policies is
UNKNOWN
, but they will have access after the proposed changes (GRANTED
).