Interface IamPolicyAnalysisQuery.IdentitySelectorOrBuilder (3.4.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
TypeDescription
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
TypeDescription
ByteString

The bytes for identity.