Class: Google::Apis::IamcredentialsV1::SignBlobResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SignBlobResponse

Returns a new instance of SignBlobResponse.



208
209
210
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 208

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

Instance Attribute Details

#key_idString

The ID of the key used to sign the blob. Corresponds to the JSON property keyId

Returns:

  • (String)


200
201
202
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 200

def key_id
  @key_id
end

#signed_blobString

The signed blob. Corresponds to the JSON property signedBlob NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


206
207
208
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 206

def signed_blob
  @signed_blob
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



213
214
215
216
# File 'generated/google/apis/iamcredentials_v1/classes.rb', line 213

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