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

Defined in Network.Google.Resource.BigQuery.TableData.InsertAll

Data TableDataInsertAll Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.TableData.InsertAll

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

Defined in Network.Google.Resource.BigQuery.TableData.InsertAll

Generic TableDataInsertAll Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.TableData.InsertAll

Associated Types

type Rep TableDataInsertAll :: Type -> Type #

GoogleRequest TableDataInsertAll Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.TableData.InsertAll

Associated Types

type Rs TableDataInsertAll :: Type #

type Scopes TableDataInsertAll :: [Symbol] #

type Rep TableDataInsertAll Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.TableData.InsertAll

type Rep TableDataInsertAll = D1 (MetaData "TableDataInsertAll" "Network.Google.Resource.BigQuery.TableData.InsertAll" "gogol-bigquery-0.4.0-3wbQXUDNgiIGV0tYGk98l5" False) (C1 (MetaCons "TableDataInsertAll'" PrefixI True) ((S1 (MetaSel (Just "_tdiaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TableDataInsertAllRequest) :*: S1 (MetaSel (Just "_tdiaDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_tdiaProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tdiaTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TableDataInsertAll Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.TableData.InsertAll

type Scopes TableDataInsertAll = "https://www.googleapis.com/auth/bigquery" ': ("https://www.googleapis.com/auth/bigquery.insertdata" ': ("https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])))
type Rs TableDataInsertAll Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.TableData.InsertAll

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.