Interface IamPolicyAnalysisResult.IdentityOrBuilder (3.21.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 name in any form of members appear in IAM policy binding, such as:

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

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The identity name in any form of members appear in IAM policy binding, such as:

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

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.