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

Contents

Description

Lists the products in your Merchant Center account.

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

Synopsis

REST Resource

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

A resource alias for content.products.list method which the ProductsList request conforms to.

Creating a Request

productsList Source #

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

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

data ProductsList Source #

Lists the products in your Merchant Center account.

See: productsList smart constructor.

Instances
Eq ProductsList Source # 
Instance details

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

Data ProductsList Source # 
Instance details

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

Methods

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

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

toConstr :: ProductsList -> Constr #

dataTypeOf :: ProductsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsList Source # 
Instance details

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

Generic ProductsList Source # 
Instance details

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

Associated Types

type Rep ProductsList :: Type -> Type #

GoogleRequest ProductsList Source # 
Instance details

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

Associated Types

type Rs ProductsList :: Type #

type Scopes ProductsList :: [Symbol] #

type Rep ProductsList Source # 
Instance details

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

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

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

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

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

Request Lenses

pllMerchantId :: Lens' ProductsList Word64 Source #

The ID of the account that contains the products. This account cannot be a multi-client account.

pllPageToken :: Lens' ProductsList (Maybe Text) Source #

The token returned by the previous request.

pllMaxResults :: Lens' ProductsList (Maybe Word32) Source #

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