Enum AccessReason

java.lang.Object
java.lang.Enum<AccessReason>
com.google.cloud.kms.v1.AccessReason
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AccessReason>

@Generated public enum AccessReason extends Enum<AccessReason> implements com.google.protobuf.ProtocolMessageEnum
 Describes the reason for a data access. Please refer to
 https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes
 for the detailed semantic meaning of justification reason codes.
 
Protobuf enum google.cloud.kms.v1.AccessReason
  • Enum Constant Details

    • REASON_UNSPECIFIED

      public static final AccessReason REASON_UNSPECIFIED
       Unspecified access reason.
       
      REASON_UNSPECIFIED = 0;
    • CUSTOMER_INITIATED_SUPPORT

      public static final AccessReason CUSTOMER_INITIATED_SUPPORT
       Customer-initiated support.
       
      CUSTOMER_INITIATED_SUPPORT = 1;
    • GOOGLE_INITIATED_SERVICE

      public static final AccessReason GOOGLE_INITIATED_SERVICE
       Google-initiated access for system management and troubleshooting.
       
      GOOGLE_INITIATED_SERVICE = 2;
    • THIRD_PARTY_DATA_REQUEST

      public static final AccessReason THIRD_PARTY_DATA_REQUEST
       Google-initiated access in response to a legal request or legal process.
       
      THIRD_PARTY_DATA_REQUEST = 3;
    • GOOGLE_INITIATED_REVIEW

      public static final AccessReason GOOGLE_INITIATED_REVIEW
       Google-initiated access for security, fraud, abuse, or compliance purposes.
       
      GOOGLE_INITIATED_REVIEW = 4;
    • CUSTOMER_INITIATED_ACCESS

      public static final AccessReason CUSTOMER_INITIATED_ACCESS
       Customer uses their account to perform any access to their own data which
       their IAM policy authorizes.
       
      CUSTOMER_INITIATED_ACCESS = 5;
    • GOOGLE_INITIATED_SYSTEM_OPERATION

      public static final AccessReason GOOGLE_INITIATED_SYSTEM_OPERATION
       Google systems access customer data to help optimize the structure of the
       data or quality for future uses by the customer.
       
      GOOGLE_INITIATED_SYSTEM_OPERATION = 6;
    • REASON_NOT_EXPECTED

      public static final AccessReason REASON_NOT_EXPECTED
       No reason is expected for this key request.
       
      REASON_NOT_EXPECTED = 7;
    • MODIFIED_CUSTOMER_INITIATED_ACCESS

      @Deprecated public static final AccessReason MODIFIED_CUSTOMER_INITIATED_ACCESS
      Deprecated.
       Deprecated: This code is no longer generated by
       Google Cloud. The GOOGLE_RESPONSE_TO_PRODUCTION_ALERT justification codes
       available in both Key Access Justifications and Access Transparency logs
       provide customer-visible signals of emergency access in more precise
       contexts.
      
       Customer uses their account to perform any access to their own data which
       their IAM policy authorizes, and one of the following is true:
      
       * A Google administrator has reset the root-access account associated with
       the user's organization within the past 7 days.
       * A Google-initiated emergency access operation has interacted with a
       resource in the same project or folder as the currently accessed resource
       within the past 7 days.
       
      MODIFIED_CUSTOMER_INITIATED_ACCESS = 8 [deprecated = true];
    • MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION

      @Deprecated public static final AccessReason MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION
      Deprecated.
       Deprecated: This code is no longer generated by
       Google Cloud. The GOOGLE_RESPONSE_TO_PRODUCTION_ALERT justification codes
       available in both Key Access Justifications and Access Transparency logs
       provide customer-visible signals of emergency access in more precise
       contexts.
      
       Google systems access customer data to help optimize the structure of the
       data or quality for future uses by the customer, and one of the following
       is true:
      
       * A Google administrator has reset the root-access account associated with
       the user's organization within the past 7 days.
       * A Google-initiated emergency access operation has interacted with a
       resource in the same project or folder as the currently accessed resource
       within the past 7 days.
       
      MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION = 9 [deprecated = true];
    • GOOGLE_RESPONSE_TO_PRODUCTION_ALERT

      public static final AccessReason GOOGLE_RESPONSE_TO_PRODUCTION_ALERT
       Google-initiated access to maintain system reliability.
       
      GOOGLE_RESPONSE_TO_PRODUCTION_ALERT = 10;
    • CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING

      public static final AccessReason CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING
       One of the following operations is being executed while simultaneously
       encountering an internal technical issue which prevented a more precise
       justification code from being generated:
      
       * Your account has been used to perform any access to your own data which
       your IAM policy authorizes.
       * An automated Google system operates on encrypted customer data which your
       IAM policy authorizes.
       * Customer-initiated Google support access.
       * Google-initiated support access to protect system reliability.
       
      CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING = 11;
    • UNRECOGNIZED

      public static final AccessReason UNRECOGNIZED
  • Field Details

    • REASON_UNSPECIFIED_VALUE

      public static final int REASON_UNSPECIFIED_VALUE
       Unspecified access reason.
       
      REASON_UNSPECIFIED = 0;
      See Also:
    • CUSTOMER_INITIATED_SUPPORT_VALUE

      public static final int CUSTOMER_INITIATED_SUPPORT_VALUE
       Customer-initiated support.
       
      CUSTOMER_INITIATED_SUPPORT = 1;
      See Also:
    • GOOGLE_INITIATED_SERVICE_VALUE

      public static final int GOOGLE_INITIATED_SERVICE_VALUE
       Google-initiated access for system management and troubleshooting.
       
      GOOGLE_INITIATED_SERVICE = 2;
      See Also:
    • THIRD_PARTY_DATA_REQUEST_VALUE

      public static final int THIRD_PARTY_DATA_REQUEST_VALUE
       Google-initiated access in response to a legal request or legal process.
       
      THIRD_PARTY_DATA_REQUEST = 3;
      See Also:
    • GOOGLE_INITIATED_REVIEW_VALUE

      public static final int GOOGLE_INITIATED_REVIEW_VALUE
       Google-initiated access for security, fraud, abuse, or compliance purposes.
       
      GOOGLE_INITIATED_REVIEW = 4;
      See Also:
    • CUSTOMER_INITIATED_ACCESS_VALUE

      public static final int CUSTOMER_INITIATED_ACCESS_VALUE
       Customer uses their account to perform any access to their own data which
       their IAM policy authorizes.
       
      CUSTOMER_INITIATED_ACCESS = 5;
      See Also:
    • GOOGLE_INITIATED_SYSTEM_OPERATION_VALUE

      public static final int GOOGLE_INITIATED_SYSTEM_OPERATION_VALUE
       Google systems access customer data to help optimize the structure of the
       data or quality for future uses by the customer.
       
      GOOGLE_INITIATED_SYSTEM_OPERATION = 6;
      See Also:
    • REASON_NOT_EXPECTED_VALUE

      public static final int REASON_NOT_EXPECTED_VALUE
       No reason is expected for this key request.
       
      REASON_NOT_EXPECTED = 7;
      See Also:
    • MODIFIED_CUSTOMER_INITIATED_ACCESS_VALUE

      @Deprecated public static final int MODIFIED_CUSTOMER_INITIATED_ACCESS_VALUE
      Deprecated.
       Deprecated: This code is no longer generated by
       Google Cloud. The GOOGLE_RESPONSE_TO_PRODUCTION_ALERT justification codes
       available in both Key Access Justifications and Access Transparency logs
       provide customer-visible signals of emergency access in more precise
       contexts.
      
       Customer uses their account to perform any access to their own data which
       their IAM policy authorizes, and one of the following is true:
      
       * A Google administrator has reset the root-access account associated with
       the user's organization within the past 7 days.
       * A Google-initiated emergency access operation has interacted with a
       resource in the same project or folder as the currently accessed resource
       within the past 7 days.
       
      MODIFIED_CUSTOMER_INITIATED_ACCESS = 8 [deprecated = true];
      See Also:
    • MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION_VALUE

      @Deprecated public static final int MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION_VALUE
      Deprecated.
       Deprecated: This code is no longer generated by
       Google Cloud. The GOOGLE_RESPONSE_TO_PRODUCTION_ALERT justification codes
       available in both Key Access Justifications and Access Transparency logs
       provide customer-visible signals of emergency access in more precise
       contexts.
      
       Google systems access customer data to help optimize the structure of the
       data or quality for future uses by the customer, and one of the following
       is true:
      
       * A Google administrator has reset the root-access account associated with
       the user's organization within the past 7 days.
       * A Google-initiated emergency access operation has interacted with a
       resource in the same project or folder as the currently accessed resource
       within the past 7 days.
       
      MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION = 9 [deprecated = true];
      See Also:
    • GOOGLE_RESPONSE_TO_PRODUCTION_ALERT_VALUE

      public static final int GOOGLE_RESPONSE_TO_PRODUCTION_ALERT_VALUE
       Google-initiated access to maintain system reliability.
       
      GOOGLE_RESPONSE_TO_PRODUCTION_ALERT = 10;
      See Also:
    • CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING_VALUE

      public static final int CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING_VALUE
       One of the following operations is being executed while simultaneously
       encountering an internal technical issue which prevented a more precise
       justification code from being generated:
      
       * Your account has been used to perform any access to your own data which
       your IAM policy authorizes.
       * An automated Google system operates on encrypted customer data which your
       IAM policy authorizes.
       * Customer-initiated Google support access.
       * Google-initiated support access to protect system reliability.
       
      CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING = 11;
      See Also:
  • Method Details

    • values

      public static AccessReason[] 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

      public static AccessReason valueOf(String name)
      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 public static AccessReason valueOf(int value)
      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 AccessReason 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<AccessReason> 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 AccessReason 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