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