Interface IamPolicyAnalysisQueryOrBuilder (3.11.0)

public interface IamPolicyAnalysisQueryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessSelector()

public abstract IamPolicyAnalysisQuery.AccessSelector getAccessSelector()

Optional. Specifies roles or permissions for analysis. This is optional.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.AccessSelector

The accessSelector.

getAccessSelectorOrBuilder()

public abstract IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder()

Optional. Specifies roles or permissions for analysis. This is optional.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.AccessSelectorOrBuilder

getConditionContext()

public abstract IamPolicyAnalysisQuery.ConditionContext getConditionContext()

Optional. The hypothetical context for IAM conditions evaluation.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext

The conditionContext.

getConditionContextOrBuilder()

public abstract IamPolicyAnalysisQuery.ConditionContextOrBuilder getConditionContextOrBuilder()

Optional. The hypothetical context for IAM conditions evaluation.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.ConditionContextOrBuilder

getIdentitySelector()

public abstract IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector()

Optional. Specifies an identity for analysis.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.IdentitySelector

The identitySelector.

getIdentitySelectorOrBuilder()

public abstract IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder()

Optional. Specifies an identity for analysis.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.IdentitySelectorOrBuilder

getOptions()

public abstract IamPolicyAnalysisQuery.Options getOptions()

Optional. The query options.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.Options

The options.

getOptionsOrBuilder()

public abstract IamPolicyAnalysisQuery.OptionsOrBuilder getOptionsOrBuilder()

Optional. The query options.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.OptionsOrBuilder

getResourceSelector()

public abstract IamPolicyAnalysisQuery.ResourceSelector getResourceSelector()

Optional. Specifies a resource for analysis.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.ResourceSelector

The resourceSelector.

getResourceSelectorOrBuilder()

public abstract IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder()

Optional. Specifies a resource for analysis.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IamPolicyAnalysisQuery.ResourceSelectorOrBuilder

getScope()

public abstract String getScope()

Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit here . To know how to get folder or project id, visit here .

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

Returns
Type Description
String

The scope.

getScopeBytes()

public abstract ByteString getScopeBytes()

Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit here . To know how to get folder or project id, visit here .

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

Returns
Type Description
ByteString

The bytes for scope.

hasAccessSelector()

public abstract boolean hasAccessSelector()

Optional. Specifies roles or permissions for analysis. This is optional.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the accessSelector field is set.

hasConditionContext()

public abstract boolean hasConditionContext()

Optional. The hypothetical context for IAM conditions evaluation.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the conditionContext field is set.

hasIdentitySelector()

public abstract boolean hasIdentitySelector()

Optional. Specifies an identity for analysis.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the identitySelector field is set.

hasOptions()

public abstract boolean hasOptions()

Optional. The query options.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the options field is set.

hasResourceSelector()

public abstract boolean hasResourceSelector()

Optional. Specifies a resource for analysis.

.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the resourceSelector field is set.