Class: Google::Apis::VerifiedaccessV1::SignedData
- Inherits:
-
Object
- Object
- Google::Apis::VerifiedaccessV1::SignedData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/verifiedaccess_v1/classes.rb,
generated/google/apis/verifiedaccess_v1/representations.rb,
generated/google/apis/verifiedaccess_v1/representations.rb
Overview
The wrapper message of any data and its signature.
Instance Attribute Summary collapse
-
#data ⇒ String
The data to be signed.
-
#signature ⇒ String
The signature of the data field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignedData
constructor
A new instance of SignedData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SignedData
Returns a new instance of SignedData.
83 84 85 |
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 83 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
The data to be signed.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
75 76 77 |
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 75 def data @data end |
#signature ⇒ String
The signature of the data field.
Corresponds to the JSON property signature
NOTE: Values are automatically base64 encoded/decoded in the client library.
81 82 83 |
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 81 def signature @signature end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
88 89 90 91 |
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 88 def update!(**args) @data = args[:data] if args.key?(:data) @signature = args[:signature] if args.key?(:signature) end |