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
.
Synopsis
- type JobsCancelResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> ("cancel" :> (QueryParam "location" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] JobCancelResponse))))))))
- jobsCancel :: Text -> Text -> JobsCancel
- data JobsCancel
- jcJobId :: Lens' JobsCancel Text
- jcLocation :: Lens' JobsCancel (Maybe Text)
- jcProjectId :: Lens' JobsCancel Text
REST Resource
type JobsCancelResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> ("cancel" :> (QueryParam "location" Text :> (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.
Instances
Request Lenses
jcLocation :: Lens' JobsCancel (Maybe Text) Source #
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.
jcProjectId :: Lens' JobsCancel Text Source #
- Required
- Project ID of the job to cancel