public static final class BatchGetEffectiveIamPoliciesRequest.Builder extends GeneratedMessage.Builder<BatchGetEffectiveIamPoliciesRequest.Builder> implements BatchGetEffectiveIamPoliciesRequestOrBuilderA request message for AssetService.BatchGetEffectiveIamPolicies.
Protobuf type google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchGetEffectiveIamPoliciesRequest.BuilderImplements
BatchGetEffectiveIamPoliciesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNames(Iterable<String> values)
public BatchGetEffectiveIamPoliciesRequest.Builder addAllNames(Iterable<String> values)Required. The names refer to the full_resource_names of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The names to add. |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
This builder for chaining. |
addNames(String value)
public BatchGetEffectiveIamPoliciesRequest.Builder addNames(String value)Required. The names refer to the full_resource_names of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe names to add. |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
This builder for chaining. |
addNamesBytes(ByteString value)
public BatchGetEffectiveIamPoliciesRequest.Builder addNamesBytes(ByteString value)Required. The names refer to the full_resource_names of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the names to add. |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
This builder for chaining. |
build()
public BatchGetEffectiveIamPoliciesRequest build()| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest |
|
buildPartial()
public BatchGetEffectiveIamPoliciesRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest |
|
clear()
public BatchGetEffectiveIamPoliciesRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
|
clearNames()
public BatchGetEffectiveIamPoliciesRequest.Builder clearNames()Required. The names refer to the full_resource_names of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
This builder for chaining. |
clearScope()
public BatchGetEffectiveIamPoliciesRequest.Builder clearScope()Required. Only IAM policies on or below the scope will be returned.
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, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BatchGetEffectiveIamPoliciesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNames(int index)
public String getNames(int index)Required. The names refer to the full_resource_names of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The names at the given index. |
getNamesBytes(int index)
public ByteString getNamesBytes(int index)Required. The names refer to the full_resource_names of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the names at the given index. |
getNamesCount()
public int getNamesCount()Required. The names refer to the full_resource_names of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of names. |
getNamesList()
public ProtocolStringList getNamesList()Required. The names refer to the full_resource_names of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the names. |
getScope()
public String getScope()Required. Only IAM policies on or below the scope will be returned.
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, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The scope. |
getScopeBytes()
public ByteString getScopeBytes()Required. Only IAM policies on or below the scope will be returned.
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, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scope. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchGetEffectiveIamPoliciesRequest other)
public BatchGetEffectiveIamPoliciesRequest.Builder mergeFrom(BatchGetEffectiveIamPoliciesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchGetEffectiveIamPoliciesRequest |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchGetEffectiveIamPoliciesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchGetEffectiveIamPoliciesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
|
setNames(int index, String value)
public BatchGetEffectiveIamPoliciesRequest.Builder setNames(int index, String value)Required. The names refer to the full_resource_names of the asset types supported by search APIs. A maximum of 20 resources' effective policies can be retrieved in a batch.
repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe names to set. |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
This builder for chaining. |
setScope(String value)
public BatchGetEffectiveIamPoliciesRequest.Builder setScope(String value)Required. Only IAM policies on or below the scope will be returned.
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, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scope to set. |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
This builder for chaining. |
setScopeBytes(ByteString value)
public BatchGetEffectiveIamPoliciesRequest.Builder setScopeBytes(ByteString value)Required. Only IAM policies on or below the scope will be returned.
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, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scope to set. |
| Returns | |
|---|---|
| Type | Description |
BatchGetEffectiveIamPoliciesRequest.Builder |
This builder for chaining. |