gogol-shopping-content-0.4.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.Update

Contents

Description

Updates a datafeed configuration of your Merchant Center account.

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

Synopsis

REST Resource

type DatafeedsUpdateResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (Capture "datafeedId" (Textual Word64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Datafeed :> Put '[JSON] Datafeed)))))) Source #

A resource alias for content.datafeeds.update method which the DatafeedsUpdate request conforms to.

Creating a Request

datafeedsUpdate Source #

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

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

data DatafeedsUpdate Source #

Updates a datafeed configuration of your Merchant Center account.

See: datafeedsUpdate smart constructor.

Instances
Eq DatafeedsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Datafeeds.Update

Data DatafeedsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Datafeeds.Update

Methods

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

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

toConstr :: DatafeedsUpdate -> Constr #

dataTypeOf :: DatafeedsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DatafeedsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Datafeeds.Update

Generic DatafeedsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Datafeeds.Update

Associated Types

type Rep DatafeedsUpdate :: Type -> Type #

GoogleRequest DatafeedsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Datafeeds.Update

Associated Types

type Rs DatafeedsUpdate :: Type #

type Scopes DatafeedsUpdate :: [Symbol] #

type Rep DatafeedsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Datafeeds.Update

type Rep DatafeedsUpdate = D1 (MetaData "DatafeedsUpdate" "Network.Google.Resource.Content.Datafeeds.Update" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "DatafeedsUpdate'" PrefixI True) (S1 (MetaSel (Just "_duMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_duPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Datafeed) :*: S1 (MetaSel (Just "_duDatafeedId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)))))
type Scopes DatafeedsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Datafeeds.Update

type Scopes DatafeedsUpdate = "https://www.googleapis.com/auth/content" ': ([] :: [Symbol])
type Rs DatafeedsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Content.Datafeeds.Update

Request Lenses

duMerchantId :: Lens' DatafeedsUpdate Word64 Source #

The ID of the account that manages the datafeed. This account cannot be a multi-client account.

duPayload :: Lens' DatafeedsUpdate Datafeed Source #

Multipart request metadata.

duDatafeedId :: Lens' DatafeedsUpdate Word64 Source #

The ID of the datafeed.