Enum TroubleshootIamPolicyResponse.OverallAccessState

java.lang.Object
java.lang.Enum<TroubleshootIamPolicyResponse.OverallAccessState>
com.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<TroubleshootIamPolicyResponse.OverallAccessState>
Enclosing class:
TroubleshootIamPolicyResponse

public static enum TroubleshootIamPolicyResponse.OverallAccessState extends Enum<TroubleshootIamPolicyResponse.OverallAccessState> implements com.google.protobuf.ProtocolMessageEnum
 Whether the principal has the permission on the resource.
 
Protobuf enum google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState
  • Enum Constant Details

  • Field Details

    • OVERALL_ACCESS_STATE_UNSPECIFIED_VALUE

      public static final int OVERALL_ACCESS_STATE_UNSPECIFIED_VALUE
       Not specified.
       
      OVERALL_ACCESS_STATE_UNSPECIFIED = 0;
      See Also:
    • CAN_ACCESS_VALUE

      public static final int CAN_ACCESS_VALUE
       The principal has the permission.
       
      CAN_ACCESS = 1;
      See Also:
    • CANNOT_ACCESS_VALUE

      public static final int CANNOT_ACCESS_VALUE
       The principal doesn't have the permission.
       
      CANNOT_ACCESS = 2;
      See Also:
    • UNKNOWN_INFO_VALUE

      public static final int UNKNOWN_INFO_VALUE
       The principal might have the permission, but the sender can't access all
       of the information needed to fully evaluate the principal's access.
       
      UNKNOWN_INFO = 3;
      See Also:
    • UNKNOWN_CONDITIONAL_VALUE

      public static final int UNKNOWN_CONDITIONAL_VALUE
       The principal might have the permission, but Policy Troubleshooter can't
       fully evaluate the principal's access because the sender didn't provide
       the required context to evaluate the condition.
       
      UNKNOWN_CONDITIONAL = 4;
      See Also:
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static TroubleshootIamPolicyResponse.OverallAccessState forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<TroubleshootIamPolicyResponse.OverallAccessState> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static TroubleshootIamPolicyResponse.OverallAccessState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null