gogol-shopping-content-0.2.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 with your Merchant Center account. This method can only be called for non-multi-client accounts.

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

Synopsis

REST Resource

type DatafeedsInsertResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (QueryParam "dryRun" Bool :> (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 with your Merchant Center account. This method can only be called for non-multi-client accounts.

See: datafeedsInsert smart constructor.

Instances

Eq DatafeedsInsert Source # 
Data DatafeedsInsert Source # 

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 # 
Generic DatafeedsInsert Source # 
GoogleRequest DatafeedsInsert Source # 
type Rep DatafeedsInsert Source # 
type Rep DatafeedsInsert = D1 (MetaData "DatafeedsInsert" "Network.Google.Resource.Content.Datafeeds.Insert" "gogol-shopping-content-0.2.0-1pAj2oGpAMt4E1jFF0ipBE" False) (C1 (MetaCons "DatafeedsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_diMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) ((:*:) (S1 (MetaSel (Just Symbol "_diPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Datafeed)) (S1 (MetaSel (Just Symbol "_diDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes DatafeedsInsert Source # 
type Scopes DatafeedsInsert = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs DatafeedsInsert Source # 

Request Lenses

diPayload :: Lens' DatafeedsInsert Datafeed Source #

Multipart request metadata.

diDryRun :: Lens' DatafeedsInsert (Maybe Bool) Source #

Flag to run the request in dry-run mode.