[[["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 ProtectionLevel (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-kms/latest/V1.ProtectionLevel)\n- [2.3.0](/php/docs/reference/cloud-kms/2.3.0/V1.ProtectionLevel)\n- [2.2.0](/php/docs/reference/cloud-kms/2.2.0/V1.ProtectionLevel)\n- [2.1.6](/php/docs/reference/cloud-kms/2.1.6/V1.ProtectionLevel)\n- [2.0.0](/php/docs/reference/cloud-kms/2.0.0/V1.ProtectionLevel)\n- [1.23.0](/php/docs/reference/cloud-kms/1.23.0/V1.ProtectionLevel)\n- [1.22.1](/php/docs/reference/cloud-kms/1.22.1/V1.ProtectionLevel)\n- [1.21.4](/php/docs/reference/cloud-kms/1.21.4/V1.ProtectionLevel)\n- [1.20.3](/php/docs/reference/cloud-kms/1.20.3/V1.ProtectionLevel)\n- [1.19.0](/php/docs/reference/cloud-kms/1.19.0/V1.ProtectionLevel)\n- [1.18.1](/php/docs/reference/cloud-kms/1.18.1/V1.ProtectionLevel)\n- [1.17.0](/php/docs/reference/cloud-kms/1.17.0/V1.ProtectionLevel)\n- [1.16.4](/php/docs/reference/cloud-kms/1.16.4/V1.ProtectionLevel)\n- [1.15.3](/php/docs/reference/cloud-kms/1.15.3/V1.ProtectionLevel) \nReference documentation and code samples for the Cloud KMS V1 Client class ProtectionLevel.\n\n[ProtectionLevel](/php/docs/reference/cloud-kms/latest/V1.ProtectionLevel) specifies how\ncryptographic operations are performed. For more information, see [Protection\nlevels](https://cloud.google.com/kms/docs/algorithms#protection_levels).\n\nProtobuf type `google.cloud.kms.v1.ProtectionLevel`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Kms \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### PROTECTION_LEVEL_UNSPECIFIED\n\n Value: 0\n\nNot specified.\n\nGenerated from protobuf enum `PROTECTION_LEVEL_UNSPECIFIED = 0;`\n\n### SOFTWARE\n\n Value: 1\n\nCrypto operations are performed in software.\n\nGenerated from protobuf enum `SOFTWARE = 1;`\n\n### HSM\n\n Value: 2\n\nCrypto operations are performed in a Hardware Security Module.\n\nGenerated from protobuf enum `HSM = 2;`\n\n### EXTERNAL\n\n Value: 3\n\nCrypto operations are performed by an external key manager.\n\nGenerated from protobuf enum `EXTERNAL = 3;`\n\n### EXTERNAL_VPC\n\n Value: 4\n\nCrypto operations are performed in an EKM-over-VPC backend.\n\nGenerated from protobuf enum `EXTERNAL_VPC = 4;`"]]