gogol-bigquery-0.0.1: Google BigQuery SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.BigQuery.Jobs.Cancel

Contents

Description

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.

See: BigQuery API Reference for bigquery.jobs.cancel.

Synopsis

REST Resource

type JobsCancelResource = "bigquery" :> ("v2" :> ("project" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> ("cancel" :> (QueryParam "alt" AltJSON :> Post `[JSON]` JobCancelResponse))))))) Source

A resource alias for bigquery.jobs.cancel method which the JobsCancel request conforms to.

Creating a Request

jobsCancel Source

Creates a value of JobsCancel with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data JobsCancel Source

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.

See: jobsCancel smart constructor.

Request Lenses

jcJobId :: Lens' JobsCancel Text Source

Job ID of the job to cancel

jcProjectId :: Lens' JobsCancel Text Source

Project ID of the job to cancel