- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IamPolicyAnalysisQuery.BuilderImplements
IamPolicyAnalysisQueryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IamPolicyAnalysisQuery.Builder |
build()
public IamPolicyAnalysisQuery build()
Type | Description |
IamPolicyAnalysisQuery |
buildPartial()
public IamPolicyAnalysisQuery buildPartial()
Type | Description |
IamPolicyAnalysisQuery |
clear()
public IamPolicyAnalysisQuery.Builder clear()
Type | Description |
IamPolicyAnalysisQuery.Builder |
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];
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];
Type | Description |
IamPolicyAnalysisQuery.Builder |
clearField(Descriptors.FieldDescriptor field)
public IamPolicyAnalysisQuery.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
IamPolicyAnalysisQuery.Builder |
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];
Type | Description |
IamPolicyAnalysisQuery.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public IamPolicyAnalysisQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
IamPolicyAnalysisQuery.Builder |
clearOptions()
public IamPolicyAnalysisQuery.Builder clearOptions()
Optional. The query options.
.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
Type | Description |
IamPolicyAnalysisQuery.Builder | This builder for chaining. |
clone()
public IamPolicyAnalysisQuery.Builder clone()
Type | Description |
IamPolicyAnalysisQuery.Builder |
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];
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];
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];
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];
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];
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];
Type | Description |
IamPolicyAnalysisQuery.ConditionContextOrBuilder |
getDefaultInstanceForType()
public IamPolicyAnalysisQuery getDefaultInstanceForType()
Type | Description |
IamPolicyAnalysisQuery |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
Type | Description |
boolean | Whether the resourceSelector field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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];
Name | Description |
value | IamPolicyAnalysisQuery.AccessSelector |
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];
Name | Description |
value | IamPolicyAnalysisQuery.ConditionContext |
Type | Description |
IamPolicyAnalysisQuery.Builder |
mergeFrom(IamPolicyAnalysisQuery other)
public IamPolicyAnalysisQuery.Builder mergeFrom(IamPolicyAnalysisQuery other)
Name | Description |
other | IamPolicyAnalysisQuery |
Type | Description |
IamPolicyAnalysisQuery.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IamPolicyAnalysisQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
IamPolicyAnalysisQuery.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public IamPolicyAnalysisQuery.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
IamPolicyAnalysisQuery.Builder |
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];
Name | Description |
value | IamPolicyAnalysisQuery.IdentitySelector |
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];
Name | Description |
value | IamPolicyAnalysisQuery.Options |
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];
Name | Description |
value | IamPolicyAnalysisQuery.ResourceSelector |
Type | Description |
IamPolicyAnalysisQuery.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IamPolicyAnalysisQuery.Builder |
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];
Name | Description |
value | IamPolicyAnalysisQuery.AccessSelector |
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];
Name | Description |
builderForValue | IamPolicyAnalysisQuery.AccessSelector.Builder |
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];
Name | Description |
value | IamPolicyAnalysisQuery.ConditionContext |
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];
Name | Description |
builderForValue | IamPolicyAnalysisQuery.ConditionContext.Builder |
Type | Description |
IamPolicyAnalysisQuery.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IamPolicyAnalysisQuery.Builder |
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];
Name | Description |
value | IamPolicyAnalysisQuery.IdentitySelector |
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];
Name | Description |
builderForValue | IamPolicyAnalysisQuery.IdentitySelector.Builder |
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];
Name | Description |
value | IamPolicyAnalysisQuery.Options |
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];
Name | Description |
builderForValue | IamPolicyAnalysisQuery.Options.Builder |
Type | Description |
IamPolicyAnalysisQuery.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IamPolicyAnalysisQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
IamPolicyAnalysisQuery.Builder |
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];
Name | Description |
value | IamPolicyAnalysisQuery.ResourceSelector |
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];
Name | Description |
builderForValue | IamPolicyAnalysisQuery.ResourceSelector.Builder |
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];
Name | Description |
value | String The scope to set. |
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];
Name | Description |
value | ByteString The bytes for scope to set. |
Type | Description |
IamPolicyAnalysisQuery.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IamPolicyAnalysisQuery.Builder |