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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
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
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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisResult.AccessControlList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public IamPolicyAnalysisResult.AccessControlList build()
Returns
buildPartial()
public IamPolicyAnalysisResult.AccessControlList buildPartial()
Returns
clear()
public IamPolicyAnalysisResult.AccessControlList.Builder clear()
Returns
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
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
clearField(Descriptors.FieldDescriptor field)
public IamPolicyAnalysisResult.AccessControlList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IamPolicyAnalysisResult.AccessControlList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public IamPolicyAnalysisResult.AccessControlList.Builder clone()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
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
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
getDefaultInstanceForType()
public IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(IamPolicyAnalysisResult.AccessControlList other)
public IamPolicyAnalysisResult.AccessControlList.Builder mergeFrom(IamPolicyAnalysisResult.AccessControlList other)
Parameter
Returns
public IamPolicyAnalysisResult.AccessControlList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public IamPolicyAnalysisResult.AccessControlList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisResult.AccessControlList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisResult.AccessControlList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IamPolicyAnalysisResult.AccessControlList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisResult.AccessControlList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides