gogol-bigquery-0.5.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.Tables.Insert

Contents

Description

Creates a new, empty table in the dataset.

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

Synopsis

REST Resource

type TablesInsertResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Table :> Post '[JSON] Table)))))))) Source #

A resource alias for bigquery.tables.insert method which the TablesInsert request conforms to.

Creating a Request

tablesInsert Source #

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

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

data TablesInsert Source #

Creates a new, empty table in the dataset.

See: tablesInsert smart constructor.

Instances
Eq TablesInsert Source # 
Instance details

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

Data TablesInsert Source # 
Instance details

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

Methods

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

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

toConstr :: TablesInsert -> Constr #

dataTypeOf :: TablesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TablesInsert Source # 
Instance details

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

Generic TablesInsert Source # 
Instance details

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

Associated Types

type Rep TablesInsert :: Type -> Type #

GoogleRequest TablesInsert Source # 
Instance details

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

Associated Types

type Rs TablesInsert :: Type #

type Scopes TablesInsert :: [Symbol] #

type Rep TablesInsert Source # 
Instance details

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

type Rep TablesInsert = D1 (MetaData "TablesInsert" "Network.Google.Resource.BigQuery.Tables.Insert" "gogol-bigquery-0.5.0-8a50FZYxIVDKuJhx6dYzvX" False) (C1 (MetaCons "TablesInsert'" PrefixI True) (S1 (MetaSel (Just "_tiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Table) :*: (S1 (MetaSel (Just "_tiDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tiProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TablesInsert Source # 
Instance details

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

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

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

Request Lenses

tiPayload :: Lens' TablesInsert Table Source #

Multipart request metadata.

tiDataSetId :: Lens' TablesInsert Text Source #

Dataset ID of the new table

tiProjectId :: Lens' TablesInsert Text Source #

Project ID of the new table