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.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.1" :> (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 # 
Instance details

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

Data ProductsGet Source # 
Instance details

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

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 # 
Instance details

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

Generic ProductsGet Source # 
Instance details

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

Associated Types

type Rep ProductsGet :: Type -> Type #

GoogleRequest ProductsGet Source # 
Instance details

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

Associated Types

type Rs ProductsGet :: Type #

type Scopes ProductsGet :: [Symbol] #

type Rep ProductsGet Source # 
Instance details

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

type Rep ProductsGet = D1 (MetaData "ProductsGet" "Network.Google.Resource.Content.Products.Get" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "ProductsGet'" PrefixI True) (S1 (MetaSel (Just "_pggMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: S1 (MetaSel (Just "_pggProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ProductsGet Source # 
Instance details

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

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

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

Request Lenses

pggMerchantId :: Lens' ProductsGet Word64 Source #

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

pggProductId :: Lens' ProductsGet Text Source #

The REST id of the product.