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.TableData.InsertAll

Contents

Description

Streams data into BigQuery one record at a time without needing to run a load job. Requires the WRITER dataset role.

See: BigQuery API Reference for bigquery.tabledata.insertAll.

Synopsis

REST Resource

type TableDataInsertAllResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (Capture "tableId" Text :> ("insertAll" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TableDataInsertAllRequest :> Post '[JSON] TableDataInsertAllResponse)))))))))) Source #

A resource alias for bigquery.tabledata.insertAll method which the TableDataInsertAll request conforms to.

Creating a Request

tableDataInsertAll Source #

Creates a value of TableDataInsertAll with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data TableDataInsertAll Source #

Streams data into BigQuery one record at a time without needing to run a load job. Requires the WRITER dataset role.

See: tableDataInsertAll smart constructor.

Instances

Eq TableDataInsertAll Source # 
Data TableDataInsertAll Source # 

Methods

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

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

toConstr :: TableDataInsertAll -> Constr #

dataTypeOf :: TableDataInsertAll -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableDataInsertAll Source # 
Generic TableDataInsertAll Source # 
GoogleRequest TableDataInsertAll Source # 
type Rep TableDataInsertAll Source # 
type Rep TableDataInsertAll = D1 (MetaData "TableDataInsertAll" "Network.Google.Resource.BigQuery.TableData.InsertAll" "gogol-bigquery-0.1.1-KRCXCCvs7bGAaYeYFu3wzh" False) (C1 (MetaCons "TableDataInsertAll'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tdiaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TableDataInsertAllRequest)) (S1 (MetaSel (Just Symbol "_tdiaDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tdiaProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tdiaTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes TableDataInsertAll Source # 
type Scopes TableDataInsertAll = (:) Symbol "https://www.googleapis.com/auth/bigquery" ((:) Symbol "https://www.googleapis.com/auth/bigquery.insertdata" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)))
type Rs TableDataInsertAll Source # 

Request Lenses

tdiaDataSetId :: Lens' TableDataInsertAll Text Source #

Dataset ID of the destination table.

tdiaProjectId :: Lens' TableDataInsertAll Text Source #

Project ID of the destination table.

tdiaTableId :: Lens' TableDataInsertAll Text Source #

Table ID of the destination table.