# Cloud Key Management Service (KMS) V1 API - Module Google::Cloud::Kms::V1::AccessReason (v1.13.0)

1.13.0 (latest) 1.12.1 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.2 1.2.1 1.1.0 1.0.2 0.27.0 0.26.0 0.25.1 0.24.3 0.23.0 0.22.1 0.21.0 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API module Google::Cloud::Kms::V1::AccessReason.

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.

## Constants

### REASON_UNSPECIFIED

**value:** 0  
Unspecified access reason.

### CUSTOMER_INITIATED_SUPPORT

**value:** 1  
Customer-initiated support.

### GOOGLE_INITIATED_SERVICE

**value:** 2  
Google-initiated access for system management and troubleshooting.

### THIRD_PARTY_DATA_REQUEST

**value:** 3  
Google-initiated access in response to a legal request or legal process.

### GOOGLE_INITIATED_REVIEW

**value:** 4  
Google-initiated access for security, fraud, abuse, or compliance purposes.

### CUSTOMER_INITIATED_ACCESS

**value:** 5  
Customer uses their account to perform any access to their own data which
their IAM policy authorizes.

### GOOGLE_INITIATED_SYSTEM_OPERATION

**value:** 6  
Google systems access customer data to help optimize the structure of the
data or quality for future uses by the customer.

### REASON_NOT_EXPECTED

**value:** 7  
No reason is expected for this key request.

### MODIFIED_CUSTOMER_INITIATED_ACCESS

**value:** 8  

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.

<br />

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_GOOGLE_INITIATED_SYSTEM_OPERATION

**value:** 9  

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.

<br />

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.

### GOOGLE_RESPONSE_TO_PRODUCTION_ALERT

**value:** 10  
Google-initiated access to maintain system reliability.

### CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING

**value:** 11  

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:

<br />

- 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.