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



1138
1139
1140
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1138

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)


1122
1123
1124
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1122

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)


1129
1130
1131
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1129

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



1136
1137
1138
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1136

def schema_config
  @schema_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1143
1144
1145
1146
1147
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1143

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