Class IamPolicyAnalysisQuery.Builder (3.4.0)

public static final class IamPolicyAnalysisQuery.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder> implements IamPolicyAnalysisQueryOrBuilder

IAM policy analysis query message.

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisQuery

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

build()

public IamPolicyAnalysisQuery build()
Returns
TypeDescription
IamPolicyAnalysisQuery

buildPartial()

public IamPolicyAnalysisQuery buildPartial()
Returns
TypeDescription
IamPolicyAnalysisQuery

clear()

public IamPolicyAnalysisQuery.Builder clear()
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

clearAccessSelector()

public IamPolicyAnalysisQuery.Builder clearAccessSelector()

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
TypeDescription
IamPolicyAnalysisQuery.Builder

clearConditionContext()

public IamPolicyAnalysisQuery.Builder clearConditionContext()

Optional. The hypothetical context for IAM conditions evaluation.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisQuery.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

clearIdentitySelector()

public IamPolicyAnalysisQuery.Builder clearIdentitySelector()

Optional. Specifies an identity for analysis.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

clearOptions()

public IamPolicyAnalysisQuery.Builder clearOptions()

Optional. The query options.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

clearResourceSelector()

public IamPolicyAnalysisQuery.Builder clearResourceSelector()

Optional. Specifies a resource for analysis.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

clearScope()

public IamPolicyAnalysisQuery.Builder clearScope()

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
TypeDescription
IamPolicyAnalysisQuery.Builder

This builder for chaining.

clone()

public IamPolicyAnalysisQuery.Builder clone()
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

getAccessSelector()

public 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
TypeDescription
IamPolicyAnalysisQuery.AccessSelector

The accessSelector.

getAccessSelectorBuilder()

public IamPolicyAnalysisQuery.AccessSelector.Builder getAccessSelectorBuilder()

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
TypeDescription
IamPolicyAnalysisQuery.AccessSelector.Builder

getAccessSelectorOrBuilder()

public 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
TypeDescription
IamPolicyAnalysisQuery.AccessSelectorOrBuilder

getConditionContext()

public 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
TypeDescription
IamPolicyAnalysisQuery.ConditionContext

The conditionContext.

getConditionContextBuilder()

public IamPolicyAnalysisQuery.ConditionContext.Builder getConditionContextBuilder()

Optional. The hypothetical context for IAM conditions evaluation.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.ConditionContext.Builder

getConditionContextOrBuilder()

public 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
TypeDescription
IamPolicyAnalysisQuery.ConditionContextOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisQuery getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisQuery

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIdentitySelector()

public IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector()

Optional. Specifies an identity for analysis.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector

The identitySelector.

getIdentitySelectorBuilder()

public IamPolicyAnalysisQuery.IdentitySelector.Builder getIdentitySelectorBuilder()

Optional. Specifies an identity for analysis.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder

getIdentitySelectorOrBuilder()

public IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder()

Optional. Specifies an identity for analysis.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelectorOrBuilder

getOptions()

public IamPolicyAnalysisQuery.Options getOptions()

Optional. The query options.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.Options

The options.

getOptionsBuilder()

public IamPolicyAnalysisQuery.Options.Builder getOptionsBuilder()

Optional. The query options.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.Options.Builder

getOptionsOrBuilder()

public IamPolicyAnalysisQuery.OptionsOrBuilder getOptionsOrBuilder()

Optional. The query options.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.OptionsOrBuilder

getResourceSelector()

public IamPolicyAnalysisQuery.ResourceSelector getResourceSelector()

Optional. Specifies a resource for analysis.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.ResourceSelector

The resourceSelector.

getResourceSelectorBuilder()

public IamPolicyAnalysisQuery.ResourceSelector.Builder getResourceSelectorBuilder()

Optional. Specifies a resource for analysis.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.ResourceSelector.Builder

getResourceSelectorOrBuilder()

public IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder()

Optional. Specifies a resource for analysis.

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

Returns
TypeDescription
IamPolicyAnalysisQuery.ResourceSelectorOrBuilder

getScope()

public 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
TypeDescription
String

The scope.

getScopeBytes()

public 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
TypeDescription
ByteString

The bytes for scope.

hasAccessSelector()

public 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
TypeDescription
boolean

Whether the accessSelector field is set.

hasConditionContext()

public 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
TypeDescription
boolean

Whether the conditionContext field is set.

hasIdentitySelector()

public boolean hasIdentitySelector()

Optional. Specifies an identity for analysis.

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

Returns
TypeDescription
boolean

Whether the identitySelector field is set.

hasOptions()

public boolean hasOptions()

Optional. The query options.

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

Returns
TypeDescription
boolean

Whether the options field is set.

hasResourceSelector()

public boolean hasResourceSelector()

Optional. Specifies a resource for analysis.

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

Returns
TypeDescription
boolean

Whether the resourceSelector field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAccessSelector(IamPolicyAnalysisQuery.AccessSelector value)

public IamPolicyAnalysisQuery.Builder mergeAccessSelector(IamPolicyAnalysisQuery.AccessSelector value)

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

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.AccessSelector
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

mergeConditionContext(IamPolicyAnalysisQuery.ConditionContext value)

public IamPolicyAnalysisQuery.Builder mergeConditionContext(IamPolicyAnalysisQuery.ConditionContext value)

Optional. The hypothetical context for IAM conditions evaluation.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.ConditionContext
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

mergeFrom(IamPolicyAnalysisQuery other)

public IamPolicyAnalysisQuery.Builder mergeFrom(IamPolicyAnalysisQuery other)
Parameter
NameDescription
otherIamPolicyAnalysisQuery
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IamPolicyAnalysisQuery.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

mergeIdentitySelector(IamPolicyAnalysisQuery.IdentitySelector value)

public IamPolicyAnalysisQuery.Builder mergeIdentitySelector(IamPolicyAnalysisQuery.IdentitySelector value)

Optional. Specifies an identity for analysis.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.IdentitySelector
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

mergeOptions(IamPolicyAnalysisQuery.Options value)

public IamPolicyAnalysisQuery.Builder mergeOptions(IamPolicyAnalysisQuery.Options value)

Optional. The query options.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.Options
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

mergeResourceSelector(IamPolicyAnalysisQuery.ResourceSelector value)

public IamPolicyAnalysisQuery.Builder mergeResourceSelector(IamPolicyAnalysisQuery.ResourceSelector value)

Optional. Specifies a resource for analysis.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.ResourceSelector
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

setAccessSelector(IamPolicyAnalysisQuery.AccessSelector value)

public IamPolicyAnalysisQuery.Builder setAccessSelector(IamPolicyAnalysisQuery.AccessSelector value)

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

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.AccessSelector
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setAccessSelector(IamPolicyAnalysisQuery.AccessSelector.Builder builderForValue)

public IamPolicyAnalysisQuery.Builder setAccessSelector(IamPolicyAnalysisQuery.AccessSelector.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueIamPolicyAnalysisQuery.AccessSelector.Builder
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setConditionContext(IamPolicyAnalysisQuery.ConditionContext value)

public IamPolicyAnalysisQuery.Builder setConditionContext(IamPolicyAnalysisQuery.ConditionContext value)

Optional. The hypothetical context for IAM conditions evaluation.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.ConditionContext
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setConditionContext(IamPolicyAnalysisQuery.ConditionContext.Builder builderForValue)

public IamPolicyAnalysisQuery.Builder setConditionContext(IamPolicyAnalysisQuery.ConditionContext.Builder builderForValue)

Optional. The hypothetical context for IAM conditions evaluation.

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

Parameter
NameDescription
builderForValueIamPolicyAnalysisQuery.ConditionContext.Builder
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

setIdentitySelector(IamPolicyAnalysisQuery.IdentitySelector value)

public IamPolicyAnalysisQuery.Builder setIdentitySelector(IamPolicyAnalysisQuery.IdentitySelector value)

Optional. Specifies an identity for analysis.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.IdentitySelector
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setIdentitySelector(IamPolicyAnalysisQuery.IdentitySelector.Builder builderForValue)

public IamPolicyAnalysisQuery.Builder setIdentitySelector(IamPolicyAnalysisQuery.IdentitySelector.Builder builderForValue)

Optional. Specifies an identity for analysis.

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

Parameter
NameDescription
builderForValueIamPolicyAnalysisQuery.IdentitySelector.Builder
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setOptions(IamPolicyAnalysisQuery.Options value)

public IamPolicyAnalysisQuery.Builder setOptions(IamPolicyAnalysisQuery.Options value)

Optional. The query options.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.Options
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setOptions(IamPolicyAnalysisQuery.Options.Builder builderForValue)

public IamPolicyAnalysisQuery.Builder setOptions(IamPolicyAnalysisQuery.Options.Builder builderForValue)

Optional. The query options.

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

Parameter
NameDescription
builderForValueIamPolicyAnalysisQuery.Options.Builder
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IamPolicyAnalysisQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

setResourceSelector(IamPolicyAnalysisQuery.ResourceSelector value)

public IamPolicyAnalysisQuery.Builder setResourceSelector(IamPolicyAnalysisQuery.ResourceSelector value)

Optional. Specifies a resource for analysis.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery.ResourceSelector
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setResourceSelector(IamPolicyAnalysisQuery.ResourceSelector.Builder builderForValue)

public IamPolicyAnalysisQuery.Builder setResourceSelector(IamPolicyAnalysisQuery.ResourceSelector.Builder builderForValue)

Optional. Specifies a resource for analysis.

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

Parameter
NameDescription
builderForValueIamPolicyAnalysisQuery.ResourceSelector.Builder
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

setScope(String value)

public IamPolicyAnalysisQuery.Builder setScope(String value)

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];

Parameter
NameDescription
valueString

The scope to set.

Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

This builder for chaining.

setScopeBytes(ByteString value)

public IamPolicyAnalysisQuery.Builder setScopeBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for scope to set.

Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides