Class IamPolicyAnalysisQuery.Builder (3.39.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IamPolicyAnalysisQuery.Builder
Overrides

build()

public IamPolicyAnalysisQuery build()
Returns
Type Description
IamPolicyAnalysisQuery

buildPartial()

public IamPolicyAnalysisQuery buildPartial()
Returns
Type Description
IamPolicyAnalysisQuery

clear()

public IamPolicyAnalysisQuery.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
IamPolicyAnalysisQuery.Builder

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisQuery.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
IamPolicyAnalysisQuery.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
IamPolicyAnalysisQuery.Builder

This builder for chaining.

clone()

public IamPolicyAnalysisQuery.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
IamPolicyAnalysisQuery.ConditionContextOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisQuery getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisQuery

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the resourceSelector field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.AccessSelector
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.ConditionContext
Returns
Type Description
IamPolicyAnalysisQuery.Builder

mergeFrom(IamPolicyAnalysisQuery other)

public IamPolicyAnalysisQuery.Builder mergeFrom(IamPolicyAnalysisQuery other)
Parameter
Name Description
other IamPolicyAnalysisQuery
Returns
Type Description
IamPolicyAnalysisQuery.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisQuery.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IamPolicyAnalysisQuery.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.IdentitySelector
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.Options
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.ResourceSelector
Returns
Type Description
IamPolicyAnalysisQuery.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.AccessSelector
Returns
Type Description
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
Name Description
builderForValue IamPolicyAnalysisQuery.AccessSelector.Builder
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.ConditionContext
Returns
Type Description
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
Name Description
builderForValue IamPolicyAnalysisQuery.ConditionContext.Builder
Returns
Type Description
IamPolicyAnalysisQuery.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.IdentitySelector
Returns
Type Description
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
Name Description
builderForValue IamPolicyAnalysisQuery.IdentitySelector.Builder
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.Options
Returns
Type Description
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
Name Description
builderForValue IamPolicyAnalysisQuery.Options.Builder
Returns
Type Description
IamPolicyAnalysisQuery.Builder

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

public IamPolicyAnalysisQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value IamPolicyAnalysisQuery.ResourceSelector
Returns
Type Description
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
Name Description
builderForValue IamPolicyAnalysisQuery.ResourceSelector.Builder
Returns
Type Description
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
Name Description
value String

The scope to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for scope to set.

Returns
Type Description
IamPolicyAnalysisQuery.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisQuery.Builder
Overrides