Class: Google::Apis::HealthcareV1beta1::IngestMessageRequest

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

Ingests a message into the specified HL7v2 store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ IngestMessageRequest

Returns a new instance of IngestMessageRequest.



1713
1714
1715
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1713

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

Instance Attribute Details

#messageGoogle::Apis::HealthcareV1beta1::Message

A complete HL7v2 message. See http://www.hl7.org/implement/standards/index.cfm?ref=common for details on the standard. Corresponds to the JSON property message



1711
1712
1713
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1711

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1718
1719
1720
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1718

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