Class: Google::Apis::IamcredentialsV1::SignBlobResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamcredentialsV1::SignBlobResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/iamcredentials_v1/classes.rb,
generated/google/apis/iamcredentials_v1/representations.rb,
generated/google/apis/iamcredentials_v1/representations.rb
Instance Attribute Summary collapse
-
#key_id ⇒ String
The ID of the key used to sign the blob.
-
#signed_blob ⇒ String
The signed blob.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignBlobResponse
constructor
A new instance of SignBlobResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SignBlobResponse
Returns a new instance of SignBlobResponse
300 301 302 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_id ⇒ String
The ID of the key used to sign the blob.
Corresponds to the JSON property keyId
292 293 294 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 292 def key_id @key_id end |
#signed_blob ⇒ String
The signed blob.
Corresponds to the JSON property signedBlob
NOTE: Values are automatically base64 encoded/decoded in the client library.
298 299 300 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 298 def signed_blob @signed_blob end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
305 306 307 308 |
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 305 def update!(**args) @key_id = args[:key_id] if args.key?(:key_id) @signed_blob = args[:signed_blob] if args.key?(:signed_blob) end |