public static final class Explanations.ExplainedPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Explanations.ExplainedPolicy.Builder> 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 | Method and Description |
|---|---|
Explanations.ExplainedPolicy.Builder |
addAllBindingExplanations(Iterable<? extends Explanations.BindingExplanation> values)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.ExplainedPolicy.Builder |
addBindingExplanations(Explanations.BindingExplanation.Builder builderForValue)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.ExplainedPolicy.Builder |
addBindingExplanations(Explanations.BindingExplanation value)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.ExplainedPolicy.Builder |
addBindingExplanations(int index,
Explanations.BindingExplanation.Builder builderForValue)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.ExplainedPolicy.Builder |
addBindingExplanations(int index,
Explanations.BindingExplanation value)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.BindingExplanation.Builder |
addBindingExplanationsBuilder()
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.BindingExplanation.Builder |
addBindingExplanationsBuilder(int index)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.ExplainedPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Explanations.ExplainedPolicy |
build() |
Explanations.ExplainedPolicy |
buildPartial() |
Explanations.ExplainedPolicy.Builder |
clear() |
Explanations.ExplainedPolicy.Builder |
clearAccess()
Indicates whether _this policy_ provides the specified permission to the
specified member for the specified resource.
|
Explanations.ExplainedPolicy.Builder |
clearBindingExplanations()
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.ExplainedPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Explanations.ExplainedPolicy.Builder |
clearFullResourceName()
The full resource name that identifies the resource.
|
Explanations.ExplainedPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Explanations.ExplainedPolicy.Builder |
clearPolicy()
The IAM policy attached to the resource.
|
Explanations.ExplainedPolicy.Builder |
clearRelevance()
The relevance of this policy to the overall determination in the
[TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
|
Explanations.ExplainedPolicy.Builder |
clone() |
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.
|
Explanations.BindingExplanation.Builder |
getBindingExplanationsBuilder(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<Explanations.BindingExplanation.Builder> |
getBindingExplanationsBuilderList()
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.
|
Explanations.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.
|
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].
|
boolean |
hasPolicy()
The IAM policy attached to the resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Explanations.ExplainedPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Explanations.ExplainedPolicy.Builder |
mergeFrom(Explanations.ExplainedPolicy other) |
Explanations.ExplainedPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
Explanations.ExplainedPolicy.Builder |
mergePolicy(com.google.iam.v1.Policy value)
The IAM policy attached to the resource.
|
Explanations.ExplainedPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Explanations.ExplainedPolicy.Builder |
removeBindingExplanations(int index)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.ExplainedPolicy.Builder |
setAccess(Explanations.AccessState value)
Indicates whether _this policy_ provides the specified permission to the
specified member for the specified resource.
|
Explanations.ExplainedPolicy.Builder |
setAccessValue(int value)
Indicates whether _this policy_ provides the specified permission to the
specified member for the specified resource.
|
Explanations.ExplainedPolicy.Builder |
setBindingExplanations(int index,
Explanations.BindingExplanation.Builder builderForValue)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.ExplainedPolicy.Builder |
setBindingExplanations(int index,
Explanations.BindingExplanation value)
Details about how each binding in the policy affects the member's ability,
or inability, to use the permission for the resource.
|
Explanations.ExplainedPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Explanations.ExplainedPolicy.Builder |
setFullResourceName(String value)
The full resource name that identifies the resource.
|
Explanations.ExplainedPolicy.Builder |
setFullResourceNameBytes(com.google.protobuf.ByteString value)
The full resource name that identifies the resource.
|
Explanations.ExplainedPolicy.Builder |
setPolicy(com.google.iam.v1.Policy.Builder builderForValue)
The IAM policy attached to the resource.
|
Explanations.ExplainedPolicy.Builder |
setPolicy(com.google.iam.v1.Policy value)
The IAM policy attached to the resource.
|
Explanations.ExplainedPolicy.Builder |
setRelevance(Explanations.HeuristicRelevance value)
The relevance of this policy to the overall determination in the
[TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
|
Explanations.ExplainedPolicy.Builder |
setRelevanceValue(int value)
The relevance of this policy to the overall determination in the
[TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse].
|
Explanations.ExplainedPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Explanations.ExplainedPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Explanations.ExplainedPolicy.Builder>public Explanations.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<Explanations.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<Explanations.ExplainedPolicy.Builder>public Explanations.ExplainedPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Explanations.ExplainedPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Explanations.ExplainedPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Explanations.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<Explanations.ExplainedPolicy.Builder>public Explanations.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<Explanations.ExplainedPolicy.Builder>public Explanations.ExplainedPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Explanations.ExplainedPolicy.Builder>public Explanations.ExplainedPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Explanations.ExplainedPolicy.Builder>public Explanations.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<Explanations.ExplainedPolicy.Builder>public Explanations.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<Explanations.ExplainedPolicy.Builder>public Explanations.ExplainedPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Explanations.ExplainedPolicy.Builder>public Explanations.ExplainedPolicy.Builder mergeFrom(Explanations.ExplainedPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Explanations.ExplainedPolicy.Builder>public Explanations.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<Explanations.ExplainedPolicy.Builder>IOExceptionpublic 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.ExplainedPolicy.Builder setAccessValue(int value)
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;value - The enum numeric value on the wire for access to set.public 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 Explanations.ExplainedPolicy.Builder setAccess(Explanations.AccessState value)
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;value - The access to set.public Explanations.ExplainedPolicy.Builder clearAccess()
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;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 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 Explanations.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 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;value - The fullResourceName to set.public Explanations.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 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;public Explanations.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 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;value - The bytes for fullResourceName to set.public 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 Explanations.ExplainedPolicy.Builder setPolicy(com.google.iam.v1.Policy value)
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;public Explanations.ExplainedPolicy.Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue)
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;public Explanations.ExplainedPolicy.Builder mergePolicy(com.google.iam.v1.Policy value)
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;public Explanations.ExplainedPolicy.Builder clearPolicy()
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;public com.google.iam.v1.Policy.Builder getPolicyBuilder()
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;public 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 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.ExplainedPolicy.Builder setBindingExplanations(int index, Explanations.BindingExplanation value)
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;
public Explanations.ExplainedPolicy.Builder setBindingExplanations(int index, Explanations.BindingExplanation.Builder builderForValue)
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;
public Explanations.ExplainedPolicy.Builder addBindingExplanations(Explanations.BindingExplanation value)
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;
public Explanations.ExplainedPolicy.Builder addBindingExplanations(int index, Explanations.BindingExplanation value)
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;
public Explanations.ExplainedPolicy.Builder addBindingExplanations(Explanations.BindingExplanation.Builder builderForValue)
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;
public Explanations.ExplainedPolicy.Builder addBindingExplanations(int index, Explanations.BindingExplanation.Builder builderForValue)
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;
public Explanations.ExplainedPolicy.Builder addAllBindingExplanations(Iterable<? extends Explanations.BindingExplanation> values)
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;
public Explanations.ExplainedPolicy.Builder clearBindingExplanations()
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;
public Explanations.ExplainedPolicy.Builder removeBindingExplanations(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;
public Explanations.BindingExplanation.Builder getBindingExplanationsBuilder(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;
public 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 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 Explanations.BindingExplanation.Builder addBindingExplanationsBuilder()
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;
public Explanations.BindingExplanation.Builder addBindingExplanationsBuilder(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;
public List<Explanations.BindingExplanation.Builder> getBindingExplanationsBuilderList()
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;
public 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.ExplainedPolicy.Builder setRelevanceValue(int value)
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;value - The enum numeric value on the wire for relevance to set.public 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 Explanations.ExplainedPolicy.Builder setRelevance(Explanations.HeuristicRelevance value)
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;value - The relevance to set.public Explanations.ExplainedPolicy.Builder clearRelevance()
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;public final Explanations.ExplainedPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Explanations.ExplainedPolicy.Builder>public final Explanations.ExplainedPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Explanations.ExplainedPolicy.Builder>Copyright © 2022 Google LLC. All rights reserved.