Enum MembershipMatchingState (1.31.0)

public enum MembershipMatchingState extends Enum<MembershipMatchingState> implements ProtocolMessageEnum

Whether the principal in the request matches the principal in the policy.

Protobuf enum google.cloud.policytroubleshooter.iam.v3.MembershipMatchingState

Implements

ProtocolMessageEnum

Static Fields

NameDescription
MEMBERSHIP_MATCHED

The principal in the request matches the principal in the policy. The principal can be included directly or indirectly:

  • A principal is included directly if that principal is listed in the role binding.
  • A principal is included indirectly if that principal is in a Google group, Google Workspace account, or Cloud Identity domain that is listed in the policy.

MEMBERSHIP_MATCHED = 1;

MEMBERSHIP_MATCHED_VALUE

The principal in the request matches the principal in the policy. The principal can be included directly or indirectly:

  • A principal is included directly if that principal is listed in the role binding.
  • A principal is included indirectly if that principal is in a Google group, Google Workspace account, or Cloud Identity domain that is listed in the policy.

MEMBERSHIP_MATCHED = 1;

MEMBERSHIP_MATCHING_STATE_UNSPECIFIED

Not specified.

MEMBERSHIP_MATCHING_STATE_UNSPECIFIED = 0;

MEMBERSHIP_MATCHING_STATE_UNSPECIFIED_VALUE

Not specified.

MEMBERSHIP_MATCHING_STATE_UNSPECIFIED = 0;

MEMBERSHIP_NOT_MATCHED

The principal in the request doesn't match the principal in the policy.

MEMBERSHIP_NOT_MATCHED = 2;

MEMBERSHIP_NOT_MATCHED_VALUE

The principal in the request doesn't match the principal in the policy.

MEMBERSHIP_NOT_MATCHED = 2;

MEMBERSHIP_UNKNOWN_INFO

The principal in the policy is a group or domain, and the sender of the request doesn't have permission to view whether the principal in the request is a member of the group or domain.

MEMBERSHIP_UNKNOWN_INFO = 3;

MEMBERSHIP_UNKNOWN_INFO_VALUE

The principal in the policy is a group or domain, and the sender of the request doesn't have permission to view whether the principal in the request is a member of the group or domain.

MEMBERSHIP_UNKNOWN_INFO = 3;

MEMBERSHIP_UNKNOWN_UNSUPPORTED

The principal is an unsupported type.

MEMBERSHIP_UNKNOWN_UNSUPPORTED = 4;

MEMBERSHIP_UNKNOWN_UNSUPPORTED_VALUE

The principal is an unsupported type.

MEMBERSHIP_UNKNOWN_UNSUPPORTED = 4;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()