Interface TroubleshootIamPolicyResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TroubleshootIamPolicyResponse
,TroubleshootIamPolicyResponse.Builder
public interface TroubleshootIamPolicyResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Explanations.AccessState
getAccess()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.int
getAccessValue()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.com.google.rpc.Status
getErrors(int index)
The general errors contained in the troubleshooting response.int
getErrorsCount()
The general errors contained in the troubleshooting response.List<com.google.rpc.Status>
getErrorsList()
The general errors contained in the troubleshooting response.com.google.rpc.StatusOrBuilder
getErrorsOrBuilder(int index)
The general errors contained in the troubleshooting response.List<? extends com.google.rpc.StatusOrBuilder>
getErrorsOrBuilderList()
The general errors contained in the troubleshooting response.Explanations.ExplainedPolicy
getExplainedPolicies(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.int
getExplainedPoliciesCount()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.List<Explanations.ExplainedPolicy>
getExplainedPoliciesList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.Explanations.ExplainedPolicyOrBuilder
getExplainedPoliciesOrBuilder(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.List<? extends Explanations.ExplainedPolicyOrBuilder>
getExplainedPoliciesOrBuilderList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAccessValue
int getAccessValue()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
- Returns:
- The enum numeric value on the wire for access.
-
getAccess
Explanations.AccessState getAccess()
Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
.google.cloud.policytroubleshooter.v1.AccessState access = 1;
- Returns:
- The access.
-
getExplainedPoliciesList
List<Explanations.ExplainedPolicy> getExplainedPoliciesList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
getExplainedPolicies
Explanations.ExplainedPolicy getExplainedPolicies(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
getExplainedPoliciesCount
int getExplainedPoliciesCount()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
getExplainedPoliciesOrBuilderList
List<? extends Explanations.ExplainedPolicyOrBuilder> getExplainedPoliciesOrBuilderList()
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
getExplainedPoliciesOrBuilder
Explanations.ExplainedPolicyOrBuilder getExplainedPoliciesOrBuilder(int index)
List of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;
-
getErrorsList
List<com.google.rpc.Status> getErrorsList()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
getErrors
com.google.rpc.Status getErrors(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
getErrorsCount
int getErrorsCount()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
getErrorsOrBuilderList
List<? extends com.google.rpc.StatusOrBuilder> getErrorsOrBuilderList()
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
getErrorsOrBuilder
com.google.rpc.StatusOrBuilder getErrorsOrBuilder(int index)
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-
-