Class: Google::Apis::IamV1::SignBlobResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::SignBlobResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/iam_v1/classes.rb,
generated/google/apis/iam_v1/representations.rb,
generated/google/apis/iam_v1/representations.rb
Overview
The service account sign blob response.
Instance Attribute Summary collapse
-
#key_id ⇒ String
The id of the key used to sign the blob.
-
#signature ⇒ 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
653 654 655 |
# File 'generated/google/apis/iam_v1/classes.rb', line 653 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
645 646 647 |
# File 'generated/google/apis/iam_v1/classes.rb', line 645 def key_id @key_id end |
#signature ⇒ String
The signed blob.
Corresponds to the JSON property signature
NOTE: Values are automatically base64 encoded/decoded in the client library.
651 652 653 |
# File 'generated/google/apis/iam_v1/classes.rb', line 651 def signature @signature end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
658 659 660 661 |
# File 'generated/google/apis/iam_v1/classes.rb', line 658 def update!(**args) @key_id = args[:key_id] if args.key?(:key_id) @signature = args[:signature] if args.key?(:signature) end |