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
ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER
public static final int ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER
Field Value
FULLY_EXPLORED_FIELD_NUMBER
public static final int FULLY_EXPLORED_FIELD_NUMBER
Field Value
IAM_BINDING_FIELD_NUMBER
public static final int IAM_BINDING_FIELD_NUMBER
Field Value
IDENTITY_LIST_FIELD_NUMBER
public static final int IDENTITY_LIST_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static IamPolicyAnalysisResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IamPolicyAnalysisResult.Builder newBuilder()
Returns
newBuilder(IamPolicyAnalysisResult prototype)
public static IamPolicyAnalysisResult.Builder newBuilder(IamPolicyAnalysisResult prototype)
Parameter
Returns
public static IamPolicyAnalysisResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IamPolicyAnalysisResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IamPolicyAnalysisResult parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IamPolicyAnalysisResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IamPolicyAnalysisResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IamPolicyAnalysisResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IamPolicyAnalysisResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IamPolicyAnalysisResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IamPolicyAnalysisResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IamPolicyAnalysisResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IamPolicyAnalysisResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IamPolicyAnalysisResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IamPolicyAnalysisResult> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
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
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
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
Returns
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
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
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
getParserForType()
public Parser<IamPolicyAnalysisResult> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public IamPolicyAnalysisResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IamPolicyAnalysisResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IamPolicyAnalysisResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions