class Google::Apis::BigqueryV2::JobConfiguration
Attributes
- Pick one
-
Copies a table.
Corresponds to the JSON property `copy` @return [Google::Apis::BigqueryV2::JobConfigurationTableCopy]
- 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]
- 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]
- Pick one
-
Configures an extract job.
Corresponds to the JSON property `extract` @return [Google::Apis::BigqueryV2::JobConfigurationExtract]
- Optional
-
Job
timeout in milliseconds. If this time limit is exceeded,
BigQuery may attempt to terminate the job. Corresponds to the JSON property `jobTimeoutMs` @return [Fixnum]
- Output-only
-
The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or
UNKNOWN. Corresponds to the JSON property `jobType` @return [String]
The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key. Corresponds to the JSON property `labels` @return [Hash<String,String>]
- Pick one
-
Configures a load job.
Corresponds to the JSON property `load` @return [Google::Apis::BigqueryV2::JobConfigurationLoad]
- Pick one
-
Configures a query job.
Corresponds to the JSON property `query` @return [Google::Apis::BigqueryV2::JobConfigurationQuery]
Public Class Methods
# File lib/google/apis/bigquery_v2/classes.rb, line 3025 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 3030 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) @job_timeout_ms = args[:job_timeout_ms] if args.key?(:job_timeout_ms) @job_type = args[:job_type] if args.key?(:job_type) @labels = args[:labels] if args.key?(:labels) @load = args[:load] if args.key?(:load) @query = args[:query] if args.key?(:query) end