Class: Google::Apis::HealthcareV1beta1::Hl7V2Store
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::Hl7V2Store
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb
Overview
Represents an HL7v2 store.
Instance Attribute Summary collapse
-
#labels ⇒ Hash<String,String>
User-supplied key-value pairs used to organize HL7v2 stores.
-
#name ⇒ String
Resource name of the HL7v2 store, of the form
projects/project_id/locations/location_id/datasets/dataset_id/hl7V2Stores/hl7v2_store_id``. -
#notification_config ⇒ Google::Apis::HealthcareV1beta1::NotificationConfig
Specifies where to send notifications upon changes to a data store.
-
#notification_configs ⇒ Array<Google::Apis::HealthcareV1beta1::Hl7V2NotificationConfig>
A list of notification configs.
-
#parser_config ⇒ Google::Apis::HealthcareV1beta1::ParserConfig
The configuration for the parser.
-
#reject_duplicate_message ⇒ Boolean
(also: #reject_duplicate_message?)
Determines whether to reject duplicate messages.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Hl7V2Store
constructor
A new instance of Hl7V2Store.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Hl7V2Store
Returns a new instance of Hl7V2Store.
3752 3753 3754 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3752 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Hash<String,String>
User-supplied key-value pairs used to organize HL7v2 stores. Label keys must
be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
bytes, and must conform to the following PCRE regular expression: \pLl\pLo
0,62 Label values are optional, must be between 1 and 63 characters long,
have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
PCRE regular expression: [\pLl\pLo\pN_-]0,63 No more than 64 labels
can be associated with a given store.
Corresponds to the JSON property labels
3711 3712 3713 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3711 def labels @labels end |
#name ⇒ String
Resource name of the HL7v2 store, of the form projects/project_id/locations/
location_id/datasets/dataset_id/hl7V2Stores/hl7v2_store_id`.
Corresponds to the JSON propertyname`
3717 3718 3719 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3717 def name @name end |
#notification_config ⇒ Google::Apis::HealthcareV1beta1::NotificationConfig
Specifies where to send notifications upon changes to a data store.
Corresponds to the JSON property notificationConfig
3722 3723 3724 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3722 def notification_config @notification_config end |
#notification_configs ⇒ Array<Google::Apis::HealthcareV1beta1::Hl7V2NotificationConfig>
A list of notification configs. Each configuration uses a filter to determine
whether to publish a message (both Ingest & Create) on the corresponding
notification destination. Only the message name is sent as part of the
notification. Supplied by the client.
Corresponds to the JSON property notificationConfigs
3730 3731 3732 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3730 def notification_configs @notification_configs end |
#parser_config ⇒ Google::Apis::HealthcareV1beta1::ParserConfig
The configuration for the parser. It determines how the server parses the
messages.
Corresponds to the JSON property parserConfig
3736 3737 3738 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3736 def parser_config @parser_config end |
#reject_duplicate_message ⇒ Boolean Also known as: reject_duplicate_message?
Determines whether to reject duplicate messages. A duplicate message is a
message with the same raw bytes as a message that has already been ingested/
created in this HL7v2 store. The default value is false, meaning that the
store accepts the duplicate messages and it also returns the same ACK message
in the IngestMessageResponse as has been returned previously. Note that only
one resource is created in the store. When this field is set to true,
CreateMessage/IngestMessage requests with a duplicate message will be rejected
by the store, and IngestMessageErrorDetail returns a NACK message upon
rejection.
Corresponds to the JSON property rejectDuplicateMessage
3749 3750 3751 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3749 def @reject_duplicate_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3757 3758 3759 3760 3761 3762 3763 3764 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3757 def update!(**args) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @notification_config = args[:notification_config] if args.key?(:notification_config) @notification_configs = args[:notification_configs] if args.key?(:notification_configs) @parser_config = args[:parser_config] if args.key?(:parser_config) @reject_duplicate_message = args[:reject_duplicate_message] if args.key?(:reject_duplicate_message) end |