| Copyright | (c) 2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Content.Datafeeds.Insert
Description
Registers a datafeed with your Merchant Center account.
See: Content API for Shopping Reference for content.datafeeds.insert.
- type DatafeedsInsertResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("datafeeds" :> (QueryParam "dryRun" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Datafeed :> Post `[JSON]` Datafeed))))))
- datafeedsInsert :: Word64 -> Datafeed -> DatafeedsInsert
- data DatafeedsInsert
- diMerchantId :: Lens' DatafeedsInsert Word64
- diPayload :: Lens' DatafeedsInsert Datafeed
- diDryRun :: Lens' DatafeedsInsert (Maybe Bool)
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
Arguments
| :: Word64 | |
| -> Datafeed | |
| -> DatafeedsInsert |
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.
See: datafeedsInsert smart constructor.
Request Lenses
diPayload :: Lens' DatafeedsInsert Datafeed Source
Multipart request metadata.