Policy Troubleshooter V3 API - Module Google::Cloud::PolicyTroubleshooter::Iam::V3::MembershipMatchingState (v0.3.2)

Reference documentation and code samples for the Policy Troubleshooter V3 API module Google::Cloud::PolicyTroubleshooter::Iam::V3::MembershipMatchingState.

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

Constants

MEMBERSHIP_MATCHING_STATE_UNSPECIFIED

value: 0
Not specified.

MEMBERSHIP_MATCHED

value: 1

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_NOT_MATCHED

value: 2
The principal in the request doesn't match the principal in the policy.

MEMBERSHIP_UNKNOWN_INFO

value: 3
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_UNSUPPORTED

value: 4
The principal is an unsupported type.