gogol-shopping-content-0.1.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.Get

Contents

Description

Retrieves a product from your Merchant Center account.

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

Synopsis

REST Resource

type ProductsGetResource = "content" :> ("v2" :> (Capture "merchantId" (Textual Word64) :> ("products" :> (Capture "productId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Product))))) Source #

A resource alias for content.products.get method which the ProductsGet request conforms to.

Creating a Request

productsGet Source #

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

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

data ProductsGet Source #

Retrieves a product from your Merchant Center account.

See: productsGet smart constructor.

Instances

Eq ProductsGet Source # 
Data ProductsGet Source # 

Methods

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

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

toConstr :: ProductsGet -> Constr #

dataTypeOf :: ProductsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsGet Source # 
Generic ProductsGet Source # 

Associated Types

type Rep ProductsGet :: * -> * #

GoogleRequest ProductsGet Source # 

Associated Types

type Rs ProductsGet :: * #

type Scopes ProductsGet :: [Symbol] #

type Rep ProductsGet Source # 
type Rep ProductsGet = D1 (MetaData "ProductsGet" "Network.Google.Resource.Content.Products.Get" "gogol-shopping-content-0.1.0-GO0gfKnFGN71KsZMRG9Ar6" False) (C1 (MetaCons "ProductsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pggMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64))) (S1 (MetaSel (Just Symbol "_pggProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ProductsGet Source # 
type Scopes ProductsGet = (:) Symbol "https://www.googleapis.com/auth/content" ([] Symbol)
type Rs ProductsGet Source # 

Request Lenses

pggMerchantId :: Lens' ProductsGet Word64 Source #

The ID of the managing account.

pggProductId :: Lens' ProductsGet Text Source #

The ID of the product.