Package com.google.cloud.asset.v1
Class IamPolicyAnalysisResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.asset.v1.IamPolicyAnalysisResult
- All Implemented Interfaces:
IamPolicyAnalysisResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class IamPolicyAnalysisResult
extends com.google.protobuf.GeneratedMessage
implements IamPolicyAnalysisResultOrBuilder
IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.Protobuf type
google.cloud.asset.v1.IamPolicyAnalysisResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn IAM role or permission under analysis.static final classAn access control list, derived from the above IAM policy binding, which contains a set of resources and accesses.static interfacestatic interfacestatic final classIAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.static final classA directional edge.static interfacestatic final classAn identity under analysis.static final classThe identities and group edges.static interfacestatic interfacestatic final classA Google Cloud resource under analysis.static interfaceNested 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 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 TypeMethodDescriptionbooleangetAccessControlLists(int index) The access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.intThe access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.The access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.getAccessControlListsOrBuilder(int index) The access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.The access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource to which the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] policy attaches.com.google.protobuf.ByteStringThe [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource to which the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] policy attaches.static IamPolicyAnalysisResultstatic final com.google.protobuf.Descriptors.DescriptorbooleanRepresents whether all analyses on the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] have successfully finished.The IAM policy binding under analysis.The IAM policy binding under analysis.The identity list derived from members of the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match identity selector specified in the request.The identity list derived from members of the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match identity selector specified in the request.com.google.protobuf.Parser<IamPolicyAnalysisResult>intinthashCode()booleanThe IAM policy binding under analysis.booleanThe identity list derived from members of the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match identity selector specified in the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(IamPolicyAnalysisResult prototype) protected IamPolicyAnalysisResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static IamPolicyAnalysisResultparseDelimitedFrom(InputStream input) static IamPolicyAnalysisResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IamPolicyAnalysisResultparseFrom(byte[] data) static IamPolicyAnalysisResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IamPolicyAnalysisResultparseFrom(com.google.protobuf.ByteString data) static IamPolicyAnalysisResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IamPolicyAnalysisResultparseFrom(com.google.protobuf.CodedInputStream input) static IamPolicyAnalysisResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IamPolicyAnalysisResultparseFrom(InputStream input) static IamPolicyAnalysisResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IamPolicyAnalysisResultparseFrom(ByteBuffer data) static IamPolicyAnalysisResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IamPolicyAnalysisResult>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
-
ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER
public static final int ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER- See Also:
-
IAM_BINDING_FIELD_NUMBER
public static final int IAM_BINDING_FIELD_NUMBER- See Also:
-
ACCESS_CONTROL_LISTS_FIELD_NUMBER
public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER- See Also:
-
IDENTITY_LIST_FIELD_NUMBER
public static final int IDENTITY_LIST_FIELD_NUMBER- See Also:
-
FULLY_EXPLORED_FIELD_NUMBER
public static final int FULLY_EXPLORED_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
-
getAttachedResourceFullName
The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource to which the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] policy attaches.
string attached_resource_full_name = 1;- Specified by:
getAttachedResourceFullNamein interfaceIamPolicyAnalysisResultOrBuilder- Returns:
- The attachedResourceFullName.
-
getAttachedResourceFullNameBytes
public com.google.protobuf.ByteString getAttachedResourceFullNameBytes()The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource to which the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] policy attaches.
string attached_resource_full_name = 1;- Specified by:
getAttachedResourceFullNameBytesin interfaceIamPolicyAnalysisResultOrBuilder- Returns:
- The bytes for attachedResourceFullName.
-
hasIamBinding
public boolean hasIamBinding()The IAM policy binding under analysis.
.google.iam.v1.Binding iam_binding = 2;- Specified by:
hasIamBindingin interfaceIamPolicyAnalysisResultOrBuilder- Returns:
- Whether the iamBinding field is set.
-
getIamBinding
The IAM policy binding under analysis.
.google.iam.v1.Binding iam_binding = 2;- Specified by:
getIamBindingin interfaceIamPolicyAnalysisResultOrBuilder- Returns:
- The iamBinding.
-
getIamBindingOrBuilder
The IAM policy binding under analysis.
.google.iam.v1.Binding iam_binding = 2;- Specified by:
getIamBindingOrBuilderin interfaceIamPolicyAnalysisResultOrBuilder
-
getAccessControlListsList
The access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;- Specified by:
getAccessControlListsListin interfaceIamPolicyAnalysisResultOrBuilder
-
getAccessControlListsOrBuilderList
public List<? extends IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsOrBuilderList()The access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;- Specified by:
getAccessControlListsOrBuilderListin interfaceIamPolicyAnalysisResultOrBuilder
-
getAccessControlListsCount
public int getAccessControlListsCount()The access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;- Specified by:
getAccessControlListsCountin interfaceIamPolicyAnalysisResultOrBuilder
-
getAccessControlLists
The access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;- Specified by:
getAccessControlListsin interfaceIamPolicyAnalysisResultOrBuilder
-
getAccessControlListsOrBuilder
The access control lists derived from the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match resource and access selectors specified in the request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;- Specified by:
getAccessControlListsOrBuilderin interfaceIamPolicyAnalysisResultOrBuilder
-
hasIdentityList
public boolean hasIdentityList()The identity list derived from members of the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match identity selector specified in the request.
.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;- Specified by:
hasIdentityListin interfaceIamPolicyAnalysisResultOrBuilder- Returns:
- Whether the identityList field is set.
-
getIdentityList
The identity list derived from members of the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match identity selector specified in the request.
.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;- Specified by:
getIdentityListin interfaceIamPolicyAnalysisResultOrBuilder- Returns:
- The identityList.
-
getIdentityListOrBuilder
The identity list derived from members of the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] that match or potentially match identity selector specified in the request.
.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;- Specified by:
getIdentityListOrBuilderin interfaceIamPolicyAnalysisResultOrBuilder
-
getFullyExplored
public boolean getFullyExplored()Represents whether all analyses on the [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] have successfully finished.
bool fully_explored = 5;- Specified by:
getFullyExploredin interfaceIamPolicyAnalysisResultOrBuilder- Returns:
- The fullyExplored.
-
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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IamPolicyAnalysisResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static IamPolicyAnalysisResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static IamPolicyAnalysisResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static IamPolicyAnalysisResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IamPolicyAnalysisResult 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected IamPolicyAnalysisResult.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
-