gogol-manufacturers-0.4.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. A recently updated product takes around 15 minutes to process. Changes are only visible after it has been processed. While some issues may be available once the product has been processed, other issues may take days to appear.

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

Synopsis

REST Resource

type AccountsProductsGetResource = "v1" :> (Capture "parent" Text :> ("products" :> (Capture "name" Text :> (QueryParams "include" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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. A recently updated product takes around 15 minutes to process. Changes are only visible after it has been processed. While some issues may be available once the product has been processed, other issues may take days to appear.

See: accountsProductsGet smart constructor.

Instances
Eq AccountsProductsGet Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Get

Data AccountsProductsGet Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Get

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

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Get

Generic AccountsProductsGet Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Get

Associated Types

type Rep AccountsProductsGet :: Type -> Type #

GoogleRequest AccountsProductsGet Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Get

Associated Types

type Rs AccountsProductsGet :: Type #

type Scopes AccountsProductsGet :: [Symbol] #

type Rep AccountsProductsGet Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Get

type Rep AccountsProductsGet = D1 (MetaData "AccountsProductsGet" "Network.Google.Resource.Manufacturers.Accounts.Products.Get" "gogol-manufacturers-0.4.0-7YdIXCJh5QE9wf56GVwxvn" False) (C1 (MetaCons "AccountsProductsGet'" PrefixI True) (((S1 (MetaSel (Just "_apgParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_apgInclude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_apgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_apgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_apgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_apgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_apgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_apgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes AccountsProductsGet Source # 
Instance details

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Get

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

Defined in Network.Google.Resource.Manufacturers.Accounts.Products.Get

Request Lenses

apgParent :: Lens' AccountsProductsGet Text Source #

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

apgInclude :: Lens' AccountsProductsGet [Text] Source #

The information to be included in the response. Only sections listed here will be returned.

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

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

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.