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

Constructor Details

#initialize(**args) ⇒ GoogleCloudHealthcareV1beta1FhirBigQueryDestination

Returns a new instance of GoogleCloudHealthcareV1beta1FhirBigQueryDestination.



2568
2569
2570
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2568

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)


2545
2546
2547
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2545

def dataset_uri
  @dataset_uri
end

#forceBoolean Also known as: force?

Use write_disposition instead. If write_disposition is specified, this parameter is ignored. force=false is equivalent to write_disposition= WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE. Corresponds to the JSON property force

Returns:

  • (Boolean)


2552
2553
2554
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2552

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



2559
2560
2561
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2559

def schema_config
  @schema_config
end

#write_dispositionString

Determines whether existing tables in the destination dataset are overwritten or appended to. If a write_disposition is specified, the force parameter is ignored. Corresponds to the JSON property writeDisposition

Returns:

  • (String)


2566
2567
2568
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2566

def write_disposition
  @write_disposition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2573
2574
2575
2576
2577
2578
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2573

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)
  @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
end