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 |
Starts a new asynchronous job. Requires the Can View project role.
See: BigQuery API Reference for bigquery.jobs.insert
.
Synopsis
- type JobsInsertResource = ("bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Job :> Post '[JSON] Job))))))) :<|> ("upload" :> ("bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" Multipart :> (MultipartRelated '[JSON] Job :> Post '[JSON] Job)))))))))
- jobsInsert :: Job -> Text -> JobsInsert
- data JobsInsert
- jiPayload :: Lens' JobsInsert Job
- jiProjectId :: Lens' JobsInsert Text
REST Resource
type JobsInsertResource = ("bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Job :> Post '[JSON] Job))))))) :<|> ("upload" :> ("bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" Multipart :> (MultipartRelated '[JSON] Job :> Post '[JSON] Job))))))))) Source #
A resource alias for bigquery.jobs.insert
method which the
JobsInsert
request conforms to.
Creating a Request
Creates a value of JobsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data JobsInsert Source #
Starts a new asynchronous job. Requires the Can View project role.
See: jobsInsert
smart constructor.
Instances
Request Lenses
jiProjectId :: Lens' JobsInsert Text Source #
Project ID of the project that will be billed for the job