Interface IamPolicyAnalysisResult.IdentityOrBuilder (3.33.0)

public static interface IamPolicyAnalysisResult.IdentityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnalysisState()

public abstract IamPolicyAnalysisState getAnalysisState()

The analysis state of this identity.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;

Returns
Type Description
IamPolicyAnalysisState

The analysisState.

getAnalysisStateOrBuilder()

public abstract IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder()

The analysis state of this identity.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;

Returns
Type Description
IamPolicyAnalysisStateOrBuilder

getName()

public abstract String getName()

The identity of members, formatted as appear in an IAM policy binding. For example, they might be formatted like the following:

  • user:foo@google.com
  • group:group1@google.com
  • serviceAccount:s1@prj1.iam.gserviceaccount.com
  • projectOwner:some_project_id
  • domain:google.com
  • allUsers

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The identity of members, formatted as appear in an IAM policy binding. For example, they might be formatted like the following:

  • user:foo@google.com
  • group:group1@google.com
  • serviceAccount:s1@prj1.iam.gserviceaccount.com
  • projectOwner:some_project_id
  • domain:google.com
  • allUsers

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasAnalysisState()

public abstract boolean hasAnalysisState()

The analysis state of this identity.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;

Returns
Type Description
boolean

Whether the analysisState field is set.