gogol-shopping-content-0.3.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. This method can only be called for non-multi-client accounts.

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

Synopsis

REST Resource

type ProductsListResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("products" :> (QueryParam "includeInvalidInsertedItems" Bool :> (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. This method can only be called for non-multi-client accounts.

See: productsList smart constructor.

Instances

Eq ProductsList Source # 
Data ProductsList Source # 

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 # 
Generic ProductsList Source # 

Associated Types

type Rep ProductsList :: * -> * #

GoogleRequest ProductsList Source # 

Associated Types

type Rs ProductsList :: * #

type Scopes ProductsList :: [Symbol] #

type Rep ProductsList Source # 
type Rep ProductsList = D1 (MetaData "ProductsList" "Network.Google.Resource.Content.Products.List" "gogol-shopping-content-0.3.0-41TtXTFsjJg1FCE4alRDuM" False) (C1 (MetaCons "ProductsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_proMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_proIncludeInvalidInsertedItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_proPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_proMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes ProductsList Source # 
type Scopes ProductsList = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs ProductsList Source # 

Request Lenses

proMerchantId :: Lens' ProductsList Word64 Source #

The ID of the managing account.

proIncludeInvalidInsertedItems :: Lens' ProductsList (Maybe Bool) Source #

Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false).

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

The token returned by the previous request.

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

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