Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::ExternalProtectionLevelOptions.
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a CryptoKeyVersion that
are specific to the EXTERNAL
protection level and
EXTERNAL_VPC protection
levels.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#ekm_connection_key_path
defekm_connection_key_path()->::String
Returns
(::String) โ The path to the external key material on the EKM when using
EkmConnection e.g., "v0/my/key". Set
this field instead of external_key_uri when using an
EkmConnection.
#ekm_connection_key_path=
defekm_connection_key_path=(value)->::String
Parameter
value (::String) โ The path to the external key material on the EKM when using
EkmConnection e.g., "v0/my/key". Set
this field instead of external_key_uri when using an
EkmConnection.
Returns
(::String) โ The path to the external key material on the EKM when using
EkmConnection e.g., "v0/my/key". Set
this field instead of external_key_uri when using an
EkmConnection.
#external_key_uri
defexternal_key_uri()->::String
Returns
(::String) โ The URI for an external resource that this
CryptoKeyVersion represents.
#external_key_uri=
defexternal_key_uri=(value)->::String
Parameter
value (::String) โ The URI for an external resource that this
CryptoKeyVersion represents.
Returns
(::String) โ The URI for an external resource that this
CryptoKeyVersion represents.
[[["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,["# Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::ExternalProtectionLevelOptions (v1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [1.6.0](/ruby/docs/reference/google-cloud-kms-v1/1.6.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [1.5.1](/ruby/docs/reference/google-cloud-kms-v1/1.5.1/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [1.4.0](/ruby/docs/reference/google-cloud-kms-v1/1.4.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [1.3.2](/ruby/docs/reference/google-cloud-kms-v1/1.3.2/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [1.2.1](/ruby/docs/reference/google-cloud-kms-v1/1.2.1/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [1.1.0](/ruby/docs/reference/google-cloud-kms-v1/1.1.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [1.0.2](/ruby/docs/reference/google-cloud-kms-v1/1.0.2/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.27.0](/ruby/docs/reference/google-cloud-kms-v1/0.27.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.26.0](/ruby/docs/reference/google-cloud-kms-v1/0.26.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.25.1](/ruby/docs/reference/google-cloud-kms-v1/0.25.1/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.24.3](/ruby/docs/reference/google-cloud-kms-v1/0.24.3/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.23.0](/ruby/docs/reference/google-cloud-kms-v1/0.23.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.22.1](/ruby/docs/reference/google-cloud-kms-v1/0.22.1/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.21.0](/ruby/docs/reference/google-cloud-kms-v1/0.21.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.20.0](/ruby/docs/reference/google-cloud-kms-v1/0.20.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.19.0](/ruby/docs/reference/google-cloud-kms-v1/0.19.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.18.1](/ruby/docs/reference/google-cloud-kms-v1/0.18.1/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.17.0](/ruby/docs/reference/google-cloud-kms-v1/0.17.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.16.0](/ruby/docs/reference/google-cloud-kms-v1/0.16.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.15.0](/ruby/docs/reference/google-cloud-kms-v1/0.15.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.14.0](/ruby/docs/reference/google-cloud-kms-v1/0.14.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.13.0](/ruby/docs/reference/google-cloud-kms-v1/0.13.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.12.0](/ruby/docs/reference/google-cloud-kms-v1/0.12.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.11.0](/ruby/docs/reference/google-cloud-kms-v1/0.11.0/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions)\n- [0.10.2](/ruby/docs/reference/google-cloud-kms-v1/0.10.2/Google-Cloud-Kms-V1-ExternalProtectionLevelOptions) \nReference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::ExternalProtectionLevelOptions.\n\nExternalProtectionLevelOptions stores a group of additional fields for\nconfiguring a [CryptoKeyVersion](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion \"Google::Cloud::Kms::V1::CryptoKeyVersion (class)\") that\nare specific to the [EXTERNAL](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__EXTERNAL \"Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL (constant)\")\nprotection level and\n[EXTERNAL_VPC](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__EXTERNAL_VPC \"Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL_VPC (constant)\") protection\nlevels. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #ekm_connection_key_path\n\n def ekm_connection_key_path() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The path to the external key material on the EKM when using [EkmConnection](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-EkmConnection \"Google::Cloud::Kms::V1::EkmConnection (class)\") e.g., \"v0/my/key\". Set this field instead of external_key_uri when using an [EkmConnection](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-EkmConnection \"Google::Cloud::Kms::V1::EkmConnection (class)\").\n\n### #ekm_connection_key_path=\n\n def ekm_connection_key_path=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The path to the external key material on the EKM when using [EkmConnection](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-EkmConnection \"Google::Cloud::Kms::V1::EkmConnection (class)\") e.g., \"v0/my/key\". Set this field instead of external_key_uri when using an [EkmConnection](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-EkmConnection \"Google::Cloud::Kms::V1::EkmConnection (class)\"). \n**Returns**\n\n- (::String) --- The path to the external key material on the EKM when using [EkmConnection](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-EkmConnection \"Google::Cloud::Kms::V1::EkmConnection (class)\") e.g., \"v0/my/key\". Set this field instead of external_key_uri when using an [EkmConnection](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-EkmConnection \"Google::Cloud::Kms::V1::EkmConnection (class)\").\n\n### #external_key_uri\n\n def external_key_uri() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The URI for an external resource that this [CryptoKeyVersion](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion \"Google::Cloud::Kms::V1::CryptoKeyVersion (class)\") represents.\n\n### #external_key_uri=\n\n def external_key_uri=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The URI for an external resource that this [CryptoKeyVersion](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion \"Google::Cloud::Kms::V1::CryptoKeyVersion (class)\") represents. \n**Returns**\n\n- (::String) --- The URI for an external resource that this [CryptoKeyVersion](/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion \"Google::Cloud::Kms::V1::CryptoKeyVersion (class)\") represents."]]