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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BigQueryIoDetails

Returns a new instance of BigQueryIoDetails



238
239
240
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 238

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

Instance Attribute Details

#datasetString

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

Returns:

  • (String)


221
222
223
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 221

def dataset
  @dataset
end

#project_idString

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

Returns:

  • (String)


226
227
228
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 226

def project_id
  @project_id
end

#queryString

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

Returns:

  • (String)


231
232
233
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 231

def query
  @query
end

#tableString

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

Returns:

  • (String)


236
237
238
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 236

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



243
244
245
246
247
248
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 243

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