gogol-manufacturers-0.3.0: Google Manufacturer Center 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.Manufacturers.Accounts.Products.Get

Contents

Description

Gets the product from a Manufacturer Center account, including product issues.

See: Manufacturer Center API Reference for manufacturers.accounts.products.get.

Synopsis

REST Resource

type AccountsProductsGetResource = "v1" :> (Capture "parent" Text :> ("products" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Product))))))))))) Source #

A resource alias for manufacturers.accounts.products.get method which the AccountsProductsGet request conforms to.

Creating a Request

accountsProductsGet Source #

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

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

data AccountsProductsGet Source #

Gets the product from a Manufacturer Center account, including product issues.

See: accountsProductsGet smart constructor.

Instances

Eq AccountsProductsGet Source # 
Data AccountsProductsGet Source # 

Methods

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

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

toConstr :: AccountsProductsGet -> Constr #

dataTypeOf :: AccountsProductsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsProductsGet Source # 
Generic AccountsProductsGet Source # 
GoogleRequest AccountsProductsGet Source # 
type Rep AccountsProductsGet Source # 
type Scopes AccountsProductsGet Source # 
type Scopes AccountsProductsGet = (:) Symbol "https://www.googleapis.com/auth/manufacturercenter" ([] Symbol)
type Rs AccountsProductsGet Source # 

Request Lenses

apgParent :: Lens' AccountsProductsGet Text Source #

Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.

apgUploadProtocol :: Lens' AccountsProductsGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

apgPp :: Lens' AccountsProductsGet Bool Source #

Pretty-print response.

apgUploadType :: Lens' AccountsProductsGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

apgName :: Lens' AccountsProductsGet Text Source #

Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.