Class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder (3.33.0)

public static final class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder extends GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder> implements BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder

The effective IAM policies on one resource.

Protobuf type google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPolicies(Iterable<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> values)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addAllPolicies(Iterable<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> values)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo>
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPolicies(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicies(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
Name Description
value BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPolicies(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicies(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
Name Description
builderForValue BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameters
Name Description
index int
value BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameters
Name Description
index int
builderForValue BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPoliciesBuilder()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder addPoliciesBuilder()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

addPoliciesBuilder(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder addPoliciesBuilder(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy build()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

buildPartial()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy buildPartial()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

clear()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clear()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

clearFullResourceName()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearFullResourceName()

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

clearPolicies()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearPolicies()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

clone()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clone()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

getDefaultInstanceForType()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstanceForType()
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFullResourceName()

public String getFullResourceName()

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Returns
Type Description
String

The fullResourceName.

getFullResourceNameBytes()

public ByteString getFullResourceNameBytes()

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Returns
Type Description
ByteString

The bytes for fullResourceName.

getPolicies(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getPolicies(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo

getPoliciesBuilder(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder getPoliciesBuilder(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

getPoliciesBuilderList()

public List<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder> getPoliciesBuilderList()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
Type Description
List<Builder>

getPoliciesCount()

public int getPoliciesCount()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
Type Description
int

getPoliciesList()

public List<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> getPoliciesList()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
Type Description
List<PolicyInfo>

getPoliciesOrBuilder(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder getPoliciesOrBuilder(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder

getPoliciesOrBuilderList()

public List<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder> getPoliciesOrBuilderList()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

removePolicies(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder removePolicies(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

setFullResourceName(String value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setFullResourceName(String value)

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Parameter
Name Description
value String

The fullResourceName to set.

Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

This builder for chaining.

setFullResourceNameBytes(ByteString value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setFullResourceNameBytes(ByteString value)

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Parameter
Name Description
value ByteString

The bytes for fullResourceName to set.

Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

This builder for chaining.

setPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameters
Name Description
index int
value BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

setPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameters
Name Description
index int
builderForValue BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

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

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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