public interface ExplainedPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
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.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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint 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;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;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;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;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;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;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;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;
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;
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;
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;
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;
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;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;Copyright © 2024 Google LLC. All rights reserved.