Class: Google::Apis::HealthcareV1beta1::StreamConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::StreamConfig
- 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
Contains configuration for streaming FHIR export.
Instance Attribute Summary collapse
-
#bigquery_destination ⇒ Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination
The configuration for exporting to BigQuery.
-
#resource_types ⇒ Array<String>
Supply a FHIR resource type (such as "Patient" or "Observation").
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamConfig
constructor
A new instance of StreamConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StreamConfig
Returns a new instance of StreamConfig.
5197 5198 5199 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_destination ⇒ Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination
The configuration for exporting to BigQuery.
Corresponds to the JSON property bigqueryDestination
5187 5188 5189 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5187 def bigquery_destination @bigquery_destination end |
#resource_types ⇒ Array<String>
Supply a FHIR resource type (such as "Patient" or "Observation"). See https://
www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource
types. The server treats an empty list as an intent to stream all the
supported resource types in this FHIR store.
Corresponds to the JSON property resourceTypes
5195 5196 5197 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5195 def resource_types @resource_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5202 5203 5204 5205 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5202 def update!(**args) @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination) @resource_types = args[:resource_types] if args.key?(:resource_types) end |