gogol-manufacturers-0.4.0: Google Manufacturer Center 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.Manufacturers.Accounts.Products.Delete

Contents

Description

Deletes the product from a Manufacturer Center account.

See: Manufacturer Center API Reference for manufacturers.accounts.products.delete.

Synopsis

REST Resource

type AccountsProductsDeleteResource = "v1" :> (Capture "parent" Text :> ("products" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))) Source #

A resource alias for manufacturers.accounts.products.delete method which the AccountsProductsDelete request conforms to.

Creating a Request

accountsProductsDelete Source #

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

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

data AccountsProductsDelete Source #

Deletes the product from a Manufacturer Center account.

See: accountsProductsDelete smart constructor.

Instances
Eq AccountsProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Delete

Data AccountsProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Delete

Methods

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

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

toConstr :: AccountsProductsDelete -> Constr #

dataTypeOf :: AccountsProductsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Delete

Generic AccountsProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Delete

Associated Types

type Rep AccountsProductsDelete :: Type -> Type #

GoogleRequest AccountsProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Delete

type Rep AccountsProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Delete

type Rep AccountsProductsDelete = D1 (MetaData "AccountsProductsDelete" "Network.Google.Resource.Manufacturers.Accounts.Products.Delete" "gogol-manufacturers-0.4.0-7YdIXCJh5QE9wf56GVwxvn" False) (C1 (MetaCons "AccountsProductsDelete'" PrefixI True) ((S1 (MetaSel (Just "_apdParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_apdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_apdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_apdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_apdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_apdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_apdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes AccountsProductsDelete Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Delete

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

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Delete

Request Lenses

apdParent :: Lens' AccountsProductsDelete Text Source #

Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.

apdUploadProtocol :: Lens' AccountsProductsDelete (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

apdUploadType :: Lens' AccountsProductsDelete (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

apdName :: Lens' AccountsProductsDelete Text Source #

Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.