Class: Google::Apis::CloudkmsV1::ExternalProtectionLevelOptions

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudkms_v1/classes.rb,
lib/google/apis/cloudkms_v1/representations.rb,
lib/google/apis/cloudkms_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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExternalProtectionLevelOptions

Returns a new instance of ExternalProtectionLevelOptions.



1304
1305
1306
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1304

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ekm_connection_key_pathString

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

Returns:

  • (String)


1297
1298
1299
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1297

def ekm_connection_key_path
  @ekm_connection_key_path
end

#external_key_uriString

The URI for an external resource that this CryptoKeyVersion represents. Corresponds to the JSON property externalKeyUri

Returns:

  • (String)


1302
1303
1304
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1302

def external_key_uri
  @external_key_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1309
1310
1311
1312
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1309

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