Class: Google::Apis::CloudkmsV1::AsymmetricDecryptResponse

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

Response 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) ⇒ AsymmetricDecryptResponse

Returns a new instance of AsymmetricDecryptResponse.



56
57
58
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 56

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

Instance Attribute Details

#plaintextString

The decrypted data originally encrypted with the matching public key. Corresponds to the JSON property plaintext NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


54
55
56
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 54

def plaintext
  @plaintext
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61
62
63
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 61

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