gogol-bigquery-0.1.1: Google BigQuery SDK.

Copyright(c) 2015-2016 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" 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

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.

Instances

Eq JobsInsert Source # 
Data JobsInsert Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JobsInsert -> c JobsInsert #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JobsInsert #

toConstr :: JobsInsert -> Constr #

dataTypeOf :: JobsInsert -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c JobsInsert) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JobsInsert) #

gmapT :: (forall b. Data b => b -> b) -> JobsInsert -> JobsInsert #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JobsInsert -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JobsInsert -> r #

gmapQ :: (forall d. Data d => d -> u) -> JobsInsert -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JobsInsert -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JobsInsert -> m JobsInsert #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JobsInsert -> m JobsInsert #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JobsInsert -> m JobsInsert #

Show JobsInsert Source # 
Generic JobsInsert Source # 

Associated Types

type Rep JobsInsert :: * -> * #

GoogleRequest JobsInsert Source # 

Associated Types

type Rs JobsInsert :: * #

type Scopes JobsInsert :: [Symbol] #

GoogleRequest (MediaUpload JobsInsert) Source # 
type Rep JobsInsert Source # 
type Rep JobsInsert = D1 (MetaData "JobsInsert" "Network.Google.Resource.BigQuery.Jobs.Insert" "gogol-bigquery-0.1.1-KRCXCCvs7bGAaYeYFu3wzh" False) (C1 (MetaCons "JobsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_jiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Job)) (S1 (MetaSel (Just Symbol "_jiProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes JobsInsert Source # 
type Scopes JobsInsert = (:) Symbol "https://www.googleapis.com/auth/bigquery" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/devstorage.full_control" ((:) Symbol "https://www.googleapis.com/auth/devstorage.read_only" ((:) Symbol "https://www.googleapis.com/auth/devstorage.read_write" ([] Symbol)))))
type Rs JobsInsert Source # 
type Scopes (MediaUpload JobsInsert) Source # 
type Rs (MediaUpload JobsInsert) Source # 

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