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.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 # 
Data TablesInsert Source # 

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 # 
Generic TablesInsert Source # 

Associated Types

type Rep TablesInsert :: * -> * #

GoogleRequest TablesInsert Source # 

Associated Types

type Rs TablesInsert :: * #

type Scopes TablesInsert :: [Symbol] #

type Rep TablesInsert Source # 
type Rep TablesInsert = D1 (MetaData "TablesInsert" "Network.Google.Resource.BigQuery.Tables.Insert" "gogol-bigquery-0.1.1-KRCXCCvs7bGAaYeYFu3wzh" False) (C1 (MetaCons "TablesInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Table)) ((:*:) (S1 (MetaSel (Just Symbol "_tiDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tiProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes TablesInsert Source # 
type Scopes TablesInsert = (:) Symbol "https://www.googleapis.com/auth/bigquery" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol))
type Rs TablesInsert Source # 

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