Class IamPolicyAnalysisResult.AccessControlList.Builder (3.4.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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
NameDescription
valueIamPolicyAnalysisResult.Access
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
NameDescription
builderForValueIamPolicyAnalysisResult.Access.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.Access
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.Access.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access>
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge>
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource>
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.AccessControlList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
NameDescription
valueIamPolicyAnalysisResult.Edge
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
NameDescription
builderForValueIamPolicyAnalysisResult.Edge.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.Edge
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.Edge.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
NameDescription
valueIamPolicyAnalysisResult.Resource
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
NameDescription
builderForValueIamPolicyAnalysisResult.Resource.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.Resource
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.Resource.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.Resource.Builder

build()

public IamPolicyAnalysisResult.AccessControlList build()
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList

buildPartial()

public IamPolicyAnalysisResult.AccessControlList buildPartial()
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList

clear()

public IamPolicyAnalysisResult.AccessControlList.Builder clear()
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisResult.AccessControlList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisResult.AccessControlList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder

clone()

public IamPolicyAnalysisResult.AccessControlList.Builder clone()
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder>

getDefaultInstanceForType()

public IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1p4beta1.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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IamPolicyAnalysisResult.AccessControlList other)

public IamPolicyAnalysisResult.AccessControlList.Builder mergeFrom(IamPolicyAnalysisResult.AccessControlList other)
Parameter
NameDescription
otherIamPolicyAnalysisResult.AccessControlList
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisResult.AccessControlList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IamPolicyAnalysisResult.AccessControlList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.AccessControlList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.Access
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.Access.Builder
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.AccessControlList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.Edge
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.Edge.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.Resource
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.Resource.Builder
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.AccessControlList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList.Builder
Overrides