Class: Google::Apis::HealthcareV1::StreamConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb

Overview

Contains configuration for streaming FHIR export.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StreamConfig

Returns a new instance of StreamConfig.



4153
4154
4155
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4153

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bigquery_destinationGoogle::Apis::HealthcareV1::GoogleCloudHealthcareV1FhirBigQueryDestination

The configuration for exporting to BigQuery. Corresponds to the JSON property bigqueryDestination



4143
4144
4145
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4143

def bigquery_destination
  @bigquery_destination
end

#resource_typesArray<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

Returns:

  • (Array<String>)


4151
4152
4153
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4151

def resource_types
  @resource_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4158
4159
4160
4161
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4158

def update!(**args)
  @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
  @resource_types = args[:resource_types] if args.key?(:resource_types)
end