Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
.
- type JobsCancelResource = "bigquery" :> ("v2" :> ("project" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> ("cancel" :> (QueryParam "alt" AltJSON :> Post `[JSON]` JobCancelResponse)))))))
- jobsCancel :: Text -> Text -> JobsCancel
- data JobsCancel
- jcJobId :: Lens' JobsCancel Text
- jcProjectId :: Lens' JobsCancel Text
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
:: Text | |
-> Text | |
-> JobsCancel |
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