Interface IamPolicyAnalysisQuery.IdentitySelectorOrBuilder (3.20.0)

public static interface IamPolicyAnalysisQuery.IdentitySelectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdentity()

public abstract String getIdentity()

Required. The identity appear in the form of principals in IAM policy binding. The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.

string identity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The identity.

getIdentityBytes()

public abstract ByteString getIdentityBytes()

Required. The identity appear in the form of principals in IAM policy binding. The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.

string identity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for identity.