public static final class Explanations.ExplainedPolicy extends com.google.protobuf.GeneratedMessageV3 implements Explanations.ExplainedPolicyOrBuilder
Details about how a specific IAM [Policy][google.iam.v1.Policy] contributed to the access check.Protobuf type
google.cloud.policytroubleshooter.v1.ExplainedPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
Explanations.ExplainedPolicy.Builder
Details about how a specific IAM [Policy][google.iam.v1.Policy] contributed
to the access check.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_FIELD_NUMBER |
static int |
BINDING_EXPLANATIONS_FIELD_NUMBER |
static int |
FULL_RESOURCE_NAME_FIELD_NUMBER |
static int |
POLICY_FIELD_NUMBER |
static int |
RELEVANCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Explanations.AccessState |
getAccess()
Indicates whether _this policy_ provides the specified permission to the
specified member for the specified resource.
|
int |
getAccessValue()
Indicates whether _this policy_ provides the specified permission to the
specified member for the specified resource.
|
Explanations.BindingExplanation |
getBindingExplanations(int index)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
int |
getBindingExplanationsCount()
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
List<Explanations.BindingExplanation> |
getBindingExplanationsList()
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.BindingExplanationOrBuilder |
getBindingExplanationsOrBuilder(int index)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
List<? extends Explanations.BindingExplanationOrBuilder> |
getBindingExplanationsOrBuilderList()
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
static Explanations.ExplainedPolicy |
getDefaultInstance() |
Explanations.ExplainedPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFullResourceName()
The full resource name that identifies the resource.
|
com.google.protobuf.ByteString |
getFullResourceNameBytes()
The full resource name that identifies the resource.
|
com.google.protobuf.Parser<Explanations.ExplainedPolicy> |
getParserForType() |
com.google.iam.v1.Policy |
getPolicy()
The IAM policy attached to the resource.
|
com.google.iam.v1.PolicyOrBuilder |
getPolicyOrBuilder()
The IAM policy attached to the resource.
|
Explanations.HeuristicRelevance |
getRelevance()
The relevance of this policy to the overall determination in the
[TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
|
int |
getRelevanceValue()
The relevance of this policy to the overall determination in the
[TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPolicy()
The IAM policy attached to the resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Explanations.ExplainedPolicy.Builder |
newBuilder() |
static Explanations.ExplainedPolicy.Builder |
newBuilder(Explanations.ExplainedPolicy prototype) |
Explanations.ExplainedPolicy.Builder |
newBuilderForType() |
protected Explanations.ExplainedPolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Explanations.ExplainedPolicy |
parseDelimitedFrom(InputStream input) |
static Explanations.ExplainedPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Explanations.ExplainedPolicy |
parseFrom(byte[] data) |
static Explanations.ExplainedPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Explanations.ExplainedPolicy |
parseFrom(ByteBuffer data) |
static Explanations.ExplainedPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Explanations.ExplainedPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static Explanations.ExplainedPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Explanations.ExplainedPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Explanations.ExplainedPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Explanations.ExplainedPolicy |
parseFrom(InputStream input) |
static Explanations.ExplainedPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Explanations.ExplainedPolicy> |
parser() |
Explanations.ExplainedPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ACCESS_FIELD_NUMBER
public static final int FULL_RESOURCE_NAME_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
public static final int BINDING_EXPLANATIONS_FIELD_NUMBER
public static final int RELEVANCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getAccessValue()
Indicates whether _this policy_ provides the specified permission to the specified member for the specified resource. This field does _not_ indicate whether the member actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the member actually has the permission, use the `access` field in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
.google.cloud.policytroubleshooter.v1.AccessState access = 1;getAccessValue in interface Explanations.ExplainedPolicyOrBuilderpublic Explanations.AccessState getAccess()
Indicates whether _this policy_ provides the specified permission to the specified member for the specified resource. This field does _not_ indicate whether the member actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the member actually has the permission, use the `access` field in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
.google.cloud.policytroubleshooter.v1.AccessState access = 1;getAccess in interface Explanations.ExplainedPolicyOrBuilderpublic String getFullResourceName()
The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. If the sender of the request does not have access to the policy, this field is omitted. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
string full_resource_name = 2;getFullResourceName in interface Explanations.ExplainedPolicyOrBuilderpublic com.google.protobuf.ByteString getFullResourceNameBytes()
The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. If the sender of the request does not have access to the policy, this field is omitted. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
string full_resource_name = 2;getFullResourceNameBytes in interface Explanations.ExplainedPolicyOrBuilderpublic boolean hasPolicy()
The IAM policy attached to the resource. If the sender of the request does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;hasPolicy in interface Explanations.ExplainedPolicyOrBuilderpublic com.google.iam.v1.Policy getPolicy()
The IAM policy attached to the resource. If the sender of the request does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;getPolicy in interface Explanations.ExplainedPolicyOrBuilderpublic com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
The IAM policy attached to the resource. If the sender of the request does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;getPolicyOrBuilder in interface Explanations.ExplainedPolicyOrBuilderpublic List<Explanations.BindingExplanation> getBindingExplanationsList()
Details about how each binding in the policy affects the member's ability, or inability, to use the permission for the resource. If the sender of the request does not have access to the policy, this field is omitted.
repeated .google.cloud.policytroubleshooter.v1.BindingExplanation binding_explanations = 4;
getBindingExplanationsList in interface Explanations.ExplainedPolicyOrBuilderpublic List<? extends Explanations.BindingExplanationOrBuilder> getBindingExplanationsOrBuilderList()
Details about how each binding in the policy affects the member's ability, or inability, to use the permission for the resource. If the sender of the request does not have access to the policy, this field is omitted.
repeated .google.cloud.policytroubleshooter.v1.BindingExplanation binding_explanations = 4;
getBindingExplanationsOrBuilderList in interface Explanations.ExplainedPolicyOrBuilderpublic int getBindingExplanationsCount()
Details about how each binding in the policy affects the member's ability, or inability, to use the permission for the resource. If the sender of the request does not have access to the policy, this field is omitted.
repeated .google.cloud.policytroubleshooter.v1.BindingExplanation binding_explanations = 4;
getBindingExplanationsCount in interface Explanations.ExplainedPolicyOrBuilderpublic Explanations.BindingExplanation getBindingExplanations(int index)
Details about how each binding in the policy affects the member's ability, or inability, to use the permission for the resource. If the sender of the request does not have access to the policy, this field is omitted.
repeated .google.cloud.policytroubleshooter.v1.BindingExplanation binding_explanations = 4;
getBindingExplanations in interface Explanations.ExplainedPolicyOrBuilderpublic Explanations.BindingExplanationOrBuilder getBindingExplanationsOrBuilder(int index)
Details about how each binding in the policy affects the member's ability, or inability, to use the permission for the resource. If the sender of the request does not have access to the policy, this field is omitted.
repeated .google.cloud.policytroubleshooter.v1.BindingExplanation binding_explanations = 4;
getBindingExplanationsOrBuilder in interface Explanations.ExplainedPolicyOrBuilderpublic int getRelevanceValue()
The relevance of this policy to the overall determination in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse]. If the sender of the request does not have access to the policy, this field is omitted.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 5;getRelevanceValue in interface Explanations.ExplainedPolicyOrBuilderpublic Explanations.HeuristicRelevance getRelevance()
The relevance of this policy to the overall determination in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse]. If the sender of the request does not have access to the policy, this field is omitted.
.google.cloud.policytroubleshooter.v1.HeuristicRelevance relevance = 5;getRelevance in interface Explanations.ExplainedPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Explanations.ExplainedPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Explanations.ExplainedPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Explanations.ExplainedPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Explanations.ExplainedPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Explanations.ExplainedPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Explanations.ExplainedPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Explanations.ExplainedPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static Explanations.ExplainedPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Explanations.ExplainedPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Explanations.ExplainedPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Explanations.ExplainedPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Explanations.ExplainedPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Explanations.ExplainedPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Explanations.ExplainedPolicy.Builder newBuilder()
public static Explanations.ExplainedPolicy.Builder newBuilder(Explanations.ExplainedPolicy prototype)
public Explanations.ExplainedPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Explanations.ExplainedPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Explanations.ExplainedPolicy getDefaultInstance()
public static com.google.protobuf.Parser<Explanations.ExplainedPolicy> parser()
public com.google.protobuf.Parser<Explanations.ExplainedPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Explanations.ExplainedPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.