gogol-bigquery-0.2.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.DataSets.Insert

Contents

Description

Creates a new empty dataset.

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

Synopsis

REST Resource

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

A resource alias for bigquery.datasets.insert method which the DataSetsInsert request conforms to.

Creating a Request

dataSetsInsert Source #

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

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

data DataSetsInsert Source #

Creates a new empty dataset.

See: dataSetsInsert smart constructor.

Instances

Eq DataSetsInsert Source # 
Data DataSetsInsert Source # 

Methods

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

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

toConstr :: DataSetsInsert -> Constr #

dataTypeOf :: DataSetsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetsInsert Source # 
Generic DataSetsInsert Source # 

Associated Types

type Rep DataSetsInsert :: * -> * #

GoogleRequest DataSetsInsert Source # 
type Rep DataSetsInsert Source # 
type Rep DataSetsInsert = D1 (MetaData "DataSetsInsert" "Network.Google.Resource.BigQuery.DataSets.Insert" "gogol-bigquery-0.2.0-3fCPg7tJifhHdk9ndZyz2d" False) (C1 (MetaCons "DataSetsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DataSet)) (S1 (MetaSel (Just Symbol "_dsiProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes DataSetsInsert Source # 
type Scopes DataSetsInsert = (:) Symbol "https://www.googleapis.com/auth/bigquery" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol))
type Rs DataSetsInsert Source # 

Request Lenses

dsiPayload :: Lens' DataSetsInsert DataSet Source #

Multipart request metadata.

dsiProjectId :: Lens' DataSetsInsert Text Source #

Project ID of the new dataset