Class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination

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

Overview

The BigQuery table for export.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination

Returns a new instance of GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination.



2463
2464
2465
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2463

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

Instance Attribute Details

#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)


2442
2443
2444
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2442

def force
  @force
end

#schema_typeString

Specifies the schema format to export. Corresponds to the JSON property schemaType

Returns:

  • (String)


2448
2449
2450
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2448

def schema_type
  @schema_type
end

#table_uriString

BigQuery URI to a table, up to 2000 characters long, must be of the form bq:// projectId.bqDatasetId.tableId. Corresponds to the JSON property tableUri

Returns:

  • (String)


2454
2455
2456
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2454

def table_uri
  @table_uri
end

#write_dispositionString

Determines if existing data in the destination dataset is overwritten, appended to, or not written if the tables contain data. If a write_disposition is specified, the force parameter is ignored. Corresponds to the JSON property writeDisposition

Returns:

  • (String)


2461
2462
2463
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2461

def write_disposition
  @write_disposition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2468
2469
2470
2471
2472
2473
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2468

def update!(**args)
  @force = args[:force] if args.key?(:force)
  @schema_type = args[:schema_type] if args.key?(:schema_type)
  @table_uri = args[:table_uri] if args.key?(:table_uri)
  @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
end