Class: Google::Apis::HealthcareV1::IngestMessageRequest

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

Overview

Ingests a message into the specified HL7v2 store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IngestMessageRequest

Returns a new instance of IngestMessageRequest.



2653
2654
2655
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2653

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

Instance Attribute Details

#messageGoogle::Apis::HealthcareV1::Message

A complete HL7v2 message. See Introduction to HL7 Standards for details on the standard. Corresponds to the JSON property message



2651
2652
2653
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2651

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2658
2659
2660
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2658

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