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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb

Overview

Deprecated. Migrate to Service Account Credentials API. The service account sign blob response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SignBlobResponse

Returns a new instance of SignBlobResponse.



2554
2555
2556
# File 'lib/google/apis/iam_v1/classes.rb', line 2554

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

Instance Attribute Details

#key_idString

Deprecated. Migrate to Service Account Credentials API. The id of the key used to sign the blob. Corresponds to the JSON property keyId

Returns:

  • (String)


2545
2546
2547
# File 'lib/google/apis/iam_v1/classes.rb', line 2545

def key_id
  @key_id
end

#signatureString

Deprecated. Migrate to Service Account Credentials API. The signed blob. Corresponds to the JSON property signature NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


2552
2553
2554
# File 'lib/google/apis/iam_v1/classes.rb', line 2552

def signature
  @signature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2559
2560
2561
2562
# File 'lib/google/apis/iam_v1/classes.rb', line 2559

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