Generated from protobuf enumREASON_UNSPECIFIED = 0;
CUSTOMER_INITIATED_SUPPORT
Value: 1
Customer-initiated support.
Generated from protobuf enumCUSTOMER_INITIATED_SUPPORT = 1;
GOOGLE_INITIATED_SERVICE
Value: 2
Google-initiated access for system management and troubleshooting.
Generated from protobuf enumGOOGLE_INITIATED_SERVICE = 2;
THIRD_PARTY_DATA_REQUEST
Value: 3
Google-initiated access in response to a legal request or legal process.
Generated from protobuf enumTHIRD_PARTY_DATA_REQUEST = 3;
GOOGLE_INITIATED_REVIEW
Value: 4
Google-initiated access for security, fraud, abuse, or compliance purposes.
Generated from protobuf enumGOOGLE_INITIATED_REVIEW = 4;
CUSTOMER_INITIATED_ACCESS
Value: 5
Customer uses their account to perform any access to their own data which
their IAM policy authorizes.
Generated from protobuf enumCUSTOMER_INITIATED_ACCESS = 5;
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.
Generated from protobuf enumGOOGLE_INITIATED_SYSTEM_OPERATION = 6;
REASON_NOT_EXPECTED
Value: 7
No reason is expected for this key request.
Generated from protobuf enumREASON_NOT_EXPECTED = 7;
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.
Generated from protobuf enumMODIFIED_CUSTOMER_INITIATED_ACCESS = 8;
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.
Generated from protobuf enumMODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION = 9;
GOOGLE_RESPONSE_TO_PRODUCTION_ALERT
Value: 10
Google-initiated access to maintain system reliability.
Generated from protobuf enumGOOGLE_RESPONSE_TO_PRODUCTION_ALERT = 10;
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.
Generated from protobuf enumCUSTOMER_AUTHORIZED_WORKFLOW_SERVICING = 11;
[[["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-09-04 UTC."],[],[],null,["# Cloud KMS V1 Client - Class AccessReason (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-kms/latest/V1.AccessReason)\n- [2.3.0](/php/docs/reference/cloud-kms/2.3.0/V1.AccessReason)\n- [2.2.0](/php/docs/reference/cloud-kms/2.2.0/V1.AccessReason)\n- [2.1.6](/php/docs/reference/cloud-kms/2.1.6/V1.AccessReason)\n- [2.0.0](/php/docs/reference/cloud-kms/2.0.0/V1.AccessReason)\n- [1.23.0](/php/docs/reference/cloud-kms/1.23.0/V1.AccessReason)\n- [1.22.1](/php/docs/reference/cloud-kms/1.22.1/V1.AccessReason)\n- [1.21.4](/php/docs/reference/cloud-kms/1.21.4/V1.AccessReason)\n- [1.20.3](/php/docs/reference/cloud-kms/1.20.3/V1.AccessReason)\n- [1.19.0](/php/docs/reference/cloud-kms/1.19.0/V1.AccessReason)\n- [1.18.1](/php/docs/reference/cloud-kms/1.18.1/V1.AccessReason)\n- [1.17.0](/php/docs/reference/cloud-kms/1.17.0/V1.AccessReason)\n- [1.16.4](/php/docs/reference/cloud-kms/1.16.4/V1.AccessReason)\n- [1.15.3](/php/docs/reference/cloud-kms/1.15.3/V1.AccessReason) \nReference documentation and code samples for the Cloud KMS V1 Client class 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\nProtobuf type `google.cloud.kms.v1.AccessReason`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Kms \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### REASON_UNSPECIFIED\n\n Value: 0\n\nUnspecified access reason.\n\nGenerated from protobuf enum `REASON_UNSPECIFIED = 0;`\n\n### CUSTOMER_INITIATED_SUPPORT\n\n Value: 1\n\nCustomer-initiated support.\n\nGenerated from protobuf enum `CUSTOMER_INITIATED_SUPPORT = 1;`\n\n### GOOGLE_INITIATED_SERVICE\n\n Value: 2\n\nGoogle-initiated access for system management and troubleshooting.\n\nGenerated from protobuf enum `GOOGLE_INITIATED_SERVICE = 2;`\n\n### THIRD_PARTY_DATA_REQUEST\n\n Value: 3\n\nGoogle-initiated access in response to a legal request or legal process.\n\nGenerated from protobuf enum `THIRD_PARTY_DATA_REQUEST = 3;`\n\n### GOOGLE_INITIATED_REVIEW\n\n Value: 4\n\nGoogle-initiated access for security, fraud, abuse, or compliance purposes.\n\nGenerated from protobuf enum `GOOGLE_INITIATED_REVIEW = 4;`\n\n### CUSTOMER_INITIATED_ACCESS\n\n Value: 5\n\nCustomer uses their account to perform any access to their own data which\ntheir IAM policy authorizes.\n\nGenerated from protobuf enum `CUSTOMER_INITIATED_ACCESS = 5;`\n\n### GOOGLE_INITIATED_SYSTEM_OPERATION\n\n Value: 6\n\nGoogle systems access customer data to help optimize the structure of the\ndata or quality for future uses by the customer.\n\nGenerated from protobuf enum `GOOGLE_INITIATED_SYSTEM_OPERATION = 6;`\n\n### REASON_NOT_EXPECTED\n\n Value: 7\n\nNo reason is expected for this key request.\n\nGenerated from protobuf enum `REASON_NOT_EXPECTED = 7;`\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- A Google administrator has reset the root-access account associated with\n the user's organization within the past 7 days.\n\n- A Google-initiated emergency access operation has interacted with a\n resource in the same project or folder as the currently accessed resource\n within the past 7 days.\n\nGenerated from protobuf enum `MODIFIED_CUSTOMER_INITIATED_ACCESS = 8;`\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- A Google administrator has reset the root-access account associated with\n the user's organization within the past 7 days.\n\n- A Google-initiated emergency access operation has interacted with a\n resource in the same project or folder as the currently accessed resource\n within the past 7 days.\n\nGenerated from protobuf enum `MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION = 9;`\n\n### GOOGLE_RESPONSE_TO_PRODUCTION_ALERT\n\n Value: 10\n\nGoogle-initiated access to maintain system reliability.\n\nGenerated from protobuf enum `GOOGLE_RESPONSE_TO_PRODUCTION_ALERT = 10;`\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- Your account has been used to perform any access to your own data which\n your IAM policy authorizes.\n\n- An automated Google system operates on encrypted customer data which your\n IAM policy authorizes.\n\n- Customer-initiated Google support access.\n- Google-initiated support access to protect system reliability.\n\nGenerated from protobuf enum `CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING = 11;`"]]