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.
1216 1217 1218 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1216 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
1214 1215 1216 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1214 def cloud_kms_key @cloud_kms_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1221 1222 1223 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1221 def update!(**args) @cloud_kms_key = args[:cloud_kms_key] if args.key?(:cloud_kms_key) end |