GetHl7V2StoreResult

data class GetHl7V2StoreResult(val labels: Map<String, String>, val name: String, val notificationConfig: NotificationConfigResponse, val notificationConfigs: List<Hl7V2NotificationConfigResponse>, val parserConfig: ParserConfigResponse, val rejectDuplicateMessage: Boolean)

Constructors

Link copied to clipboard
fun GetHl7V2StoreResult(labels: Map<String, String>, name: String, notificationConfig: NotificationConfigResponse, notificationConfigs: List<Hl7V2NotificationConfigResponse>, parserConfig: ParserConfigResponse, rejectDuplicateMessage: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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: \p{Ll}\p{Lo}{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: \p{Ll}\p{Lo}\p{N}_-{0,63} No more than 64 labels can be associated with a given store.

Link copied to clipboard

Resource name of the HL7v2 store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}.

Link copied to clipboard

The notification destination all messages (both Ingest & Create) are published on. Only the message name is sent as part of the notification. If this is unset, no notifications are sent. Supplied by the client.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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.