Class IamPolicyAnalysisResult.AccessControlList.Builder (3.58.0)

public static final class IamPolicyAnalysisResult.AccessControlList.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisResult.AccessControlList.Builder> implements IamPolicyAnalysisResult.AccessControlListOrBuilder

An access control list, derived from the above IAM policy binding, which contains a set of resources and accesses. May include one item from each set to compose an access control entry.

NOTICE that there could be multiple access control lists for one IAM policy binding. The access control lists are created based on resource and access combinations.

For example, assume we have the following cases in one IAM policy binding:

  • Permission P1 and P2 apply to resource R1 and R2;
  • Permission P3 applies to resource R2 and R3;

    This will result in the following access control lists:

  • AccessControlList 1: [R1, R2], [P1, P2]
  • AccessControlList 2: [R2, R3], [P3]

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList

Static Methods

getDescriptor()

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

Methods

addAccesses(IamPolicyAnalysisResult.Access value)

public IamPolicyAnalysisResult.AccessControlList.Builder addAccesses(IamPolicyAnalysisResult.Access value)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
Name Description
value IamPolicyAnalysisResult.Access
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addAccesses(IamPolicyAnalysisResult.Access.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder addAccesses(IamPolicyAnalysisResult.Access.Builder builderForValue)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
Name Description
builderForValue IamPolicyAnalysisResult.Access.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addAccesses(int index, IamPolicyAnalysisResult.Access value)

public IamPolicyAnalysisResult.AccessControlList.Builder addAccesses(int index, IamPolicyAnalysisResult.Access value)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameters
Name Description
index int
value IamPolicyAnalysisResult.Access
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addAccesses(int index, IamPolicyAnalysisResult.Access.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder addAccesses(int index, IamPolicyAnalysisResult.Access.Builder builderForValue)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameters
Name Description
index int
builderForValue IamPolicyAnalysisResult.Access.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addAccessesBuilder()

public IamPolicyAnalysisResult.Access.Builder addAccessesBuilder()

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

addAccessesBuilder(int index)

public IamPolicyAnalysisResult.Access.Builder addAccessesBuilder(int index)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

addAllAccesses(Iterable<? extends IamPolicyAnalysisResult.Access> values)

public IamPolicyAnalysisResult.AccessControlList.Builder addAllAccesses(Iterable<? extends IamPolicyAnalysisResult.Access> values)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access>
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addAllResourceEdges(Iterable<? extends IamPolicyAnalysisResult.Edge> values)

public IamPolicyAnalysisResult.AccessControlList.Builder addAllResourceEdges(Iterable<? extends IamPolicyAnalysisResult.Edge> values)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge>
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addAllResources(Iterable<? extends IamPolicyAnalysisResult.Resource> values)

public IamPolicyAnalysisResult.AccessControlList.Builder addAllResources(Iterable<? extends IamPolicyAnalysisResult.Resource> values)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource>
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResourceEdges(IamPolicyAnalysisResult.Edge value)

public IamPolicyAnalysisResult.AccessControlList.Builder addResourceEdges(IamPolicyAnalysisResult.Edge value)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
Name Description
value IamPolicyAnalysisResult.Edge
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addResourceEdges(IamPolicyAnalysisResult.Edge.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder addResourceEdges(IamPolicyAnalysisResult.Edge.Builder builderForValue)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
Name Description
builderForValue IamPolicyAnalysisResult.Edge.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addResourceEdges(int index, IamPolicyAnalysisResult.Edge value)

public IamPolicyAnalysisResult.AccessControlList.Builder addResourceEdges(int index, IamPolicyAnalysisResult.Edge value)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameters
Name Description
index int
value IamPolicyAnalysisResult.Edge
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addResourceEdges(int index, IamPolicyAnalysisResult.Edge.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder addResourceEdges(int index, IamPolicyAnalysisResult.Edge.Builder builderForValue)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameters
Name Description
index int
builderForValue IamPolicyAnalysisResult.Edge.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addResourceEdgesBuilder()

public IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder()

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

addResourceEdgesBuilder(int index)

public IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder(int index)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

addResources(IamPolicyAnalysisResult.Resource value)

public IamPolicyAnalysisResult.AccessControlList.Builder addResources(IamPolicyAnalysisResult.Resource value)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
Name Description
value IamPolicyAnalysisResult.Resource
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addResources(IamPolicyAnalysisResult.Resource.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder addResources(IamPolicyAnalysisResult.Resource.Builder builderForValue)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
Name Description
builderForValue IamPolicyAnalysisResult.Resource.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addResources(int index, IamPolicyAnalysisResult.Resource value)

public IamPolicyAnalysisResult.AccessControlList.Builder addResources(int index, IamPolicyAnalysisResult.Resource value)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameters
Name Description
index int
value IamPolicyAnalysisResult.Resource
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addResources(int index, IamPolicyAnalysisResult.Resource.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder addResources(int index, IamPolicyAnalysisResult.Resource.Builder builderForValue)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameters
Name Description
index int
builderForValue IamPolicyAnalysisResult.Resource.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addResourcesBuilder()

public IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder()

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

addResourcesBuilder(int index)

public IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder(int index)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

build()

public IamPolicyAnalysisResult.AccessControlList build()
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList

buildPartial()

public IamPolicyAnalysisResult.AccessControlList buildPartial()
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList

clear()

public IamPolicyAnalysisResult.AccessControlList.Builder clear()
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides

clearAccesses()

public IamPolicyAnalysisResult.AccessControlList.Builder clearAccesses()

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

clearConditionEvaluation()

public IamPolicyAnalysisResult.AccessControlList.Builder clearConditionEvaluation()

Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.

.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;

Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisResult.AccessControlList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisResult.AccessControlList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides

clearResourceEdges()

public IamPolicyAnalysisResult.AccessControlList.Builder clearResourceEdges()

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

clearResources()

public IamPolicyAnalysisResult.AccessControlList.Builder clearResources()

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

clone()

public IamPolicyAnalysisResult.AccessControlList.Builder clone()
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides

getAccesses(int index)

public IamPolicyAnalysisResult.Access getAccesses(int index)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Access

getAccessesBuilder(int index)

public IamPolicyAnalysisResult.Access.Builder getAccessesBuilder(int index)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

getAccessesBuilderList()

public List<IamPolicyAnalysisResult.Access.Builder> getAccessesBuilderList()

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
Type Description
List<Builder>

getAccessesCount()

public int getAccessesCount()

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
Type Description
int

getAccessesList()

public List<IamPolicyAnalysisResult.Access> getAccessesList()

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
Type Description
List<Access>

getAccessesOrBuilder(int index)

public IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrBuilder(int index)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.AccessOrBuilder

getAccessesOrBuilderList()

public List<? extends IamPolicyAnalysisResult.AccessOrBuilder> getAccessesOrBuilderList()

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>

getConditionEvaluation()

public ConditionEvaluation getConditionEvaluation()

Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.

.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;

Returns
Type Description
ConditionEvaluation

The conditionEvaluation.

getConditionEvaluationBuilder()

public ConditionEvaluation.Builder getConditionEvaluationBuilder()

Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.

.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;

Returns
Type Description
ConditionEvaluation.Builder

getConditionEvaluationOrBuilder()

public ConditionEvaluationOrBuilder getConditionEvaluationOrBuilder()

Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.

.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;

Returns
Type Description
ConditionEvaluationOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList

getDescriptorForType()

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

getResourceEdges(int index)

public IamPolicyAnalysisResult.Edge getResourceEdges(int index)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Edge

getResourceEdgesBuilder(int index)

public IamPolicyAnalysisResult.Edge.Builder getResourceEdgesBuilder(int index)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Edge.Builder

getResourceEdgesBuilderList()

public List<IamPolicyAnalysisResult.Edge.Builder> getResourceEdgesBuilderList()

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
Type Description
List<Builder>

getResourceEdgesCount()

public int getResourceEdgesCount()

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
Type Description
int

getResourceEdgesList()

public List<IamPolicyAnalysisResult.Edge> getResourceEdgesList()

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
Type Description
List<Edge>

getResourceEdgesOrBuilder(int index)

public IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder(int index)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.EdgeOrBuilder

getResourceEdgesOrBuilderList()

public List<? extends IamPolicyAnalysisResult.EdgeOrBuilder> getResourceEdgesOrBuilderList()

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>

getResources(int index)

public IamPolicyAnalysisResult.Resource getResources(int index)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Resource

getResourcesBuilder(int index)

public IamPolicyAnalysisResult.Resource.Builder getResourcesBuilder(int index)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

getResourcesBuilderList()

public List<IamPolicyAnalysisResult.Resource.Builder> getResourcesBuilderList()

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
Type Description
List<Builder>

getResourcesCount()

public int getResourcesCount()

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
Type Description
int

getResourcesList()

public List<IamPolicyAnalysisResult.Resource> getResourcesList()

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
Type Description
List<Resource>

getResourcesOrBuilder(int index)

public IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder(int index)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.ResourceOrBuilder

getResourcesOrBuilderList()

public List<? extends IamPolicyAnalysisResult.ResourceOrBuilder> getResourcesOrBuilderList()

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder>

hasConditionEvaluation()

public boolean hasConditionEvaluation()

Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.

.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;

Returns
Type Description
boolean

Whether the conditionEvaluation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConditionEvaluation(ConditionEvaluation value)

public IamPolicyAnalysisResult.AccessControlList.Builder mergeConditionEvaluation(ConditionEvaluation value)

Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.

.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;

Parameter
Name Description
value ConditionEvaluation
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

mergeFrom(IamPolicyAnalysisResult.AccessControlList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public IamPolicyAnalysisResult.AccessControlList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.AccessControlList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides

removeAccesses(int index)

public IamPolicyAnalysisResult.AccessControlList.Builder removeAccesses(int index)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

removeResourceEdges(int index)

public IamPolicyAnalysisResult.AccessControlList.Builder removeResourceEdges(int index)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

removeResources(int index)

public IamPolicyAnalysisResult.AccessControlList.Builder removeResources(int index)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

setAccesses(int index, IamPolicyAnalysisResult.Access value)

public IamPolicyAnalysisResult.AccessControlList.Builder setAccesses(int index, IamPolicyAnalysisResult.Access value)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameters
Name Description
index int
value IamPolicyAnalysisResult.Access
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

setAccesses(int index, IamPolicyAnalysisResult.Access.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder setAccesses(int index, IamPolicyAnalysisResult.Access.Builder builderForValue)

The accesses that match one of the following conditions:

  • The access_selector, if it is specified in request;
  • Otherwise, access specifiers reachable from the policy binding's role.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;

Parameters
Name Description
index int
builderForValue IamPolicyAnalysisResult.Access.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

setConditionEvaluation(ConditionEvaluation value)

public IamPolicyAnalysisResult.AccessControlList.Builder setConditionEvaluation(ConditionEvaluation value)

Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.

.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;

Parameter
Name Description
value ConditionEvaluation
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

setConditionEvaluation(ConditionEvaluation.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder setConditionEvaluation(ConditionEvaluation.Builder builderForValue)

Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.

.google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;

Parameter
Name Description
builderForValue ConditionEvaluation.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResourceEdges(int index, IamPolicyAnalysisResult.Edge value)

public IamPolicyAnalysisResult.AccessControlList.Builder setResourceEdges(int index, IamPolicyAnalysisResult.Edge value)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameters
Name Description
index int
value IamPolicyAnalysisResult.Edge
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

setResourceEdges(int index, IamPolicyAnalysisResult.Edge.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder setResourceEdges(int index, IamPolicyAnalysisResult.Edge.Builder builderForValue)

Resource edges of the graph starting from the policy attached resource to any descendant resources. The Edge.source_node contains the full resource name of a parent resource and Edge.target_node contains the full resource name of a child resource. This field is present only if the output_resource_edges option is enabled in request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameters
Name Description
index int
builderForValue IamPolicyAnalysisResult.Edge.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

setResources(int index, IamPolicyAnalysisResult.Resource value)

public IamPolicyAnalysisResult.AccessControlList.Builder setResources(int index, IamPolicyAnalysisResult.Resource value)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameters
Name Description
index int
value IamPolicyAnalysisResult.Resource
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

setResources(int index, IamPolicyAnalysisResult.Resource.Builder builderForValue)

public IamPolicyAnalysisResult.AccessControlList.Builder setResources(int index, IamPolicyAnalysisResult.Resource.Builder builderForValue)

The resources that match one of the following conditions:

  • The resource_selector, if it is specified in request;
  • Otherwise, resources reachable from the policy attached resource.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;

Parameters
Name Description
index int
builderForValue IamPolicyAnalysisResult.Resource.Builder
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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