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.



2295
2296
2297
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2295

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)


2274
2275
2276
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2274

def force
  @force
end

#schema_typeString

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

Returns:

  • (String)


2280
2281
2282
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2280

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)


2286
2287
2288
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2286

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)


2293
2294
2295
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2293

def write_disposition
  @write_disposition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2300
2301
2302
2303
2304
2305
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2300

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