Class: Google::Apis::PrivatecaV1::EncryptionSpec
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1::EncryptionSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/privateca_v1/classes.rb,
lib/google/apis/privateca_v1/representations.rb,
lib/google/apis/privateca_v1/representations.rb
Overview
The configuration used for encrypting data at rest.
Instance Attribute Summary collapse
-
#cloud_kms_key ⇒ String
The resource name for a Cloud KMS key in the format
projects/*/locations/*/ keyRings/*/cryptoKeys/*.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionSpec
constructor
A new instance of EncryptionSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EncryptionSpec
Returns a new instance of EncryptionSpec.
1228 1229 1230 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_kms_key ⇒ String
The resource name for a Cloud KMS key in the format projects/*/locations/*/
keyRings/*/cryptoKeys/*.
Corresponds to the JSON property cloudKmsKey
1226 1227 1228 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1226 def cloud_kms_key @cloud_kms_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1233 1234 1235 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1233 def update!(**args) @cloud_kms_key = args[:cloud_kms_key] if args.key?(:cloud_kms_key) end |