gogol-shopping-content-0.1.0: Google Content API for Shopping 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.Content.Datafeeds.Patch

Contents

Description

Updates a datafeed of your Merchant Center account. This method supports patch semantics.

See: Content API for Shopping Reference for content.datafeeds.patch.

Synopsis

REST Resource

type DatafeedsPatchResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (Capture "datafeedId" (Textual Word64) :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Datafeed :> Patch '[JSON] Datafeed))))))) Source #

A resource alias for content.datafeeds.patch method which the DatafeedsPatch request conforms to.

Creating a Request

datafeedsPatch Source #

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

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

data DatafeedsPatch Source #

Updates a datafeed of your Merchant Center account. This method supports patch semantics.

See: datafeedsPatch smart constructor.

Instances

Eq DatafeedsPatch Source # 
Data DatafeedsPatch Source # 

Methods

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

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

toConstr :: DatafeedsPatch -> Constr #

dataTypeOf :: DatafeedsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DatafeedsPatch Source # 
Generic DatafeedsPatch Source # 

Associated Types

type Rep DatafeedsPatch :: * -> * #

GoogleRequest DatafeedsPatch Source # 
type Rep DatafeedsPatch Source # 
type Rep DatafeedsPatch = D1 (MetaData "DatafeedsPatch" "Network.Google.Resource.Content.Datafeeds.Patch" "gogol-shopping-content-0.1.0-GO0gfKnFGN71KsZMRG9Ar6" False) (C1 (MetaCons "DatafeedsPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dpMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_dpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Datafeed))) ((:*:) (S1 (MetaSel (Just Symbol "_dpDatafeedId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_dpDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes DatafeedsPatch Source # 
type Scopes DatafeedsPatch = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs DatafeedsPatch Source # 

Request Lenses

dpPayload :: Lens' DatafeedsPatch Datafeed Source #

Multipart request metadata.

dpDryRun :: Lens' DatafeedsPatch (Maybe Bool) Source #

Flag to run the request in dry-run mode.