gogol-bigquery-0.3.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.Update

Contents

Description

Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.

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

Synopsis

REST Resource

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

A resource alias for bigquery.datasets.update method which the DataSetsUpdate request conforms to.

Creating a Request

dataSetsUpdate #

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

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

data DataSetsUpdate #

Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.

See: dataSetsUpdate smart constructor.

Instances

Eq DataSetsUpdate # 
Data DataSetsUpdate # 

Methods

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

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

toConstr :: DataSetsUpdate -> Constr #

dataTypeOf :: DataSetsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetsUpdate # 
Generic DataSetsUpdate # 

Associated Types

type Rep DataSetsUpdate :: * -> * #

GoogleRequest DataSetsUpdate # 
type Rep DataSetsUpdate # 
type Rep DataSetsUpdate = D1 (MetaData "DataSetsUpdate" "Network.Google.Resource.BigQuery.DataSets.Update" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "DataSetsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DataSet)) ((:*:) (S1 (MetaSel (Just Symbol "_dsuDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsuProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes DataSetsUpdate # 
type Scopes DataSetsUpdate = (:) Symbol "https://www.googleapis.com/auth/bigquery" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol))
type Rs DataSetsUpdate # 

Request Lenses

dsuPayload :: Lens' DataSetsUpdate DataSet #

Multipart request metadata.

dsuDataSetId :: Lens' DataSetsUpdate Text #

Dataset ID of the dataset being updated

dsuProjectId :: Lens' DataSetsUpdate Text #

Project ID of the dataset being updated