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.



2527
2528
2529
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2527

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)


2506
2507
2508
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2506

def force
  @force
end

#schema_typeString

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

Returns:

  • (String)


2512
2513
2514
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2512

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)


2518
2519
2520
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2518

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)


2525
2526
2527
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2525

def write_disposition
  @write_disposition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2532
2533
2534
2535
2536
2537
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2532

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