Class: Google::Apis::HealthcareV1beta1::Signature
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::Signature
- 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
-
#image ⇒ Google::Apis::HealthcareV1beta1::Image
Raw bytes representing consent artifact content.
-
#metadata ⇒ Hash<String,String>
Optional.
-
#signature_time ⇒ String
Optional.
-
#user_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Signature
constructor
A new instance of Signature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Signature
Returns a new instance of Signature.
7016 7017 7018 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7016 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image ⇒ Google::Apis::HealthcareV1beta1::Image
Raw bytes representing consent artifact content.
Corresponds to the JSON property image
6998 6999 7000 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6998 def image @image end |
#metadata ⇒ Hash<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
7004 7005 7006 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7004 def @metadata end |
#signature_time ⇒ String
Optional. Timestamp of the signature.
Corresponds to the JSON property signatureTime
7009 7010 7011 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7009 def signature_time @signature_time end |
#user_id ⇒ String
Required. User's UUID provided by the client.
Corresponds to the JSON property userId
7014 7015 7016 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7014 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7021 7022 7023 7024 7025 7026 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 7021 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 |