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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/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.



6639
6640
6641
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6639

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



6621
6622
6623
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6621

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


6627
6628
6629
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6627

def 
  @metadata
end

#signature_timeString

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

Returns:

  • (String)


6632
6633
6634
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6632

def signature_time
  @signature_time
end

#user_idString

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

Returns:

  • (String)


6637
6638
6639
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6637

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6644
6645
6646
6647
6648
6649
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6644

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