Class: Google::Apis::KmsinventoryV1::GoogleCloudKmsV1ExternalProtectionLevelOptions
- Inherits:
-
Object
- Object
- Google::Apis::KmsinventoryV1::GoogleCloudKmsV1ExternalProtectionLevelOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/kmsinventory_v1/classes.rb,
lib/google/apis/kmsinventory_v1/representations.rb,
lib/google/apis/kmsinventory_v1/representations.rb
Overview
ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
Instance Attribute Summary collapse
-
#ekm_connection_key_path ⇒ String
The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key".
-
#external_key_uri ⇒ String
The URI for an external resource that this CryptoKeyVersion represents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudKmsV1ExternalProtectionLevelOptions
constructor
A new instance of GoogleCloudKmsV1ExternalProtectionLevelOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudKmsV1ExternalProtectionLevelOptions
Returns a new instance of GoogleCloudKmsV1ExternalProtectionLevelOptions.
507 508 509 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 507 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ekm_connection_key_path ⇒ 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.
Corresponds to the JSON property ekmConnectionKeyPath
500 501 502 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 500 def ekm_connection_key_path @ekm_connection_key_path end |
#external_key_uri ⇒ String
The URI for an external resource that this CryptoKeyVersion represents.
Corresponds to the JSON property externalKeyUri
505 506 507 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 505 def external_key_uri @external_key_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
512 513 514 515 |
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 512 def update!(**args) @ekm_connection_key_path = args[:ekm_connection_key_path] if args.key?(:ekm_connection_key_path) @external_key_uri = args[:external_key_uri] if args.key?(:external_key_uri) end |