Class: Google::Apis::HealthcareV1alpha2::Hl7V2Store
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::Hl7V2Store
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1alpha2/classes.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb,
generated/google/apis/healthcare_v1alpha2/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
Output only.
-
#notification_config ⇒ Google::Apis::HealthcareV1alpha2::NotificationConfig
Specifies where notifications should be sent upon changes to a data store.
-
#parser_config ⇒ Google::Apis::HealthcareV1alpha2::ParserConfig
The configuration for the parser.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Hl7V2Store
constructor
A new instance of Hl7V2Store.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Hl7V2Store
Returns a new instance of Hl7V2Store
1442 1443 1444 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1442 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
1423 1424 1425 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1423 def labels @labels end |
#name ⇒ String
Output only. Resource name of the HL7v2 store, of the form
projects/
project_id/datasets/
dataset_id/hl7V2Stores/
hl7v2_store_id`.
Corresponds to the JSON property
name`
1429 1430 1431 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1429 def name @name end |
#notification_config ⇒ Google::Apis::HealthcareV1alpha2::NotificationConfig
Specifies where notifications should be sent upon changes to a data store.
Corresponds to the JSON property notificationConfig
1434 1435 1436 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1434 def notification_config @notification_config end |
#parser_config ⇒ Google::Apis::HealthcareV1alpha2::ParserConfig
The configuration for the parser. It determines how the server parses the
messages.
Corresponds to the JSON property parserConfig
1440 1441 1442 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1440 def parser_config @parser_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1447 1448 1449 1450 1451 1452 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1447 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) @parser_config = args[:parser_config] if args.key?(:parser_config) end |