Copyright | (c) 2015-2016 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" :> ("projects" :> (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" :> ("projects" :> (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.
Eq JobsCancel Source # | |
Data JobsCancel Source # | |
Show JobsCancel Source # | |
Generic JobsCancel Source # | |
GoogleRequest JobsCancel Source # | |
type Rep JobsCancel Source # | |
type Scopes JobsCancel Source # | |
type Rs JobsCancel Source # | |
Request Lenses
jcProjectId :: Lens' JobsCancel Text Source #
- Required
- Project ID of the job to cancel