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.Insert

Contents

Description

Starts a new asynchronous job. Requires the Can View project role.

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

Synopsis

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" AltMedia :> (MultipartRelated `[JSON]` Job RequestBody :> Post `[JSON]` Job))))))))) Source

A resource alias for bigquery.jobs.insert method which the JobsInsert request conforms to.

Creating a Request

jobsInsert Source

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.

Request Lenses

jiPayload :: Lens' JobsInsert Job Source

Multipart request metadata.

jiProjectId :: Lens' JobsInsert Text Source

Project ID of the project that will be billed for the job