Class: Google::Apis::HealthcareV1::ParserConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::ParserConfig
- 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
The configuration for the parser. It determines how the server parses the messages.
Instance Attribute Summary collapse
-
#allow_null_header ⇒ Boolean
(also: #allow_null_header?)
Determines whether messages with no header are allowed.
-
#schema ⇒ Google::Apis::HealthcareV1::SchemaPackage
A schema package contains a set of schemas and type definitions.
-
#segment_terminator ⇒ String
Byte(s) to use as the segment terminator.
-
#version ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParserConfig
constructor
A new instance of ParserConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ParserConfig
Returns a new instance of ParserConfig.
3379 3380 3381 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3379 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_null_header ⇒ Boolean Also known as: allow_null_header?
Determines whether messages with no header are allowed.
Corresponds to the JSON property allowNullHeader
3358 3359 3360 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3358 def allow_null_header @allow_null_header end |
#schema ⇒ Google::Apis::HealthcareV1::SchemaPackage
A schema package contains a set of schemas and type definitions.
Corresponds to the JSON property schema
3364 3365 3366 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3364 def schema @schema end |
#segment_terminator ⇒ String
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.
3371 3372 3373 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3371 def segment_terminator @segment_terminator end |
#version ⇒ String
Immutable. Determines the version of the unschematized parser to be used when
schema is not given. This field is immutable after store creation.
Corresponds to the JSON property version
3377 3378 3379 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3377 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3384 3385 3386 3387 3388 3389 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3384 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) @version = args[:version] if args.key?(:version) end |