gogol-shopping-content-0.5.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.Claimwebsite

Contents

Description

Claims the website of a Merchant Center sub-account.

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

Synopsis

REST Resource

type AccountsClaimwebsiteResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accounts" :> (Capture "accountId" (Textual Word64) :> ("claimwebsite" :> (QueryParam "overwrite" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] AccountsClaimWebsiteResponse))))))) Source #

A resource alias for content.accounts.claimwebsite method which the AccountsClaimwebsite request conforms to.

Creating a Request

accountsClaimwebsite Source #

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

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

data AccountsClaimwebsite Source #

Claims the website of a Merchant Center sub-account.

See: accountsClaimwebsite smart constructor.

Instances
Eq AccountsClaimwebsite Source # 
Instance details

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

Data AccountsClaimwebsite Source # 
Instance details

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

Methods

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

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

toConstr :: AccountsClaimwebsite -> Constr #

dataTypeOf :: AccountsClaimwebsite -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsClaimwebsite Source # 
Instance details

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

Generic AccountsClaimwebsite Source # 
Instance details

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

Associated Types

type Rep AccountsClaimwebsite :: Type -> Type #

GoogleRequest AccountsClaimwebsite Source # 
Instance details

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

Associated Types

type Rs AccountsClaimwebsite :: Type #

type Scopes AccountsClaimwebsite :: [Symbol] #

type Rep AccountsClaimwebsite Source # 
Instance details

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

type Rep AccountsClaimwebsite = D1 (MetaData "AccountsClaimwebsite" "Network.Google.Resource.Content.Accounts.Claimwebsite" "gogol-shopping-content-0.5.0-JEbpzNrc2lB7bX2emYTGER" False) (C1 (MetaCons "AccountsClaimwebsite'" PrefixI True) (S1 (MetaSel (Just "_acMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_acAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_acOverwrite") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))
type Scopes AccountsClaimwebsite Source # 
Instance details

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

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

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

Request Lenses

acMerchantId :: Lens' AccountsClaimwebsite Word64 Source #

The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

acAccountId :: Lens' AccountsClaimwebsite Word64 Source #

The ID of the account whose website is claimed.

acOverwrite :: Lens' AccountsClaimwebsite (Maybe Bool) Source #

Only available to selected merchants. When set to True, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account.