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

Contents

Description

Deletes a Merchant Center sub-account.

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

Synopsis

REST Resource

type AccountsDeleteResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accounts" :> (Capture "accountId" (Textual Word64) :> (QueryParam "force" Bool :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #

A resource alias for content.accounts.delete method which the AccountsDelete request conforms to.

Creating a Request

accountsDelete Source #

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

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

data AccountsDelete Source #

Deletes a Merchant Center sub-account.

See: accountsDelete smart constructor.

Instances
Eq AccountsDelete Source # 
Instance details

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

Data AccountsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: AccountsDelete -> Constr #

dataTypeOf :: AccountsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsDelete Source # 
Instance details

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

Generic AccountsDelete Source # 
Instance details

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

Associated Types

type Rep AccountsDelete :: Type -> Type #

GoogleRequest AccountsDelete Source # 
Instance details

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

Associated Types

type Rs AccountsDelete :: Type #

type Scopes AccountsDelete :: [Symbol] #

type Rep AccountsDelete Source # 
Instance details

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

type Rep AccountsDelete = D1 (MetaData "AccountsDelete" "Network.Google.Resource.Content.Accounts.Delete" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "AccountsDelete'" PrefixI True) (S1 (MetaSel (Just "_adMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_adForce") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_adAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)))))
type Scopes AccountsDelete Source # 
Instance details

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

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

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

type Rs AccountsDelete = ()

Request Lenses

adMerchantId :: Lens' AccountsDelete Word64 Source #

The ID of the managing account. This must be a multi-client account, and accountId must be the ID of a sub-account of this account.

adForce :: Lens' AccountsDelete Bool Source #

Flag to delete sub-accounts with products. The default value is false.

adAccountId :: Lens' AccountsDelete Word64 Source #

The ID of the account.