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



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

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

Instance Attribute Details

#datasetString

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

Returns:

  • (String)


214
215
216
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 214

def dataset
  @dataset
end

#project_idString

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

Returns:

  • (String)


219
220
221
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 219

def project_id
  @project_id
end

#queryString

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

Returns:

  • (String)


224
225
226
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 224

def query
  @query
end

#tableString

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

Returns:

  • (String)


229
230
231
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 229

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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