pub struct JobApi { /* private fields */ }
Expand description

A job API handler.

Implementations

Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout.

Arguments
  • project_id - Project ID of the query request.
  • query_request - The request body contains an instance of QueryRequest.

Runs a BigQuery SQL query, paginating through all the results synchronously.

Arguments
  • project_id- Project ID of the query request.
  • query - The initial query configuration that is submitted when the job is inserted.
  • page_size - The size of each page fetched. By default, this is set to None, and the limit is 10 MB of rows instead.

Starts a new asynchronous job.

Arguments
  • project_id - Project ID of project that will be billed for the job.
  • job - The request body contains an instance of Job.

Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.

Arguments
  • project_id - Project ID of the jobs to list.

RPC to get the results of a query job.

Arguments
  • project_id - Project ID of the query request.
  • job_id - Job ID of the query job.
  • parameters - The query parameters for jobs.getQueryResults.

Returns information about a specific job. Job information is available for a six month period after creation. Requires that you’re the person who ran the job, or have the Is Owner project role.

Arguments
  • project_id - Project ID of the requested job.
  • job_id - Job ID of the requested job.
  • location - The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.

Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.

Arguments
  • project_id - Project ID of the job to cancel.
  • job_id - Job ID of the job to cancel.
  • location - The geographic location of the job. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more