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

Contents

Description

Lists the statuses of the products in your Merchant Center account.

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

Synopsis

REST Resource

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

A resource alias for content.productstatuses.list method which the ProductstatusesList request conforms to.

Creating a Request

productstatusesList Source #

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

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

data ProductstatusesList Source #

Lists the statuses of the products in your Merchant Center account.

See: productstatusesList smart constructor.

Instances
Eq ProductstatusesList Source # 
Instance details

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

Data ProductstatusesList Source # 
Instance details

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

Methods

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

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

toConstr :: ProductstatusesList -> Constr #

dataTypeOf :: ProductstatusesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductstatusesList Source # 
Instance details

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

Generic ProductstatusesList Source # 
Instance details

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

Associated Types

type Rep ProductstatusesList :: Type -> Type #

GoogleRequest ProductstatusesList Source # 
Instance details

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

Associated Types

type Rs ProductstatusesList :: Type #

type Scopes ProductstatusesList :: [Symbol] #

type Rep ProductstatusesList Source # 
Instance details

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

type Rep ProductstatusesList = D1 (MetaData "ProductstatusesList" "Network.Google.Resource.Content.Productstatuses.List" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "ProductstatusesList'" PrefixI True) ((S1 (MetaSel (Just "_plMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_plDestinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_plPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))
type Scopes ProductstatusesList Source # 
Instance details

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

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

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

Request Lenses

plMerchantId :: Lens' ProductstatusesList Word64 Source #

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

plDestinations :: Lens' ProductstatusesList [Text] Source #

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

plPageToken :: Lens' ProductstatusesList (Maybe Text) Source #

The token returned by the previous request.

plMaxResults :: Lens' ProductstatusesList (Maybe Word32) Source #

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