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



962
963
964
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 962

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)


946
947
948
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 946

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)


953
954
955
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 953

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



960
961
962
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 960

def schema_config
  @schema_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



967
968
969
970
971
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 967

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