gogol-bigquery-0.4.0: 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 # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

Data JobsInsert Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

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 # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

Generic JobsInsert Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

Associated Types

type Rep JobsInsert :: Type -> Type #

GoogleRequest JobsInsert Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

Associated Types

type Rs JobsInsert :: Type #

type Scopes JobsInsert :: [Symbol] #

GoogleRequest (MediaUpload JobsInsert) Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

Associated Types

type Rs (MediaUpload JobsInsert) :: Type #

type Scopes (MediaUpload JobsInsert) :: [Symbol] #

type Rep JobsInsert Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

type Rep JobsInsert = D1 (MetaData "JobsInsert" "Network.Google.Resource.BigQuery.Jobs.Insert" "gogol-bigquery-0.4.0-3wbQXUDNgiIGV0tYGk98l5" False) (C1 (MetaCons "JobsInsert'" PrefixI True) (S1 (MetaSel (Just "_jiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Job) :*: S1 (MetaSel (Just "_jiProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes JobsInsert Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

type Scopes JobsInsert = "https://www.googleapis.com/auth/bigquery" ': ("https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/devstorage.full_control" ': ("https://www.googleapis.com/auth/devstorage.read_only" ': ("https://www.googleapis.com/auth/devstorage.read_write" ': ([] :: [Symbol])))))
type Rs JobsInsert Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

type Scopes (MediaUpload JobsInsert) Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

type Rs (MediaUpload JobsInsert) Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Insert

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