Class: Google::Apis::IamV1::SignBlobResponse

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

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.


325
326
327
# File 'generated/google/apis/iam_v1/classes.rb', line 325

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)

318
319
320
# File 'generated/google/apis/iam_v1/classes.rb', line 318

def key_id
  @key_id
end

#signatureString

The signed blob. Corresponds to the JSON property signature

Returns:

  • (String)

323
324
325
# File 'generated/google/apis/iam_v1/classes.rb', line 323

def signature
  @signature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


330
331
332
333
# File 'generated/google/apis/iam_v1/classes.rb', line 330

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