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.Manufacturers.Types

Contents

Description

 

Synopsis

Service Configuration

manufacturersService :: ServiceConfig Source #

Default request referring to version v1 of the Manufacturer Center API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

manufacturercenterScope :: Proxy '["https://www.googleapis.com/auth/manufacturercenter"] Source #

Manage your product listings for Google Manufacturer Center

Attributes

data Attributes Source #

Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116.

See: attributes smart constructor.

Instances

Eq Attributes Source # 
Data Attributes Source # 

Methods

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

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

toConstr :: Attributes -> Constr #

dataTypeOf :: Attributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Attributes Source # 
Generic Attributes Source # 

Associated Types

type Rep Attributes :: * -> * #

ToJSON Attributes Source # 
FromJSON Attributes Source # 
type Rep Attributes Source # 

attributes :: Attributes Source #

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

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

aProductName :: Lens' Attributes (Maybe Text) Source #

The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname.

aProductLine :: Lens' Attributes (Maybe Text) Source #

The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline.

aProductType :: Lens' Attributes [Text] Source #

The manufacturer's category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype.

aBrand :: Lens' Attributes (Maybe Text) Source #

The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand.

aGtin :: Lens' Attributes [Text] Source #

The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin.

aTitle :: Lens' Attributes (Maybe Text) Source #

The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title.

aMpn :: Lens' Attributes (Maybe Text) Source #

The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn.

aProductPageURL :: Lens' Attributes (Maybe Text) Source #

The URL of the manufacturer's detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage.

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances

Enum Xgafv Source # 
Eq Xgafv Source # 

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Show Xgafv Source # 

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 

Associated Types

type Rep Xgafv :: * -> * #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
FromJSON Xgafv Source # 
FromHttpApiData Xgafv Source # 
ToHttpApiData Xgafv Source # 
type Rep Xgafv Source # 
type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.Manufacturers.Types.Sum" "gogol-manufacturers-0.3.0-8417rNhOdIFHiQLLZnnUO" False) ((:+:) (C1 (MetaCons "X1" PrefixI False) U1) (C1 (MetaCons "X2" PrefixI False) U1))

IssueSeverity

data IssueSeverity Source #

The severity of the issue.

Constructors

SeverityUnspecified

SEVERITY_UNSPECIFIED Unspecified severity, never used.

Error'

ERROR Error severity. The issue prevents the usage of the whole item.

Warning

WARNING Warning severity. The issue is either one that prevents the usage of the attribute that triggered it or one that will soon prevent the usage of the whole item.

Info

INFO Info severity. The issue is one that doesn't require immediate attention. It is, for example, used to communicate which attributes are still pending review.

Instances

Enum IssueSeverity Source # 
Eq IssueSeverity Source # 
Data IssueSeverity Source # 

Methods

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

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

toConstr :: IssueSeverity -> Constr #

dataTypeOf :: IssueSeverity -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord IssueSeverity Source # 
Read IssueSeverity Source # 
Show IssueSeverity Source # 
Generic IssueSeverity Source # 

Associated Types

type Rep IssueSeverity :: * -> * #

Hashable IssueSeverity Source # 
ToJSON IssueSeverity Source # 
FromJSON IssueSeverity Source # 
FromHttpApiData IssueSeverity Source # 
ToHttpApiData IssueSeverity Source # 
type Rep IssueSeverity Source # 
type Rep IssueSeverity = D1 (MetaData "IssueSeverity" "Network.Google.Manufacturers.Types.Sum" "gogol-manufacturers-0.3.0-8417rNhOdIFHiQLLZnnUO" False) ((:+:) ((:+:) (C1 (MetaCons "SeverityUnspecified" PrefixI False) U1) (C1 (MetaCons "Error'" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Warning" PrefixI False) U1) (C1 (MetaCons "Info" PrefixI False) U1)))

Product

data Product Source #

Product data.

See: product smart constructor.

Instances

Eq Product Source # 

Methods

(==) :: Product -> Product -> Bool #

(/=) :: Product -> Product -> Bool #

Data Product Source # 

Methods

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

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

toConstr :: Product -> Constr #

dataTypeOf :: Product -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Product Source # 
Generic Product Source # 

Associated Types

type Rep Product :: * -> * #

Methods

from :: Product -> Rep Product x #

to :: Rep Product x -> Product #

ToJSON Product Source # 
FromJSON Product Source # 
type Rep Product Source # 

product :: Product Source #

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

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

pParent :: Lens' Product (Maybe Text) Source #

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

pManuallyDeletedAttributes :: Lens' Product [Text] Source #

Names of the attributes of the product deleted manually via the Manufacturer Center UI. 'OutputOnly

pTargetCountry :: Lens' Product (Maybe Text) Source #

The target country of the product as a CLDR territory code (for example, US). 'OutputOnly

pManuallyProvidedAttributes :: Lens' Product (Maybe Attributes) Source #

Attributes of the product provided manually via the Manufacturer Center UI. 'OutputOnly

pName :: Lens' Product (Maybe 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. 'OutputOnly

pIssues :: Lens' Product [Issue] Source #

A server-generated list of issues associated with the product. 'OutputOnly

pUploadedAttributes :: Lens' Product (Maybe Attributes) Source #

Attributes of the product uploaded via the Manufacturer Center API or via feeds.

pContentLanguage :: Lens' Product (Maybe Text) Source #

The content language of the product as a two-letter ISO 639-1 language code (for example, en). 'OutputOnly

pFinalAttributes :: Lens' Product (Maybe Attributes) Source #

Final attributes of the product. The final attributes are obtained by overriding the uploaded attributes with the manually provided and deleted attributes. Google systems only process, evaluate, review, and/or use final attributes. 'OutputOnly

pProductId :: Lens' Product (Maybe Text) Source #

The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. 'OutputOnly

Issue

data Issue Source #

Product issue.

See: issue smart constructor.

Instances

Eq Issue Source # 

Methods

(==) :: Issue -> Issue -> Bool #

(/=) :: Issue -> Issue -> Bool #

Data Issue Source # 

Methods

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

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

toConstr :: Issue -> Constr #

dataTypeOf :: Issue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Issue Source # 

Methods

showsPrec :: Int -> Issue -> ShowS #

show :: Issue -> String #

showList :: [Issue] -> ShowS #

Generic Issue Source # 

Associated Types

type Rep Issue :: * -> * #

Methods

from :: Issue -> Rep Issue x #

to :: Rep Issue x -> Issue #

ToJSON Issue Source # 
FromJSON Issue Source # 
type Rep Issue Source # 
type Rep Issue = D1 (MetaData "Issue" "Network.Google.Manufacturers.Types.Product" "gogol-manufacturers-0.3.0-8417rNhOdIFHiQLLZnnUO" False) (C1 (MetaCons "Issue'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iSeverity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IssueSeverity)))) ((:*:) (S1 (MetaSel (Just Symbol "_iType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

issue :: Issue Source #

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

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

iAttribute :: Lens' Issue (Maybe Text) Source #

If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116.

iSeverity :: Lens' Issue (Maybe IssueSeverity) Source #

The severity of the issue.

iType :: Lens' Issue (Maybe Text) Source #

The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.

iDescription :: Lens' Issue (Maybe Text) Source #

Description of the issue.

ListProductsResponse

data ListProductsResponse Source #

Instances

Eq ListProductsResponse Source # 
Data ListProductsResponse Source # 

Methods

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

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

toConstr :: ListProductsResponse -> Constr #

dataTypeOf :: ListProductsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListProductsResponse Source # 
Generic ListProductsResponse Source # 
ToJSON ListProductsResponse Source # 
FromJSON ListProductsResponse Source # 
type Rep ListProductsResponse Source # 
type Rep ListProductsResponse = D1 (MetaData "ListProductsResponse" "Network.Google.Manufacturers.Types.Product" "gogol-manufacturers-0.3.0-8417rNhOdIFHiQLLZnnUO" False) (C1 (MetaCons "ListProductsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lprNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lprProducts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Product])))))

listProductsResponse :: ListProductsResponse Source #

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

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

lprNextPageToken :: Lens' ListProductsResponse (Maybe Text) Source #

The token for the retrieval of the next page of product statuses.