Enum AccessStateDiff.AccessChangeType (0.34.0)

public enum AccessStateDiff.AccessChangeType extends Enum<AccessStateDiff.AccessChangeType> implements ProtocolMessageEnum

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

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACCESS_CHANGE_TYPE_UNSPECIFIED

Default value. This value is unused.

ACCESS_CHANGE_TYPE_UNSPECIFIED = 0;

ACCESS_CHANGE_TYPE_UNSPECIFIED_VALUE

Default value. This value is unused.

ACCESS_CHANGE_TYPE_UNSPECIFIED = 0;

ACCESS_GAINED

The principal did not have access under the current policies (NOT_GRANTED), but will have access after the proposed changes (GRANTED).

ACCESS_GAINED = 4;

ACCESS_GAINED_VALUE

The principal did not have access under the current policies (NOT_GRANTED), but will have access after the proposed changes (GRANTED).

ACCESS_GAINED = 4;

ACCESS_MAYBE_GAINED

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

ACCESS_MAYBE_GAINED = 6;

ACCESS_MAYBE_GAINED_VALUE

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

ACCESS_MAYBE_GAINED = 6;

ACCESS_MAYBE_REVOKED

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

ACCESS_MAYBE_REVOKED = 5;

ACCESS_MAYBE_REVOKED_VALUE

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

ACCESS_MAYBE_REVOKED = 5;

ACCESS_REVOKED

The principal had access under the current policies (GRANTED), but will no longer have access after the proposed changes (NOT_GRANTED).

ACCESS_REVOKED = 3;

ACCESS_REVOKED_VALUE

The principal had access under the current policies (GRANTED), but will no longer have access after the proposed changes (NOT_GRANTED).

ACCESS_REVOKED = 3;

NO_CHANGE

The principal's access did not change. This includes the case where both baseline and simulated are UNKNOWN, but the unknown information is equivalent.

NO_CHANGE = 1;

NO_CHANGE_VALUE

The principal's access did not change. This includes the case where both baseline and simulated are UNKNOWN, but the unknown information is equivalent.

NO_CHANGE = 1;

UNKNOWN_CHANGE

The principal's access under both the current policies and the proposed policies is UNKNOWN, but the unknown information differs between them.

UNKNOWN_CHANGE = 2;

UNKNOWN_CHANGE_VALUE

The principal's access under both the current policies and the proposed policies is UNKNOWN, but the unknown information differs between them.

UNKNOWN_CHANGE = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()