public static final class ExplainedPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder> implements ExplainedPolicyOrBuilder
Details about how a specific IAM [Policy][google.iam.v1.Policy] contributed to the access check.Protobuf type
google.cloud.policysimulator.v1.ExplainedPolicy| Modifier and Type | Method and Description |
|---|---|
ExplainedPolicy.Builder |
addAllBindingExplanations(Iterable<? extends BindingExplanation> values)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy.Builder |
addBindingExplanations(BindingExplanation.Builder builderForValue)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy.Builder |
addBindingExplanations(BindingExplanation value)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy.Builder |
addBindingExplanations(int index,
BindingExplanation.Builder builderForValue)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy.Builder |
addBindingExplanations(int index,
BindingExplanation value)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
BindingExplanation.Builder |
addBindingExplanationsBuilder()
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
BindingExplanation.Builder |
addBindingExplanationsBuilder(int index)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplainedPolicy |
build() |
ExplainedPolicy |
buildPartial() |
ExplainedPolicy.Builder |
clear() |
ExplainedPolicy.Builder |
clearAccess()
Indicates whether _this policy_ provides the specified permission to the
specified principal for the specified resource.
|
ExplainedPolicy.Builder |
clearBindingExplanations()
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExplainedPolicy.Builder |
clearFullResourceName()
The full resource name that identifies the resource.
|
ExplainedPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExplainedPolicy.Builder |
clearPolicy()
The IAM policy attached to the resource.
|
ExplainedPolicy.Builder |
clearRelevance()
The relevance of this policy to the overall determination in the
[TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
|
ExplainedPolicy.Builder |
clone() |
AccessState |
getAccess()
Indicates whether _this policy_ provides the specified permission to the
specified principal for the specified resource.
|
int |
getAccessValue()
Indicates whether _this policy_ provides the specified permission to the
specified principal for the specified resource.
|
BindingExplanation |
getBindingExplanations(int index)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
BindingExplanation.Builder |
getBindingExplanationsBuilder(int index)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
List<BindingExplanation.Builder> |
getBindingExplanationsBuilderList()
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
int |
getBindingExplanationsCount()
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
List<BindingExplanation> |
getBindingExplanationsList()
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
BindingExplanationOrBuilder |
getBindingExplanationsOrBuilder(int index)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
List<? extends BindingExplanationOrBuilder> |
getBindingExplanationsOrBuilderList()
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.iam.v1.Policy |
getPolicy()
The IAM policy attached to the resource.
|
com.google.iam.v1.Policy.Builder |
getPolicyBuilder()
The IAM policy attached to the resource.
|
com.google.iam.v1.PolicyOrBuilder |
getPolicyOrBuilder()
The IAM policy attached to the resource.
|
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].
|
boolean |
hasPolicy()
The IAM policy attached to the resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExplainedPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExplainedPolicy.Builder |
mergeFrom(ExplainedPolicy other) |
ExplainedPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExplainedPolicy.Builder |
mergePolicy(com.google.iam.v1.Policy value)
The IAM policy attached to the resource.
|
ExplainedPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExplainedPolicy.Builder |
removeBindingExplanations(int index)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy.Builder |
setAccess(AccessState value)
Indicates whether _this policy_ provides the specified permission to the
specified principal for the specified resource.
|
ExplainedPolicy.Builder |
setAccessValue(int value)
Indicates whether _this policy_ provides the specified permission to the
specified principal for the specified resource.
|
ExplainedPolicy.Builder |
setBindingExplanations(int index,
BindingExplanation.Builder builderForValue)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy.Builder |
setBindingExplanations(int index,
BindingExplanation value)
Details about how each binding in the policy affects the principal's
ability, or inability, to use the permission for the resource.
|
ExplainedPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExplainedPolicy.Builder |
setFullResourceName(String value)
The full resource name that identifies the resource.
|
ExplainedPolicy.Builder |
setFullResourceNameBytes(com.google.protobuf.ByteString value)
The full resource name that identifies the resource.
|
ExplainedPolicy.Builder |
setPolicy(com.google.iam.v1.Policy.Builder builderForValue)
The IAM policy attached to the resource.
|
ExplainedPolicy.Builder |
setPolicy(com.google.iam.v1.Policy value)
The IAM policy attached to the resource.
|
ExplainedPolicy.Builder |
setRelevance(HeuristicRelevance value)
The relevance of this policy to the overall determination in the
[TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
|
ExplainedPolicy.Builder |
setRelevanceValue(int value)
The relevance of this policy to the overall determination in the
[TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
|
ExplainedPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExplainedPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public ExplainedPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public ExplainedPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExplainedPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExplainedPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExplainedPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public ExplainedPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public ExplainedPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public ExplainedPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public ExplainedPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public ExplainedPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public ExplainedPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplainedPolicy.Builder>public ExplainedPolicy.Builder mergeFrom(ExplainedPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public ExplainedPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExplainedPolicy.Builder>IOExceptionpublic int getAccessValue()
Indicates whether _this policy_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the `access` field in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
.google.cloud.policysimulator.v1.AccessState access = 1;getAccessValue in interface ExplainedPolicyOrBuilderpublic ExplainedPolicy.Builder setAccessValue(int value)
Indicates whether _this policy_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the `access` field in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
.google.cloud.policysimulator.v1.AccessState access = 1;value - The enum numeric value on the wire for access to set.public AccessState getAccess()
Indicates whether _this policy_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the `access` field in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
.google.cloud.policysimulator.v1.AccessState access = 1;getAccess in interface ExplainedPolicyOrBuilderpublic ExplainedPolicy.Builder setAccess(AccessState value)
Indicates whether _this policy_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the `access` field in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
.google.cloud.policysimulator.v1.AccessState access = 1;value - The access to set.public ExplainedPolicy.Builder clearAccess()
Indicates whether _this policy_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the `access` field in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
.google.cloud.policysimulator.v1.AccessState access = 1;public 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 user who created the [Replay][google.cloud.policysimulator.v1.Replay] 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 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 user who created the [Replay][google.cloud.policysimulator.v1.Replay] 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 ExplainedPolicyOrBuilderpublic ExplainedPolicy.Builder setFullResourceName(String value)
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 user who created the [Replay][google.cloud.policysimulator.v1.Replay] 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;value - The fullResourceName to set.public ExplainedPolicy.Builder clearFullResourceName()
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 user who created the [Replay][google.cloud.policysimulator.v1.Replay] 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;public ExplainedPolicy.Builder setFullResourceNameBytes(com.google.protobuf.ByteString value)
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 user who created the [Replay][google.cloud.policysimulator.v1.Replay] 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;value - The bytes for fullResourceName to set.public boolean hasPolicy()
The IAM policy attached to the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;hasPolicy in interface ExplainedPolicyOrBuilderpublic com.google.iam.v1.Policy getPolicy()
The IAM policy attached to the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;getPolicy in interface ExplainedPolicyOrBuilderpublic ExplainedPolicy.Builder setPolicy(com.google.iam.v1.Policy value)
The IAM policy attached to the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;public ExplainedPolicy.Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue)
The IAM policy attached to the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;public ExplainedPolicy.Builder mergePolicy(com.google.iam.v1.Policy value)
The IAM policy attached to the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;public ExplainedPolicy.Builder clearPolicy()
The IAM policy attached to the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;public com.google.iam.v1.Policy.Builder getPolicyBuilder()
The IAM policy attached to the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
The IAM policy attached to the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is empty.
.google.iam.v1.Policy policy = 3;getPolicyOrBuilder in interface ExplainedPolicyOrBuilderpublic List<BindingExplanation> getBindingExplanationsList()
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
getBindingExplanationsList in interface ExplainedPolicyOrBuilderpublic int getBindingExplanationsCount()
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
getBindingExplanationsCount in interface ExplainedPolicyOrBuilderpublic BindingExplanation getBindingExplanations(int index)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
getBindingExplanations in interface ExplainedPolicyOrBuilderpublic ExplainedPolicy.Builder setBindingExplanations(int index, BindingExplanation value)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public ExplainedPolicy.Builder setBindingExplanations(int index, BindingExplanation.Builder builderForValue)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public ExplainedPolicy.Builder addBindingExplanations(BindingExplanation value)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public ExplainedPolicy.Builder addBindingExplanations(int index, BindingExplanation value)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public ExplainedPolicy.Builder addBindingExplanations(BindingExplanation.Builder builderForValue)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public ExplainedPolicy.Builder addBindingExplanations(int index, BindingExplanation.Builder builderForValue)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public ExplainedPolicy.Builder addAllBindingExplanations(Iterable<? extends BindingExplanation> values)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public ExplainedPolicy.Builder clearBindingExplanations()
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public ExplainedPolicy.Builder removeBindingExplanations(int index)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public BindingExplanation.Builder getBindingExplanationsBuilder(int index)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public BindingExplanationOrBuilder getBindingExplanationsOrBuilder(int index)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
getBindingExplanationsOrBuilder in interface ExplainedPolicyOrBuilderpublic List<? extends BindingExplanationOrBuilder> getBindingExplanationsOrBuilderList()
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
getBindingExplanationsOrBuilderList in interface ExplainedPolicyOrBuilderpublic BindingExplanation.Builder addBindingExplanationsBuilder()
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public BindingExplanation.Builder addBindingExplanationsBuilder(int index)
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public List<BindingExplanation.Builder> getBindingExplanationsBuilderList()
Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
repeated .google.cloud.policysimulator.v1.BindingExplanation binding_explanations = 4;
public int getRelevanceValue()
The relevance of this policy to the overall determination in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse]. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
.google.cloud.policysimulator.v1.HeuristicRelevance relevance = 5;getRelevanceValue in interface ExplainedPolicyOrBuilderpublic ExplainedPolicy.Builder setRelevanceValue(int value)
The relevance of this policy to the overall determination in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse]. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
.google.cloud.policysimulator.v1.HeuristicRelevance relevance = 5;value - The enum numeric value on the wire for relevance to set.public HeuristicRelevance getRelevance()
The relevance of this policy to the overall determination in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse]. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
.google.cloud.policysimulator.v1.HeuristicRelevance relevance = 5;getRelevance in interface ExplainedPolicyOrBuilderpublic ExplainedPolicy.Builder setRelevance(HeuristicRelevance value)
The relevance of this policy to the overall determination in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse]. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
.google.cloud.policysimulator.v1.HeuristicRelevance relevance = 5;value - The relevance to set.public ExplainedPolicy.Builder clearRelevance()
The relevance of this policy to the overall determination in the [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse]. If the user who created the [Replay][google.cloud.policysimulator.v1.Replay] does not have access to the policy, this field is omitted.
.google.cloud.policysimulator.v1.HeuristicRelevance relevance = 5;public final ExplainedPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>public final ExplainedPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExplainedPolicy.Builder>Copyright © 2024 Google LLC. All rights reserved.