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.Get

Contents

Description

Gets the status of a product from your Merchant Center account.

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

Synopsis

REST Resource

type ProductstatusesGetResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("productstatuses" :> (Capture "productId" Text :> (QueryParams "destinations" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductStatus)))))) Source #

A resource alias for content.productstatuses.get method which the ProductstatusesGet request conforms to.

Creating a Request

productstatusesGet Source #

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

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

data ProductstatusesGet Source #

Gets the status of a product from your Merchant Center account.

See: productstatusesGet smart constructor.

Instances
Eq ProductstatusesGet Source # 
Instance details

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

Data ProductstatusesGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProductstatusesGet -> Constr #

dataTypeOf :: ProductstatusesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductstatusesGet Source # 
Instance details

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

Generic ProductstatusesGet Source # 
Instance details

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

Associated Types

type Rep ProductstatusesGet :: Type -> Type #

GoogleRequest ProductstatusesGet Source # 
Instance details

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

Associated Types

type Rs ProductstatusesGet :: Type #

type Scopes ProductstatusesGet :: [Symbol] #

type Rep ProductstatusesGet Source # 
Instance details

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

type Rep ProductstatusesGet = D1 (MetaData "ProductstatusesGet" "Network.Google.Resource.Content.Productstatuses.Get" "gogol-shopping-content-0.4.0-BIsXJOofTh8GkBklIAn8Hh" False) (C1 (MetaCons "ProductstatusesGet'" PrefixI True) (S1 (MetaSel (Just "_pgMerchantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word64)) :*: (S1 (MetaSel (Just "_pgDestinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_pgProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ProductstatusesGet Source # 
Instance details

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

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

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

Request Lenses

pgMerchantId :: Lens' ProductstatusesGet Word64 Source #

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

pgDestinations :: Lens' ProductstatusesGet [Text] Source #

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

pgProductId :: Lens' ProductstatusesGet Text Source #

The REST id of the product.