Class: Google::Apis::CloudkmsV1::AsymmetricDecryptRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudkms_v1/classes.rb,
generated/google/apis/cloudkms_v1/representations.rb,
generated/google/apis/cloudkms_v1/representations.rb

Overview

Request message for KeyManagementService.AsymmetricDecrypt.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AsymmetricDecryptRequest

Returns a new instance of AsymmetricDecryptRequest.



36
37
38
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 36

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

Instance Attribute Details

#ciphertextString

Required. The data encrypted with the named CryptoKeyVersion's public key using OAEP. Corresponds to the JSON property ciphertext NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


34
35
36
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 34

def ciphertext
  @ciphertext
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41
42
43
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 41

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