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.Accountstatuses.Get

Contents

Description

Retrieves the status of a Merchant Center account. Multi-client accounts can only call this method for sub-accounts.

See: Content API for Shopping Reference for content.accountstatuses.get.

Synopsis

REST Resource

type AccountstatusesGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accountstatuses" :> (Capture "accountId" (Textual Word64) :> (QueryParams "destinations" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountStatus)))))) Source #

A resource alias for content.accountstatuses.get method which the AccountstatusesGet request conforms to.

Creating a Request

accountstatusesGet Source #

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

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

data AccountstatusesGet Source #

Retrieves the status of a Merchant Center account. Multi-client accounts can only call this method for sub-accounts.

See: accountstatusesGet smart constructor.

Instances
Eq AccountstatusesGet Source # 
Instance details

Defined in Network.Google.Resource.Content.Accountstatuses.Get

Data AccountstatusesGet Source # 
Instance details

Defined in Network.Google.Resource.Content.Accountstatuses.Get

Methods

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

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

toConstr :: AccountstatusesGet -> Constr #

dataTypeOf :: AccountstatusesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountstatusesGet Source # 
Instance details

Defined in Network.Google.Resource.Content.Accountstatuses.Get

Generic AccountstatusesGet Source # 
Instance details

Defined in Network.Google.Resource.Content.Accountstatuses.Get

Associated Types

type Rep AccountstatusesGet :: Type -> Type #

GoogleRequest AccountstatusesGet Source # 
Instance details

Defined in Network.Google.Resource.Content.Accountstatuses.Get

Associated Types

type Rs AccountstatusesGet :: Type #

type Scopes AccountstatusesGet :: [Symbol] #

type Rep AccountstatusesGet Source # 
Instance details

Defined in Network.Google.Resource.Content.Accountstatuses.Get

type Rep AccountstatusesGet = D1 (MetaData "AccountstatusesGet" "Network.Google.Resource.Content.Accountstatuses.Get" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "AccountstatusesGet'" PrefixI True) (S1 (MetaSel (Just "_aaMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_aaAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_aaDestinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))
type Scopes AccountstatusesGet Source # 
Instance details

Defined in Network.Google.Resource.Content.Accountstatuses.Get

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

Defined in Network.Google.Resource.Content.Accountstatuses.Get

Request Lenses

aaMerchantId :: Lens' AccountstatusesGet 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.

aaDestinations :: Lens' AccountstatusesGet [Text] Source #

If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.