Class: Google::Apis::CloudkmsV1::DecryptRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::DecryptRequest
- 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.Decrypt.
Instance Attribute Summary collapse
-
#additional_authenticated_data ⇒ String
Optional data that must match the data originally supplied in EncryptRequest.additional_authenticated_data.
-
#ciphertext ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DecryptRequest
constructor
A new instance of DecryptRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ DecryptRequest
Returns a new instance of DecryptRequest
492 493 494 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 492 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_authenticated_data ⇒ String
Optional data that must match the data originally supplied in
EncryptRequest.additional_authenticated_data.
Corresponds to the JSON property additionalAuthenticatedData
NOTE: Values are automatically base64 encoded/decoded in the client library.
483 484 485 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 483 def additional_authenticated_data @additional_authenticated_data end |
#ciphertext ⇒ String
Required. The encrypted data originally returned in
EncryptResponse.ciphertext.
Corresponds to the JSON property ciphertext
NOTE: Values are automatically base64 encoded/decoded in the client library.
490 491 492 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 490 def ciphertext @ciphertext end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
497 498 499 500 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 497 def update!(**args) @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data) @ciphertext = args[:ciphertext] if args.key?(:ciphertext) end |