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.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))))))) Source #

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

Creating a Request

dataSetsUpdate Source #

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

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 Source # 
Data DataSetsUpdate Source # 

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

Associated Types

type Rep DataSetsUpdate :: * -> * #

GoogleRequest DataSetsUpdate Source # 
type Rep DataSetsUpdate Source # 
type Rep DataSetsUpdate = D1 (MetaData "DataSetsUpdate" "Network.Google.Resource.BigQuery.DataSets.Update" "gogol-bigquery-0.2.0-3fCPg7tJifhHdk9ndZyz2d" 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 Source # 
type Scopes DataSetsUpdate = (:) Symbol "https://www.googleapis.com/auth/bigquery" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol))
type Rs DataSetsUpdate Source # 

Request Lenses

dsuPayload :: Lens' DataSetsUpdate DataSet Source #

Multipart request metadata.

dsuDataSetId :: Lens' DataSetsUpdate Text Source #

Dataset ID of the dataset being updated

dsuProjectId :: Lens' DataSetsUpdate Text Source #

Project ID of the dataset being updated