class Google::Apis::BigqueryV2::JobConfiguration

Attributes

copy[RW]
Pick one

Copies a table.

Corresponds to the JSON property `copy` @return [Google::Apis::BigqueryV2::JobConfigurationTableCopy]

dry_run[RW]
Optional

If set, don't actually run this job. A valid query will return a

mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn't a dry run. Behavior of non- query jobs is undefined. Corresponds to the JSON property `dryRun` @return [Boolean]

dry_run?[RW]
Optional

If set, don't actually run this job. A valid query will return a

mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn't a dry run. Behavior of non- query jobs is undefined. Corresponds to the JSON property `dryRun` @return [Boolean]

extract[RW]
Pick one

Configures an extract job.

Corresponds to the JSON property `extract` @return [Google::Apis::BigqueryV2::JobConfigurationExtract]

load[RW]
Pick one

Configures a load job.

Corresponds to the JSON property `load` @return [Google::Apis::BigqueryV2::JobConfigurationLoad]

query[RW]
Pick one

Configures a query job.

Corresponds to the JSON property `query` @return [Google::Apis::BigqueryV2::JobConfigurationQuery]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/bigquery_v2/classes.rb, line 1034
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/bigquery_v2/classes.rb, line 1039
def update!(**args)
  @copy = args[:copy] if args.key?(:copy)
  @dry_run = args[:dry_run] if args.key?(:dry_run)
  @extract = args[:extract] if args.key?(:extract)
  @load = args[:load] if args.key?(:load)
  @query = args[:query] if args.key?(:query)
end