public final class IamPolicyAnalysisResult extends GeneratedMessageV3 implements IamPolicyAnalysisResultOrBuilder
IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.Protobuf type
google.cloud.asset.v1.IamPolicyAnalysisResult
Modifier and Type | Class and Description |
---|---|
static class |
IamPolicyAnalysisResult.Access
An IAM role or permission under analysis.
|
static class |
IamPolicyAnalysisResult.AccessControlList
An access control list, derived from the above IAM policy binding, which
contains a set of resources and accesses.
|
static interface |
IamPolicyAnalysisResult.AccessControlListOrBuilder |
static interface |
IamPolicyAnalysisResult.AccessOrBuilder |
static class |
IamPolicyAnalysisResult.Builder
IAM Policy analysis result, consisting of one IAM policy binding and derived
access control lists.
|
static class |
IamPolicyAnalysisResult.Edge
A directional edge.
|
static interface |
IamPolicyAnalysisResult.EdgeOrBuilder |
static class |
IamPolicyAnalysisResult.Identity
An identity under analysis.
|
static class |
IamPolicyAnalysisResult.IdentityList
The identities and group edges.
|
static interface |
IamPolicyAnalysisResult.IdentityListOrBuilder |
static interface |
IamPolicyAnalysisResult.IdentityOrBuilder |
static class |
IamPolicyAnalysisResult.Resource
A Google Cloud resource under analysis.
|
static interface |
IamPolicyAnalysisResult.ResourceOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_CONTROL_LISTS_FIELD_NUMBER |
static int |
ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER |
static int |
FULLY_EXPLORED_FIELD_NUMBER |
static int |
IAM_BINDING_FIELD_NUMBER |
static int |
IDENTITY_LIST_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IamPolicyAnalysisResult.AccessControlList |
getAccessControlLists(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.
|
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.
|
List<IamPolicyAnalysisResult.AccessControlList> |
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.
|
IamPolicyAnalysisResult.AccessControlListOrBuilder |
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.
|
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.
|
String |
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.
|
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.
|
static IamPolicyAnalysisResult |
getDefaultInstance() |
IamPolicyAnalysisResult |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
boolean |
getFullyExplored()
Represents whether all analyses on the
[iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
have successfully finished.
|
com.google.iam.v1.Binding |
getIamBinding()
The Cloud IAM policy binding under analysis.
|
com.google.iam.v1.BindingOrBuilder |
getIamBindingOrBuilder()
The Cloud IAM policy binding under analysis.
|
IamPolicyAnalysisResult.IdentityList |
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.
|
IamPolicyAnalysisResult.IdentityListOrBuilder |
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.
|
Parser<IamPolicyAnalysisResult> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasIamBinding()
The Cloud IAM policy binding under analysis.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static IamPolicyAnalysisResult.Builder |
newBuilder() |
static IamPolicyAnalysisResult.Builder |
newBuilder(IamPolicyAnalysisResult prototype) |
IamPolicyAnalysisResult.Builder |
newBuilderForType() |
protected IamPolicyAnalysisResult.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static IamPolicyAnalysisResult |
parseDelimitedFrom(InputStream input) |
static IamPolicyAnalysisResult |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisResult |
parseFrom(byte[] data) |
static IamPolicyAnalysisResult |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisResult |
parseFrom(ByteBuffer data) |
static IamPolicyAnalysisResult |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisResult |
parseFrom(ByteString data) |
static IamPolicyAnalysisResult |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisResult |
parseFrom(CodedInputStream input) |
static IamPolicyAnalysisResult |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisResult |
parseFrom(InputStream input) |
static IamPolicyAnalysisResult |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<IamPolicyAnalysisResult> |
parser() |
IamPolicyAnalysisResult.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER
public static final int IAM_BINDING_FIELD_NUMBER
public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER
public static final int IDENTITY_LIST_FIELD_NUMBER
public static final int FULLY_EXPLORED_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String 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;
getAttachedResourceFullName
in interface IamPolicyAnalysisResultOrBuilder
public 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;
getAttachedResourceFullNameBytes
in interface IamPolicyAnalysisResultOrBuilder
public boolean hasIamBinding()
The Cloud IAM policy binding under analysis.
.google.iam.v1.Binding iam_binding = 2;
hasIamBinding
in interface IamPolicyAnalysisResultOrBuilder
public com.google.iam.v1.Binding getIamBinding()
The Cloud IAM policy binding under analysis.
.google.iam.v1.Binding iam_binding = 2;
getIamBinding
in interface IamPolicyAnalysisResultOrBuilder
public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder()
The Cloud IAM policy binding under analysis.
.google.iam.v1.Binding iam_binding = 2;
getIamBindingOrBuilder
in interface IamPolicyAnalysisResultOrBuilder
public List<IamPolicyAnalysisResult.AccessControlList> 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;
getAccessControlListsList
in interface IamPolicyAnalysisResultOrBuilder
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;
getAccessControlListsOrBuilderList
in interface IamPolicyAnalysisResultOrBuilder
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;
getAccessControlListsCount
in interface IamPolicyAnalysisResultOrBuilder
public IamPolicyAnalysisResult.AccessControlList getAccessControlLists(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.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
getAccessControlLists
in interface IamPolicyAnalysisResultOrBuilder
public IamPolicyAnalysisResult.AccessControlListOrBuilder 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.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
getAccessControlListsOrBuilder
in interface IamPolicyAnalysisResultOrBuilder
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;
hasIdentityList
in interface IamPolicyAnalysisResultOrBuilder
public IamPolicyAnalysisResult.IdentityList 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;
getIdentityList
in interface IamPolicyAnalysisResultOrBuilder
public IamPolicyAnalysisResult.IdentityListOrBuilder 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;
getIdentityListOrBuilder
in interface IamPolicyAnalysisResultOrBuilder
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;
getFullyExplored
in interface IamPolicyAnalysisResultOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static IamPolicyAnalysisResult parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisResult parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisResult parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static IamPolicyAnalysisResult parseFrom(InputStream input) throws IOException
IOException
public static IamPolicyAnalysisResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static IamPolicyAnalysisResult parseDelimitedFrom(InputStream input) throws IOException
IOException
public static IamPolicyAnalysisResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static IamPolicyAnalysisResult parseFrom(CodedInputStream input) throws IOException
IOException
public static IamPolicyAnalysisResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public IamPolicyAnalysisResult.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static IamPolicyAnalysisResult.Builder newBuilder()
public static IamPolicyAnalysisResult.Builder newBuilder(IamPolicyAnalysisResult prototype)
public IamPolicyAnalysisResult.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected IamPolicyAnalysisResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static IamPolicyAnalysisResult getDefaultInstance()
public static Parser<IamPolicyAnalysisResult> parser()
public Parser<IamPolicyAnalysisResult> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public IamPolicyAnalysisResult getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.