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

Contents

Description

Lists the sub-accounts in your Merchant Center account.

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

Synopsis

REST Resource

type AccountsListResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("accounts" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountsListResponse)))))) Source #

A resource alias for content.accounts.list method which the AccountsList request conforms to.

Creating a Request

accountsList Source #

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

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

data AccountsList Source #

Lists the sub-accounts in your Merchant Center account.

See: accountsList smart constructor.

Instances
Eq AccountsList Source # 
Instance details

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

Data AccountsList Source # 
Instance details

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

Methods

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

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

toConstr :: AccountsList -> Constr #

dataTypeOf :: AccountsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsList Source # 
Instance details

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

Generic AccountsList Source # 
Instance details

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

Associated Types

type Rep AccountsList :: Type -> Type #

GoogleRequest AccountsList Source # 
Instance details

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

Associated Types

type Rs AccountsList :: Type #

type Scopes AccountsList :: [Symbol] #

type Rep AccountsList Source # 
Instance details

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

type Rep AccountsList = D1 (MetaData "AccountsList" "Network.Google.Resource.Content.Accounts.List" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "AccountsList'" PrefixI True) (S1 (MetaSel (Just "_allMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_allPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_allMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))
type Scopes AccountsList Source # 
Instance details

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

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

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

Request Lenses

allMerchantId :: Lens' AccountsList Word64 Source #

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

allPageToken :: Lens' AccountsList (Maybe Text) Source #

The token returned by the previous request.

allMaxResults :: Lens' AccountsList (Maybe Word32) Source #

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