Class IamPolicyAnalysisResult (3.4.1)

Stay organized with collections Save and categorize content based on your preferences.
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.v1p4beta1.IamPolicyAnalysisResult

Static Fields

ACCESS_CONTROL_LISTS_FIELD_NUMBER

public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER
Field Value
TypeDescription
int

ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER

public static final int ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

FULLY_EXPLORED_FIELD_NUMBER

public static final int FULLY_EXPLORED_FIELD_NUMBER
Field Value
TypeDescription
int

IAM_BINDING_FIELD_NUMBER

public static final int IAM_BINDING_FIELD_NUMBER
Field Value
TypeDescription
int

IDENTITY_LIST_FIELD_NUMBER

public static final int IDENTITY_LIST_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IamPolicyAnalysisResult getDefaultInstance()
Returns
TypeDescription
IamPolicyAnalysisResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static IamPolicyAnalysisResult.Builder newBuilder()
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

newBuilder(IamPolicyAnalysisResult prototype)

public static IamPolicyAnalysisResult.Builder newBuilder(IamPolicyAnalysisResult prototype)
Parameter
NameDescription
prototypeIamPolicyAnalysisResult
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

parseDelimitedFrom(InputStream input)

public static IamPolicyAnalysisResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IamPolicyAnalysisResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IamPolicyAnalysisResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IamPolicyAnalysisResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IamPolicyAnalysisResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IamPolicyAnalysisResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IamPolicyAnalysisResult> parser()
Returns
TypeDescription
Parser<IamPolicyAnalysisResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAccessControlLists(int index)

public IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlList

getAccessControlListsCount()

public int getAccessControlListsCount()

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
TypeDescription
int

getAccessControlListsList()

public List<IamPolicyAnalysisResult.AccessControlList> getAccessControlListsList()

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
TypeDescription
List<AccessControlList>

getAccessControlListsOrBuilder(int index)

public IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder(int index)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.AccessControlListOrBuilder

getAccessControlListsOrBuilderList()

public List<? extends IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsOrBuilderList()

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

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

getAttachedResourceFullName()

public String getAttachedResourceFullName()

The full name of the resource to which the iam_binding policy attaches.

string attached_resource_full_name = 1;

Returns
TypeDescription
String

The attachedResourceFullName.

getAttachedResourceFullNameBytes()

public ByteString getAttachedResourceFullNameBytes()

The full name of the resource to which the iam_binding policy attaches.

string attached_resource_full_name = 1;

Returns
TypeDescription
ByteString

The bytes for attachedResourceFullName.

getDefaultInstanceForType()

public IamPolicyAnalysisResult getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisResult

getFullyExplored()

public boolean getFullyExplored()

Represents whether all nodes in the transitive closure of the iam_binding node have been explored.

bool fully_explored = 5;

Returns
TypeDescription
boolean

The fullyExplored.

getIamBinding()

public Binding getIamBinding()

The Cloud IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Returns
TypeDescription
com.google.iam.v1.Binding

The iamBinding.

getIamBindingOrBuilder()

public BindingOrBuilder getIamBindingOrBuilder()

The Cloud IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Returns
TypeDescription
com.google.iam.v1.BindingOrBuilder

getIdentityList()

public IamPolicyAnalysisResult.IdentityList getIdentityList()

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
TypeDescription
IamPolicyAnalysisResult.IdentityList

The identityList.

getIdentityListOrBuilder()

public IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder()

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
TypeDescription
IamPolicyAnalysisResult.IdentityListOrBuilder

getParserForType()

public Parser<IamPolicyAnalysisResult> getParserForType()
Returns
TypeDescription
Parser<IamPolicyAnalysisResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasIamBinding()

public boolean hasIamBinding()

The Cloud IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Returns
TypeDescription
boolean

Whether the iamBinding field is set.

hasIdentityList()

public boolean hasIdentityList()

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
TypeDescription
boolean

Whether the identityList field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IamPolicyAnalysisResult.Builder newBuilderForType()
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IamPolicyAnalysisResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IamPolicyAnalysisResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IamPolicyAnalysisResult.Builder toBuilder()
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException