Class JobConfiguration
Implements
Inherited Members
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class JobConfiguration : IDirectResponseSchema
Properties
Copy
[Pick one] Copies a table.
Declaration
[JsonProperty("copy")]
public virtual JobConfigurationTableCopy Copy { get; set; }
Property Value
| Type | Description |
|---|---|
| JobConfigurationTableCopy |
DryRun
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.
Declaration
[JsonProperty("dryRun")]
public virtual bool? DryRun { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Extract
[Pick one] Configures an extract job.
Declaration
[JsonProperty("extract")]
public virtual JobConfigurationExtract Extract { get; set; }
Property Value
| Type | Description |
|---|---|
| JobConfigurationExtract |
JobTimeoutMs
Optional. Job timeout in milliseconds relative to the job creation time. If this time limit is exceeded, BigQuery attempts to stop the job, but might not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete.
Declaration
[JsonProperty("jobTimeoutMs")]
public virtual long? JobTimeoutMs { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
JobType
Output only. The type of the job. Can be QUERY, LOAD, EXTRACT, COPY or UNKNOWN.
Declaration
[JsonProperty("jobType")]
public virtual string JobType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
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.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Load
[Pick one] Configures a load job.
Declaration
[JsonProperty("load")]
public virtual JobConfigurationLoad Load { get; set; }
Property Value
| Type | Description |
|---|---|
| JobConfigurationLoad |
MaxSlots
Optional. A target limit on the rate of slot consumption by this job. If set to a value > 0, BigQuery will attempt to limit the rate of slot consumption by this job to keep it below the configured limit, even if the job is eligible for more slots based on fair scheduling. The unused slots will be available for other jobs and queries to use. Note: This feature is not yet generally available.
Declaration
[JsonProperty("maxSlots")]
public virtual int? MaxSlots { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Query
[Pick one] Configures a query job.
Declaration
[JsonProperty("query")]
public virtual JobConfigurationQuery Query { get; set; }
Property Value
| Type | Description |
|---|---|
| JobConfigurationQuery |
Reservation
Optional. The reservation that job would use. User can specify a reservation to execute the job. If
reservation is not set, reservation is determined based on the rules defined by the reservation assignments.
The expected format is projects/{project}/locations/{location}/reservations/{reservation}.
Declaration
[JsonProperty("reservation")]
public virtual string Reservation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |