Class: Google::Apis::BatchV1::KmsEnvMap

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ KmsEnvMap

Returns a new instance of KmsEnvMap.



1419
1420
1421
# File 'lib/google/apis/batch_v1/classes.rb', line 1419

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cipher_textString

The value of the cipherText response from the encrypt method. Corresponds to the JSON property cipherText

Returns:

  • (String)


1412
1413
1414
# File 'lib/google/apis/batch_v1/classes.rb', line 1412

def cipher_text
  @cipher_text
end

#key_nameString

The name of the KMS key that will be used to decrypt the cipher text. Corresponds to the JSON property keyName

Returns:

  • (String)


1417
1418
1419
# File 'lib/google/apis/batch_v1/classes.rb', line 1417

def key_name
  @key_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1424
1425
1426
1427
# File 'lib/google/apis/batch_v1/classes.rb', line 1424

def update!(**args)
  @cipher_text = args[:cipher_text] if args.key?(:cipher_text)
  @key_name = args[:key_name] if args.key?(:key_name)
end