Class: Google::Apis::HealthcareV1alpha2::IngestMessageResponse

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

Overview

Acknowledges that a message has been ingested 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) ⇒ IngestMessageResponse

Returns a new instance of IngestMessageResponse



1726
1727
1728
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1726

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

Instance Attribute Details

#hl7_ackString

HL7v2 ACK message. Corresponds to the JSON property hl7Ack NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


1717
1718
1719
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1717

def hl7_ack
  @hl7_ack
end

#messageGoogle::Apis::HealthcareV1alpha2::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



1724
1725
1726
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1724

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1731
1732
1733
1734
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1731

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