Class: Google::Apis::HealthcareV1::Signature

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

Overview

User signature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Signature

Returns a new instance of Signature.

[View source]

5577
5578
5579
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5577

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

Instance Attribute Details

#imageGoogle::Apis::HealthcareV1::Image

Raw bytes representing consent artifact content. Corresponds to the JSON property image


5559
5560
5561
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5559

def image
  @image
end

#metadataHash<String,String>

Optional. Metadata associated with the user's signature. For example, the user' s name or the user's title. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,String>)

5565
5566
5567
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5565

def 
  @metadata
end

#signature_timeString

Optional. Timestamp of the signature. Corresponds to the JSON property signatureTime

Returns:

  • (String)

5570
5571
5572
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5570

def signature_time
  @signature_time
end

#user_idString

Required. User's UUID provided by the client. Corresponds to the JSON property userId

Returns:

  • (String)

5575
5576
5577
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5575

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

5582
5583
5584
5585
5586
5587
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5582

def update!(**args)
  @image = args[:image] if args.key?(:image)
  @metadata = args[:metadata] if args.key?(:metadata)
  @signature_time = args[:signature_time] if args.key?(:signature_time)
  @user_id = args[:user_id] if args.key?(:user_id)
end