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.List

Contents

Description

Lists the statuses of the sub-accounts in your Merchant Center account.

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

Synopsis

REST Resource

type AccountstatusesListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accountstatuses" :> (QueryParams "destinations" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountstatusesListResponse))))))) Source #

A resource alias for content.accountstatuses.list method which the AccountstatusesList request conforms to.

Creating a Request

accountstatusesList Source #

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

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

data AccountstatusesList Source #

Lists the statuses of the sub-accounts in your Merchant Center account.

See: accountstatusesList smart constructor.

Instances
Eq AccountstatusesList Source # 
Instance details

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

Data AccountstatusesList Source # 
Instance details

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

Methods

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

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

toConstr :: AccountstatusesList -> Constr #

dataTypeOf :: AccountstatusesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountstatusesList Source # 
Instance details

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

Generic AccountstatusesList Source # 
Instance details

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

Associated Types

type Rep AccountstatusesList :: Type -> Type #

GoogleRequest AccountstatusesList Source # 
Instance details

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

Associated Types

type Rs AccountstatusesList :: Type #

type Scopes AccountstatusesList :: [Symbol] #

type Rep AccountstatusesList Source # 
Instance details

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

type Rep AccountstatusesList = D1 (MetaData "AccountstatusesList" "Network.Google.Resource.Content.Accountstatuses.List" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "AccountstatusesList'" PrefixI True) ((S1 (MetaSel (Just "_a2MerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_a2Destinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_a2PageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_a2MaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))
type Scopes AccountstatusesList Source # 
Instance details

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

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

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

Request Lenses

a2MerchantId :: Lens' AccountstatusesList Word64 Source #

The ID of the managing account. This must be a multi-client account.

a2Destinations :: Lens' AccountstatusesList [Text] Source #

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

a2PageToken :: Lens' AccountstatusesList (Maybe Text) Source #

The token returned by the previous request.

a2MaxResults :: Lens' AccountstatusesList (Maybe Word32) Source #

The maximum number of account statuses to return in the response, used for paging.