Interface TroubleshootIamPolicyResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TroubleshootIamPolicyResponse,TroubleshootIamPolicyResponse.Builder
@Generated
public interface TroubleshootIamPolicyResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.intIndicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.getErrors(int index) The general errors contained in the troubleshooting response.intThe general errors contained in the troubleshooting response.The general errors contained in the troubleshooting response.getErrorsOrBuilder(int index) The general errors contained in the troubleshooting response.List<? extends StatusOrBuilder>The general errors contained in the troubleshooting response.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.intList 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 of IAM policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.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>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.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3; -
getErrors
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 StatusOrBuilder> getErrorsOrBuilderList()The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3; -
getErrorsOrBuilder
The general errors contained in the troubleshooting response.
repeated .google.rpc.Status errors = 3;
-