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 Summary
Enum ConstantsEnum ConstantDescriptionThe principal has the permission.The principal doesn't have the permission.Not specified.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.The principal might have the permission, but the sender can't access all of the information needed to fully evaluate the principal's access. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe principal has the permission.static final intThe principal doesn't have the permission.static final intNot specified.static final intThe 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.static final intThe principal might have the permission, but the sender can't access all of the information needed to fully evaluate the principal's access. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TroubleshootIamPolicyResponse.OverallAccessState>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OVERALL_ACCESS_STATE_UNSPECIFIED
public static final TroubleshootIamPolicyResponse.OverallAccessState OVERALL_ACCESS_STATE_UNSPECIFIEDNot specified.
OVERALL_ACCESS_STATE_UNSPECIFIED = 0; -
CAN_ACCESS
The principal has the permission.
CAN_ACCESS = 1; -
CANNOT_ACCESS
The principal doesn't have the permission.
CANNOT_ACCESS = 2; -
UNKNOWN_INFO
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; -
UNKNOWN_CONDITIONAL
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; -
UNRECOGNIZED
-
-
Field Details
-
OVERALL_ACCESS_STATE_UNSPECIFIED_VALUE
public static final int OVERALL_ACCESS_STATE_UNSPECIFIED_VALUENot specified.
OVERALL_ACCESS_STATE_UNSPECIFIED = 0;- See Also:
-
CAN_ACCESS_VALUE
public static final int CAN_ACCESS_VALUEThe principal has the permission.
CAN_ACCESS = 1;- See Also:
-
CANNOT_ACCESS_VALUE
public static final int CANNOT_ACCESS_VALUEThe principal doesn't have the permission.
CANNOT_ACCESS = 2;- See Also:
-
UNKNOWN_INFO_VALUE
public static final int UNKNOWN_INFO_VALUEThe 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_VALUEThe 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-