Class: Google::Apis::DeveloperconnectV1::CryptoKeyConfig
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::CryptoKeyConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb
Overview
The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
Instance Attribute Summary collapse
-
#key_reference ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CryptoKeyConfig
constructor
A new instance of CryptoKeyConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CryptoKeyConfig
Returns a new instance of CryptoKeyConfig.
169 170 171 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 169 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_reference ⇒ String
Required. The name of the key which is used to encrypt/decrypt customer data.
For key in Cloud KMS, the key should be in the format of projects/*/locations/
*/keyRings/*/cryptoKeys/*
.
Corresponds to the JSON property keyReference
167 168 169 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 167 def key_reference @key_reference end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
174 175 176 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 174 def update!(**args) @key_reference = args[:key_reference] if args.key?(:key_reference) end |