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

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

Data DataSetsInsert Source # 
Instance details

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

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

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

Generic DataSetsInsert Source # 
Instance details

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

Associated Types

type Rep DataSetsInsert :: Type -> Type #

GoogleRequest DataSetsInsert Source # 
Instance details

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

Associated Types

type Rs DataSetsInsert :: Type #

type Scopes DataSetsInsert :: [Symbol] #

type Rep DataSetsInsert Source # 
Instance details

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

type Rep DataSetsInsert = D1 (MetaData "DataSetsInsert" "Network.Google.Resource.BigQuery.DataSets.Insert" "gogol-bigquery-0.4.0-3wbQXUDNgiIGV0tYGk98l5" False) (C1 (MetaCons "DataSetsInsert'" PrefixI True) (S1 (MetaSel (Just "_dsiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DataSet) :*: S1 (MetaSel (Just "_dsiProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes DataSetsInsert Source # 
Instance details

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

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

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

Request Lenses

dsiPayload :: Lens' DataSetsInsert DataSet Source #

Multipart request metadata.

dsiProjectId :: Lens' DataSetsInsert Text Source #

Project ID of the new dataset