Class: Google::Apis::BatchV1::KmsEnvMap
- Inherits:
-
Object
- Object
- Google::Apis::BatchV1::KmsEnvMap
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/batch_v1/classes.rb,
lib/google/apis/batch_v1/representations.rb,
lib/google/apis/batch_v1/representations.rb
Instance Attribute Summary collapse
-
#cipher_text ⇒ String
The value of the cipherText response from the
encryptmethod. -
#key_name ⇒ String
The name of the KMS key that will be used to decrypt the cipher text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KmsEnvMap
constructor
A new instance of KmsEnvMap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KmsEnvMap
Returns a new instance of KmsEnvMap.
1289 1290 1291 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cipher_text ⇒ String
The value of the cipherText response from the encrypt method.
Corresponds to the JSON property cipherText
1282 1283 1284 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1282 def cipher_text @cipher_text end |
#key_name ⇒ String
The name of the KMS key that will be used to decrypt the cipher text.
Corresponds to the JSON property keyName
1287 1288 1289 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1287 def key_name @key_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1294 1295 1296 1297 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1294 def update!(**args) @cipher_text = args[:cipher_text] if args.key?(:cipher_text) @key_name = args[:key_name] if args.key?(:key_name) end |