0.22.0 (latest) 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.2 0.15.1 0.14.1 0.13.0 0.12.2 0.11.3 0.10.0 0.9.1 0.8.3 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the KMS Inventory V1 API class Google::Cloud::Kms::V1::ExternalProtectionLevelOptions.

ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") that
are specific to the [EXTERNAL](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__EXTERNAL "Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL (constant)")
protection level and
[EXTERNAL_VPC](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__EXTERNAL_VPC "Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL_VPC (constant)") protection
levels.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ekm_connection_key_path

    def ekm_connection_key_path() -> ::String

**Returns**

- (::String) --- The path to the external key material on the EKM when using \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\] e.g., "v0/my/key". Set this field instead of external_key_uri when using an \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\].

### #ekm_connection_key_path=

    def ekm_connection_key_path=(value) -> ::String

**Parameter**

- **value** (::String) --- The path to the external key material on the EKM when using \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\] e.g., "v0/my/key". Set this field instead of external_key_uri when using an \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\].
**Returns**

- (::String) --- The path to the external key material on the EKM when using \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\] e.g., "v0/my/key". Set this field instead of external_key_uri when using an \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\].

### #external_key_uri

    def external_key_uri() -> ::String

**Returns**

- (::String) --- The URI for an external resource that this [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") represents.

### #external_key_uri=

    def external_key_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The URI for an external resource that this [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") represents.
**Returns**

- (::String) --- The URI for an external resource that this [CryptoKeyVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersion "Google::Cloud::Kms::V1::CryptoKeyVersion (class)") represents.