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.Products.Delete

Contents

Description

Deletes a product from your Merchant Center account.

See: Content API for Shopping Reference for content.products.delete.

Synopsis

REST Resource

type ProductsDeleteResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("products" :> (Capture "productId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))) Source #

A resource alias for content.products.delete method which the ProductsDelete request conforms to.

Creating a Request

productsDelete Source #

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

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

data ProductsDelete Source #

Deletes a product from your Merchant Center account.

See: productsDelete smart constructor.

Instances
Eq ProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Content.Products.Delete

Data ProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Content.Products.Delete

Methods

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

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

toConstr :: ProductsDelete -> Constr #

dataTypeOf :: ProductsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Content.Products.Delete

Generic ProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Content.Products.Delete

Associated Types

type Rep ProductsDelete :: Type -> Type #

GoogleRequest ProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Content.Products.Delete

Associated Types

type Rs ProductsDelete :: Type #

type Scopes ProductsDelete :: [Symbol] #

type Rep ProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Content.Products.Delete

type Rep ProductsDelete = D1 (MetaData "ProductsDelete" "Network.Google.Resource.Content.Products.Delete" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "ProductsDelete'" PrefixI True) (S1 (MetaSel (Just "_proMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_proProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Content.Products.Delete

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

Defined in Network.Google.Resource.Content.Products.Delete

type Rs ProductsDelete = ()

Request Lenses

proMerchantId :: Lens' ProductsDelete Word64 Source #

The ID of the account that contains the product. This account cannot be a multi-client account.

proProductId :: Lens' ProductsDelete Text Source #

The REST id of the product.