Class: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1FhirBigQueryDestination

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

The configuration for exporting to BigQuery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudHealthcareV1FhirBigQueryDestination

Returns a new instance of GoogleCloudHealthcareV1FhirBigQueryDestination.



1052
1053
1054
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1052

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

Instance Attribute Details

#dataset_uriString

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

Returns:

  • (String)


1036
1037
1038
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1036

def dataset_uri
  @dataset_uri
end

#forceBoolean Also known as: force?

If this flag is TRUE, all tables are 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)


1043
1044
1045
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1043

def force
  @force
end

#schema_configGoogle::Apis::HealthcareV1::SchemaConfig

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



1050
1051
1052
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1050

def schema_config
  @schema_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1057
1058
1059
1060
1061
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1057

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