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.



2288
2289
2290
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2288

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)


2267
2268
2269
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2267

def force
  @force
end

#schema_typeString

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

Returns:

  • (String)


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

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)


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

def table_uri
  @table_uri
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)


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

def write_disposition
  @write_disposition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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