Class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination

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

Overview

The configuration for exporting to BigQuery.

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) ⇒ GoogleCloudHealthcareV1beta1FhirBigQueryDestination

Returns a new instance of GoogleCloudHealthcareV1beta1FhirBigQueryDestination.



1207
1208
1209
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1207

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

Instance Attribute Details

#dataset_uriString

BigQuery URI to a dataset, up to 2000 characters long, in the format bq://projectId.bqDatasetId Corresponds to the JSON property datasetUri

Returns:

  • (String)


1191
1192
1193
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1191

def dataset_uri
  @dataset_uri
end

#forceBoolean Also known as: force?

If this flag is TRUE, all tables will be deleted from the dataset before the new exported tables are written. If the flag is not set and the destination dataset contains tables, the export call returns an error. Corresponds to the JSON property force

Returns:

  • (Boolean)


1198
1199
1200
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1198

def force
  @force
end

#schema_configGoogle::Apis::HealthcareV1beta1::SchemaConfig

Configuration for the FHIR BigQuery schema. Determines how the server generates the schema. Corresponds to the JSON property schemaConfig



1205
1206
1207
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1205

def schema_config
  @schema_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1212
1213
1214
1215
1216
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1212

def update!(**args)
  @dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
  @force = args[:force] if args.key?(:force)
  @schema_config = args[:schema_config] if args.key?(:schema_config)
end