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
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
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:
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# KMS Inventory V1 API - Module Google::Cloud::Kms::V1::AccessReason (v0.15.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.15.1 (latest)](/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-AccessReason)\n- [0.15.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.15.0/Google-Cloud-Kms-V1-AccessReason)\n- [0.14.1](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.14.1/Google-Cloud-Kms-V1-AccessReason)\n- [0.13.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.13.0/Google-Cloud-Kms-V1-AccessReason)\n- [0.12.2](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.12.2/Google-Cloud-Kms-V1-AccessReason)\n- [0.11.3](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.11.3/Google-Cloud-Kms-V1-AccessReason)\n- [0.10.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.10.0/Google-Cloud-Kms-V1-AccessReason)\n- [0.9.1](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.9.1/Google-Cloud-Kms-V1-AccessReason)\n- [0.8.3](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.8.3/Google-Cloud-Kms-V1-AccessReason)\n- [0.7.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.7.0/Google-Cloud-Kms-V1-AccessReason)\n- [0.6.1](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.6.1/Google-Cloud-Kms-V1-AccessReason)\n- [0.5.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.5.0/Google-Cloud-Kms-V1-AccessReason)\n- [0.4.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.4.0/Google-Cloud-Kms-V1-AccessReason)\n- [0.3.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.3.0/Google-Cloud-Kms-V1-AccessReason)\n- [0.2.1](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.2.1/Google-Cloud-Kms-V1-AccessReason)\n- [0.1.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.1.0/Google-Cloud-Kms-V1-AccessReason) \nReference documentation and code samples for the KMS Inventory V1 API module Google::Cloud::Kms::V1::AccessReason.\n\nDescribes the reason for a data access. Please refer to\n\u003chttps://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes\u003e\nfor the detailed semantic meaning of justification reason codes.\n\nConstants\n---------\n\n### REASON_UNSPECIFIED\n\n**value:** 0 \nUnspecified access reason.\n\n### CUSTOMER_INITIATED_SUPPORT\n\n**value:** 1 \nCustomer-initiated support.\n\n### GOOGLE_INITIATED_SERVICE\n\n**value:** 2 \nGoogle-initiated access for system management and troubleshooting.\n\n### THIRD_PARTY_DATA_REQUEST\n\n**value:** 3 \nGoogle-initiated access in response to a legal request or legal process.\n\n### GOOGLE_INITIATED_REVIEW\n\n**value:** 4 \nGoogle-initiated access for security, fraud, abuse, or compliance purposes.\n\n### CUSTOMER_INITIATED_ACCESS\n\n**value:** 5 \nCustomer uses their account to perform any access to their own data which\ntheir IAM policy authorizes.\n\n### GOOGLE_INITIATED_SYSTEM_OPERATION\n\n**value:** 6 \nGoogle systems access customer data to help optimize the structure of the\ndata or quality for future uses by the customer.\n\n### REASON_NOT_EXPECTED\n\n**value:** 7 \nNo reason is expected for this key request.\n\n### MODIFIED_CUSTOMER_INITIATED_ACCESS\n\n**value:** 8 \n\nCustomer uses their account to perform any access to their own data which\ntheir IAM policy authorizes, and one of the following is true:\n\n\u003cbr /\u003e\n\n- A Google administrator has reset the root-access account associated with the user's organization within the past 7 days.\n- 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.\n\n### MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION\n\n**value:** 9 \n\nGoogle systems access customer data to help optimize the structure of the\ndata or quality for future uses by the customer, and one of the following\nis true:\n\n\u003cbr /\u003e\n\n- A Google administrator has reset the root-access account associated with the user's organization within the past 7 days.\n- 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.\n\n### GOOGLE_RESPONSE_TO_PRODUCTION_ALERT\n\n**value:** 10 \nGoogle-initiated access to maintain system reliability.\n\n### CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING\n\n**value:** 11 \n\nOne of the following operations is being executed while simultaneously\nencountering an internal technical issue which prevented a more precise\njustification code from being generated:\n\n\u003cbr /\u003e\n\n- Your account has been used to perform any access to your own data which your IAM policy authorizes.\n- An automated Google system operates on encrypted customer data which your IAM policy authorizes.\n- Customer-initiated Google support access.\n- Google-initiated support access to protect system reliability."]]