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

Contents

Description

Registers a datafeed configuration with your Merchant Center account.

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

Synopsis

REST Resource

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

A resource alias for content.datafeeds.insert method which the DatafeedsInsert request conforms to.

Creating a Request

datafeedsInsert Source #

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

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

data DatafeedsInsert Source #

Registers a datafeed configuration with your Merchant Center account.

See: datafeedsInsert smart constructor.

Instances
Eq DatafeedsInsert Source # 
Instance details

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

Data DatafeedsInsert Source # 
Instance details

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

Methods

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

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

toConstr :: DatafeedsInsert -> Constr #

dataTypeOf :: DatafeedsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DatafeedsInsert Source # 
Instance details

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

Generic DatafeedsInsert Source # 
Instance details

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

Associated Types

type Rep DatafeedsInsert :: Type -> Type #

GoogleRequest DatafeedsInsert Source # 
Instance details

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

Associated Types

type Rs DatafeedsInsert :: Type #

type Scopes DatafeedsInsert :: [Symbol] #

type Rep DatafeedsInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

diMerchantId :: Lens' DatafeedsInsert Word64 Source #

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

diPayload :: Lens' DatafeedsInsert Datafeed Source #

Multipart request metadata.