Package com.google.cloud.asset.v1
Class IamPolicyAnalysisResult.AccessControlList
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
- All Implemented Interfaces:
IamPolicyAnalysisResult.AccessControlListOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- IamPolicyAnalysisResult
public static final class IamPolicyAnalysisResult.AccessControlList
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn access control list, derived from the above IAM policy binding, which contains a set of resources and accesses.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAccesses(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.intThe 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.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.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.List<? extends IamPolicyAnalysisResult.AccessOrBuilder>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.Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.Condition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<IamPolicyAnalysisResult.AccessControlList>getResourceEdges(int index) Resource edges of the graph starting from the policy attached resource to any descendant resources.intResource edges of the graph starting from the policy attached resource to any descendant resources.Resource edges of the graph starting from the policy attached resource to any descendant resources.getResourceEdgesOrBuilder(int index) Resource edges of the graph starting from the policy attached resource to any descendant resources.List<? extends IamPolicyAnalysisResult.EdgeOrBuilder>Resource edges of the graph starting from the policy attached resource to any descendant resources.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.intThe 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.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.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.List<? extends IamPolicyAnalysisResult.ResourceOrBuilder>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.intbooleanCondition evaluation for this AccessControlList, if there is a condition defined in the above IAM policy binding.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IamPolicyAnalysisResult.AccessControlList>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER- See Also:
-
ACCESSES_FIELD_NUMBER
public static final int ACCESSES_FIELD_NUMBER- See Also:
-
RESOURCE_EDGES_FIELD_NUMBER
public static final int RESOURCE_EDGES_FIELD_NUMBER- See Also:
-
CONDITION_EVALUATION_FIELD_NUMBER
public static final int CONDITION_EVALUATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- Specified by:
getResourcesListin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
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;- Specified by:
getResourcesOrBuilderListin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
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;- Specified by:
getResourcesCountin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
getResources
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;- Specified by:
getResourcesin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
getResourcesOrBuilder
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;- Specified by:
getResourcesOrBuilderin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
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;- Specified by:
getAccessesListin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
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;- Specified by:
getAccessesOrBuilderListin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
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;- Specified by:
getAccessesCountin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
getAccesses
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;- Specified by:
getAccessesin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
getAccessesOrBuilder
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;- Specified by:
getAccessesOrBuilderin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
getResourceEdgesList
Resource edges of the graph starting from the policy attached resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node] contains the full resource name of a parent resource and [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;- Specified by:
getResourceEdgesListin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
getResourceEdgesOrBuilderList
Resource edges of the graph starting from the policy attached resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node] contains the full resource name of a parent resource and [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;- Specified by:
getResourceEdgesOrBuilderListin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
getResourceEdgesCount
public int getResourceEdgesCount()Resource edges of the graph starting from the policy attached resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node] contains the full resource name of a parent resource and [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;- Specified by:
getResourceEdgesCountin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
getResourceEdges
Resource edges of the graph starting from the policy attached resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node] contains the full resource name of a parent resource and [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;- Specified by:
getResourceEdgesin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
getResourceEdgesOrBuilder
Resource edges of the graph starting from the policy attached resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node] contains the full resource name of a parent resource and [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;- Specified by:
getResourceEdgesOrBuilderin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
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;- Specified by:
hasConditionEvaluationin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder- Returns:
- Whether the conditionEvaluation field is set.
-
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;- Specified by:
getConditionEvaluationin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder- Returns:
- The conditionEvaluation.
-
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;- Specified by:
getConditionEvaluationOrBuilderin interfaceIamPolicyAnalysisResult.AccessControlListOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IamPolicyAnalysisResult.AccessControlList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static IamPolicyAnalysisResult.AccessControlList.Builder newBuilder(IamPolicyAnalysisResult.AccessControlList prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected IamPolicyAnalysisResult.AccessControlList.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-