Class: Google::Apis::CloudkmsV1::EkmConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::EkmConfig
- 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
An EkmConfig is a singleton resource that represents configuration parameters that apply to all CryptoKeys and CryptoKeyVersions with a ProtectionLevel of EXTERNAL_VPC in a given project and location.
Instance Attribute Summary collapse
-
#default_ekm_connection ⇒ String
Optional.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EkmConfig
constructor
A new instance of EkmConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EkmConfig
Returns a new instance of EkmConfig.
1021 1022 1023 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1021 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_ekm_connection ⇒ String
Optional. Resource name of the default EkmConnection. Setting this field to
the empty string removes the default.
Corresponds to the JSON property defaultEkmConnection
1013 1014 1015 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1013 def default_ekm_connection @default_ekm_connection end |
#name ⇒ String
Output only. The resource name for the EkmConfig in the format projects/*/
locations/*/ekmConfig
.
Corresponds to the JSON property name
1019 1020 1021 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1019 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1026 1027 1028 1029 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1026 def update!(**args) @default_ekm_connection = args[:default_ekm_connection] if args.key?(:default_ekm_connection) @name = args[:name] if args.key?(:name) end |