Class: Google::Apis::DataflowV1b3::BigQueryIoDetails

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

Overview

Metadata for a BigQuery connector used by the job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BigQueryIoDetails

Returns a new instance of BigQueryIoDetails.



269
270
271
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 269

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

Instance Attribute Details

#datasetString

Dataset accessed in the connection. Corresponds to the JSON property dataset

Returns:

  • (String)


252
253
254
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 252

def dataset
  @dataset
end

#project_idString

Project accessed in the connection. Corresponds to the JSON property projectId

Returns:

  • (String)


257
258
259
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 257

def project_id
  @project_id
end

#queryString

Query used to access data in the connection. Corresponds to the JSON property query

Returns:

  • (String)


262
263
264
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 262

def query
  @query
end

#tableString

Table accessed in the connection. Corresponds to the JSON property table

Returns:

  • (String)


267
268
269
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 267

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



274
275
276
277
278
279
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 274

def update!(**args)
  @dataset = args[:dataset] if args.key?(:dataset)
  @project_id = args[:project_id] if args.key?(:project_id)
  @query = args[:query] if args.key?(:query)
  @table = args[:table] if args.key?(:table)
end