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 Type
    Method
    Description
    Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
    int
    Indicates 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.
    int
    The 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.
    The general errors contained in the troubleshooting response.
    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
    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 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.
    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

    isInitialized

    Methods 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

       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<Status> getErrorsList()
       The general errors contained in the troubleshooting response.
       
      repeated .google.rpc.Status errors = 3;
    • getErrors

      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 StatusOrBuilder> getErrorsOrBuilderList()
       The general errors contained in the troubleshooting response.
       
      repeated .google.rpc.Status errors = 3;
    • getErrorsOrBuilder

      StatusOrBuilder getErrorsOrBuilder(int index)
       The general errors contained in the troubleshooting response.
       
      repeated .google.rpc.Status errors = 3;