Google Cloud Policy Simulator V1 Client - Class AccessChangeType (0.2.5)

Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class AccessChangeType.

How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.

Protobuf type google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType

Namespace

Google \ Cloud \ PolicySimulator \ V1 \ AccessStateDiff

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ACCESS_CHANGE_TYPE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum ACCESS_CHANGE_TYPE_UNSPECIFIED = 0;

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.

Generated from protobuf enum NO_CHANGE = 1;

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.

Generated from protobuf enum UNKNOWN_CHANGE = 2;

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).

Generated from protobuf enum ACCESS_REVOKED = 3;

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).

Generated from protobuf enum ACCESS_GAINED = 4;

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 is UNKNOWN.

  • The principal's access under the current policies is UNKNOWN, but they will not have access after the proposed changes (NOT_GRANTED).

Generated from protobuf enum ACCESS_MAYBE_REVOKED = 5;

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 is UNKNOWN.

  • The principal's access under the current policies is UNKNOWN, but they will have access after the proposed changes (GRANTED).

Generated from protobuf enum ACCESS_MAYBE_GAINED = 6;