Class: Google::Apis::HealthcareV1alpha2::StreamConfig

Inherits:
Object
  • Object
show all
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

This structure contains configuration for streaming FHIR export.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StreamConfig

Returns a new instance of StreamConfig



2711
2712
2713
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2711

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

Instance Attribute Details

#bigquery_destinationGoogle::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirBigQueryDestination

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



2700
2701
2702
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2700

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 will treat 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>)


2709
2710
2711
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2709

def resource_types
  @resource_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2716
2717
2718
2719
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2716

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