Class IamPolicyAnalysisResult (3.3.1)

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

Static Fields

ACCESS_CONTROL_LISTS_FIELD_NUMBER

public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER
Field Value
Type Description
int

ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER

public static final int ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER
Field Value
Type Description
int

FULLY_EXPLORED_FIELD_NUMBER

public static final int FULLY_EXPLORED_FIELD_NUMBER
Field Value
Type Description
int

IAM_BINDING_FIELD_NUMBER

public static final int IAM_BINDING_FIELD_NUMBER
Field Value
Type Description
int

IDENTITY_LIST_FIELD_NUMBER

public static final int IDENTITY_LIST_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IamPolicyAnalysisResult getDefaultInstance()
Returns
Type Description
IamPolicyAnalysisResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IamPolicyAnalysisResult.Builder newBuilder()
Returns
Type Description
IamPolicyAnalysisResult.Builder

newBuilder(IamPolicyAnalysisResult prototype)

public static IamPolicyAnalysisResult.Builder newBuilder(IamPolicyAnalysisResult prototype)
Parameter
Name Description
prototype IamPolicyAnalysisResult
Returns
Type Description
IamPolicyAnalysisResult.Builder

parseDelimitedFrom(InputStream input)

public static IamPolicyAnalysisResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IamPolicyAnalysisResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IamPolicyAnalysisResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IamPolicyAnalysisResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IamPolicyAnalysisResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IamPolicyAnalysisResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IamPolicyAnalysisResult> parser()
Returns
Type Description
Parser<IamPolicyAnalysisResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
Name Description
index int
Returns
Type Description
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.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
Type Description
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.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
Type Description
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.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
Name Description
index int
Returns
Type Description
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.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder>

getAttachedResourceFullName()

public String getAttachedResourceFullName()

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

string attached_resource_full_name = 1;

Returns
Type Description
String

The attachedResourceFullName.

getAttachedResourceFullNameBytes()

public ByteString getAttachedResourceFullNameBytes()

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

string attached_resource_full_name = 1;

Returns
Type Description
ByteString

The bytes for attachedResourceFullName.

getDefaultInstanceForType()

public IamPolicyAnalysisResult getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisResult

getFullyExplored()

public boolean getFullyExplored()

Represents whether all analyses on the iam_binding have successfully finished.

bool fully_explored = 5;

Returns
Type Description
boolean

The fullyExplored.

getIamBinding()

public Binding getIamBinding()

The Cloud IAM policy binding under analysis.

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

Returns
Type Description
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
Type Description
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.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
Type Description
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.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
Type Description
IamPolicyAnalysisResult.IdentityListOrBuilder

getParserForType()

public Parser<IamPolicyAnalysisResult> getParserForType()
Returns
Type Description
Parser<IamPolicyAnalysisResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasIamBinding()

public boolean hasIamBinding()

The Cloud IAM policy binding under analysis.

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

Returns
Type Description
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.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
Type Description
boolean

Whether the identityList field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IamPolicyAnalysisResult.Builder newBuilderForType()
Returns
Type Description
IamPolicyAnalysisResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IamPolicyAnalysisResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IamPolicyAnalysisResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IamPolicyAnalysisResult.Builder toBuilder()
Returns
Type Description
IamPolicyAnalysisResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException