Class: Google::Apis::HealthcareV1beta1::Signature

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

Overview

User signature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Signature

Returns a new instance of Signature.



4852
4853
4854
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4852

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

Instance Attribute Details

#imageGoogle::Apis::HealthcareV1beta1::Image

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



4834
4835
4836
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4834

def image
  @image
end

#metadataHash<String,String>

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>)


4840
4841
4842
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4840

def 
  @metadata
end

#signature_timeString

Timestamp of the signature. Corresponds to the JSON property signatureTime

Returns:

  • (String)


4845
4846
4847
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4845

def signature_time
  @signature_time
end

#user_idString

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

Returns:

  • (String)


4850
4851
4852
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4850

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4857
4858
4859
4860
4861
4862
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 4857

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