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.Patch

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. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for bigquery.datasets.patch method which the DataSetsPatch request conforms to.

Creating a Request

dataSetsPatch Source #

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

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

data DataSetsPatch 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. This method supports patch semantics.

See: dataSetsPatch smart constructor.

Instances
Eq DataSetsPatch Source # 
Instance details

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

Data DataSetsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: DataSetsPatch -> Constr #

dataTypeOf :: DataSetsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetsPatch Source # 
Instance details

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

Generic DataSetsPatch Source # 
Instance details

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

Associated Types

type Rep DataSetsPatch :: Type -> Type #

GoogleRequest DataSetsPatch Source # 
Instance details

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

Associated Types

type Rs DataSetsPatch :: Type #

type Scopes DataSetsPatch :: [Symbol] #

type Rep DataSetsPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

dspPayload :: Lens' DataSetsPatch DataSet Source #

Multipart request metadata.

dspDataSetId :: Lens' DataSetsPatch Text Source #

Dataset ID of the dataset being updated

dspProjectId :: Lens' DataSetsPatch Text Source #

Project ID of the dataset being updated