class Google::Apis::HealthcareV1::ParserConfig

The configuration for the parser. It determines how the server parses the messages.

Attributes

allow_null_header[RW]

Determines whether messages with no header are allowed. Corresponds to the JSON property `allowNullHeader` @return [Boolean]

allow_null_header?[RW]

Determines whether messages with no header are allowed. Corresponds to the JSON property `allowNullHeader` @return [Boolean]

schema[RW]

A schema package contains a set of schemas and type definitions. Corresponds to the JSON property `schema` @return [Google::Apis::HealthcareV1::SchemaPackage]

segment_terminator[RW]

Byte(s) to use as the segment terminator. If this is unset, 'r' is used as segment terminator, matching the HL7 version 2 specification. Corresponds to the JSON property `segmentTerminator` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 3217
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/healthcare_v1/classes.rb, line 3222
def update!(**args)
  @allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
  @schema = args[:schema] if args.key?(:schema)
  @segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
end