Class: Google::Apis::HealthcareV1beta1::ParserConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::ParserConfig
- 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
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.
-
#segment_terminator ⇒ String
Byte(s) to be used as the segment terminator.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParserConfig
constructor
A new instance of ParserConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ParserConfig
Returns a new instance of ParserConfig
1903 1904 1905 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1903 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
1893 1894 1895 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1893 def allow_null_header @allow_null_header end |
#segment_terminator ⇒ String
Byte(s) to be used as the segment terminator. If this is unset, '\r' will
be used as segment terminator.
Corresponds to the JSON property segmentTerminator
NOTE: Values are automatically base64 encoded/decoded in the client library.
1901 1902 1903 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1901 def segment_terminator @segment_terminator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1908 1909 1910 1911 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1908 def update!(**args) @allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header) @segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator) end |