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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ExternalProtectionLevelOptions

Returns a new instance of ExternalProtectionLevelOptions.


948
949
950
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 948

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

Instance Attribute Details

#external_key_uriString

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

Returns:

  • (String)

946
947
948
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 946

def external_key_uri
  @external_key_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


953
954
955
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 953

def update!(**args)
  @external_key_uri = args[:external_key_uri] if args.key?(:external_key_uri)
end