| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Manufacturers.Types
Contents
Description
Synopsis
- manufacturersService :: ServiceConfig
- manufacturercenterScope :: Proxy '["https://www.googleapis.com/auth/manufacturercenter"]
- data DestinationStatusStatus
- = Unknown
- | Active
- | Pending
- | DisApproved
- data IssueResolution
- data Image
- image :: Image
- iStatus :: Lens' Image (Maybe ImageStatus)
- iImageURL :: Lens' Image (Maybe Text)
- iType :: Lens' Image (Maybe ImageType)
- data FeatureDescription
- featureDescription :: FeatureDescription
- fdImage :: Lens' FeatureDescription (Maybe Image)
- fdText :: Lens' FeatureDescription (Maybe Text)
- fdHeadline :: Lens' FeatureDescription (Maybe Text)
- data ProductDetail
- productDetail :: ProductDetail
- pdAttributeValue :: Lens' ProductDetail (Maybe Text)
- pdAttributeName :: Lens' ProductDetail (Maybe Text)
- pdSectionName :: Lens' ProductDetail (Maybe Text)
- data Empty
- empty :: Empty
- data DestinationStatus
- destinationStatus :: DestinationStatus
- dsDestination :: Lens' DestinationStatus (Maybe Text)
- dsStatus :: Lens' DestinationStatus (Maybe DestinationStatusStatus)
- data ImageStatus
- data Count
- count :: Count
- cValue :: Lens' Count (Maybe Int64)
- cUnit :: Lens' Count (Maybe Text)
- data Capacity
- capacity :: Capacity
- capValue :: Lens' Capacity (Maybe Int64)
- capUnit :: Lens' Capacity (Maybe Text)
- data ImageType
- data Attributes
- attributes :: Attributes
- aProductName :: Lens' Attributes (Maybe Text)
- aScent :: Lens' Attributes (Maybe Text)
- aImageLink :: Lens' Attributes (Maybe Image)
- aFeatureDescription :: Lens' Attributes [FeatureDescription]
- aProductDetail :: Lens' Attributes [ProductDetail]
- aProductLine :: Lens' Attributes (Maybe Text)
- aColor :: Lens' Attributes (Maybe Text)
- aSize :: Lens' Attributes (Maybe Text)
- aFlavor :: Lens' Attributes (Maybe Text)
- aPattern :: Lens' Attributes (Maybe Text)
- aSizeSystem :: Lens' Attributes (Maybe Text)
- aMaterial :: Lens' Attributes (Maybe Text)
- aFormat :: Lens' Attributes (Maybe Text)
- aProductType :: Lens' Attributes [Text]
- aCount :: Lens' Attributes (Maybe Count)
- aDisclosureDate :: Lens' Attributes (Maybe Text)
- aBrand :: Lens' Attributes (Maybe Text)
- aAdditionalImageLink :: Lens' Attributes [Image]
- aExcludedDestination :: Lens' Attributes [Text]
- aVideoLink :: Lens' Attributes [Text]
- aCapacity :: Lens' Attributes (Maybe Capacity)
- aGtin :: Lens' Attributes [Text]
- aAgeGroup :: Lens' Attributes (Maybe Text)
- aIncludedDestination :: Lens' Attributes [Text]
- aGender :: Lens' Attributes (Maybe Text)
- aSuggestedRetailPrice :: Lens' Attributes (Maybe Price)
- aItemGroupId :: Lens' Attributes (Maybe Text)
- aTargetClientId :: Lens' Attributes (Maybe Text)
- aSizeType :: Lens' Attributes (Maybe Text)
- aReleaseDate :: Lens' Attributes (Maybe Text)
- aTitle :: Lens' Attributes (Maybe Text)
- aMpn :: Lens' Attributes (Maybe Text)
- aProductPageURL :: Lens' Attributes (Maybe Text)
- aDescription :: Lens' Attributes (Maybe Text)
- aTheme :: Lens' Attributes (Maybe Text)
- data Xgafv
- data IssueSeverity
- data Price
- price :: Price
- pAmount :: Lens' Price (Maybe Text)
- pCurrency :: Lens' Price (Maybe Text)
- data Product
- product :: Product
- pParent :: Lens' Product (Maybe Text)
- pDestinationStatuses :: Lens' Product [DestinationStatus]
- pTargetCountry :: Lens' Product (Maybe Text)
- pName :: Lens' Product (Maybe Text)
- pAttributes :: Lens' Product (Maybe Attributes)
- pIssues :: Lens' Product [Issue]
- pContentLanguage :: Lens' Product (Maybe Text)
- pProductId :: Lens' Product (Maybe Text)
- data Issue
- issue :: Issue
- issAttribute :: Lens' Issue (Maybe Text)
- issDestination :: Lens' Issue (Maybe Text)
- issSeverity :: Lens' Issue (Maybe IssueSeverity)
- issResolution :: Lens' Issue (Maybe IssueResolution)
- issTitle :: Lens' Issue (Maybe Text)
- issType :: Lens' Issue (Maybe Text)
- issTimestamp :: Lens' Issue (Maybe UTCTime)
- issDescription :: Lens' Issue (Maybe Text)
- data ListProductsResponse
- listProductsResponse :: ListProductsResponse
- lprNextPageToken :: Lens' ListProductsResponse (Maybe Text)
- lprProducts :: Lens' ListProductsResponse [Product]
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
DestinationStatusStatus
data DestinationStatusStatus Source #
The status of the destination.
Constructors
| Unknown |
|
| Active |
|
| Pending |
|
| DisApproved |
|
Instances
IssueResolution
data IssueResolution Source #
What needs to happen to resolve the issue.
Constructors
| ResolutionUnspecified |
|
| UserAction |
|
| PendingProcessing |
|
Instances
Image
An image.
See: image smart constructor.
Instances
| Eq Image Source # | |
| Data Image Source # | |
Defined in Network.Google.Manufacturers.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Image -> c Image # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Image # dataTypeOf :: Image -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Image) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Image) # gmapT :: (forall b. Data b => b -> b) -> Image -> Image # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r # gmapQ :: (forall d. Data d => d -> u) -> Image -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Image -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Image -> m Image # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image # | |
| Show Image Source # | |
| Generic Image Source # | |
| ToJSON Image Source # | |
Defined in Network.Google.Manufacturers.Types.Product | |
| FromJSON Image Source # | |
| type Rep Image Source # | |
Defined in Network.Google.Manufacturers.Types.Product type Rep Image = D1 (MetaData "Image" "Network.Google.Manufacturers.Types.Product" "gogol-manufacturers-0.4.0-7YdIXCJh5QE9wf56GVwxvn" False) (C1 (MetaCons "Image'" PrefixI True) (S1 (MetaSel (Just "_iStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImageStatus)) :*: (S1 (MetaSel (Just "_iImageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImageType))))) | |
iImageURL :: Lens' Image (Maybe Text) Source #
The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully.
iType :: Lens' Image (Maybe ImageType) Source #
The type of the image, i.e., crawled or uploaded. 'OutputOnly
FeatureDescription
data FeatureDescription Source #
A feature description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc.
See: featureDescription smart constructor.
Instances
featureDescription :: FeatureDescription Source #
Creates a value of FeatureDescription with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fdHeadline :: Lens' FeatureDescription (Maybe Text) Source #
A short description of the feature.
ProductDetail
data ProductDetail Source #
A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail.
See: productDetail smart constructor.
Instances
productDetail :: ProductDetail Source #
Creates a value of ProductDetail with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pdAttributeValue :: Lens' ProductDetail (Maybe Text) Source #
The value of the attribute.
pdAttributeName :: Lens' ProductDetail (Maybe Text) Source #
The name of the attribute.
pdSectionName :: Lens' ProductDetail (Maybe Text) Source #
A short section name that can be reused between multiple product details.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty smart constructor.
Instances
| Eq Empty Source # | |
| Data Empty Source # | |
Defined in Network.Google.Manufacturers.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
| Show Empty Source # | |
| Generic Empty Source # | |
| ToJSON Empty Source # | |
Defined in Network.Google.Manufacturers.Types.Product | |
| FromJSON Empty Source # | |
| type Rep Empty Source # | |
DestinationStatus
data DestinationStatus Source #
The destination status.
See: destinationStatus smart constructor.
Instances
destinationStatus :: DestinationStatus Source #
Creates a value of DestinationStatus with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsDestination :: Lens' DestinationStatus (Maybe Text) Source #
The name of the destination.
dsStatus :: Lens' DestinationStatus (Maybe DestinationStatusStatus) Source #
The status of the destination.
ImageStatus
data ImageStatus Source #
The status of the image. 'OutputOnly
Constructors
| ISStatusUnspecified |
|
| ISPendingProcessing |
|
| ISPendingCrawl |
|
| ISOK |
|
| ISRoboted |
|
| ISXroboted |
|
| ISCrawlError |
|
| ISProcessingError |
|
| ISDecodingError |
|
| ISTooBig |
|
| ISCrawlSkipped |
|
| ISHostLoaded |
|
| ISHTTP404 |
|
Instances
Count
The number of products in a single package. For more information, see https://support.google.com/manufacturers/answer/6124116#count.
See: count smart constructor.
Instances
| Eq Count Source # | |
| Data Count Source # | |
Defined in Network.Google.Manufacturers.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Count -> c Count # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Count # dataTypeOf :: Count -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Count) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Count) # gmapT :: (forall b. Data b => b -> b) -> Count -> Count # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Count -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Count -> r # gmapQ :: (forall d. Data d => d -> u) -> Count -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Count -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Count -> m Count # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Count -> m Count # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Count -> m Count # | |
| Show Count Source # | |
| Generic Count Source # | |
| ToJSON Count Source # | |
Defined in Network.Google.Manufacturers.Types.Product | |
| FromJSON Count Source # | |
| type Rep Count Source # | |
Defined in Network.Google.Manufacturers.Types.Product type Rep Count = D1 (MetaData "Count" "Network.Google.Manufacturers.Types.Product" "gogol-manufacturers-0.4.0-7YdIXCJh5QE9wf56GVwxvn" False) (C1 (MetaCons "Count'" PrefixI True) (S1 (MetaSel (Just "_cValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_cUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) | |
cValue :: Lens' Count (Maybe Int64) Source #
The numeric value of the number of products in a package.
Capacity
The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity.
See: capacity smart constructor.
Instances
| Eq Capacity Source # | |
| Data Capacity Source # | |
Defined in Network.Google.Manufacturers.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Capacity -> c Capacity # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Capacity # toConstr :: Capacity -> Constr # dataTypeOf :: Capacity -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Capacity) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Capacity) # gmapT :: (forall b. Data b => b -> b) -> Capacity -> Capacity # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Capacity -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Capacity -> r # gmapQ :: (forall d. Data d => d -> u) -> Capacity -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Capacity -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Capacity -> m Capacity # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Capacity -> m Capacity # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Capacity -> m Capacity # | |
| Show Capacity Source # | |
| Generic Capacity Source # | |
| ToJSON Capacity Source # | |
Defined in Network.Google.Manufacturers.Types.Product | |
| FromJSON Capacity Source # | |
| type Rep Capacity Source # | |
Defined in Network.Google.Manufacturers.Types.Product type Rep Capacity = D1 (MetaData "Capacity" "Network.Google.Manufacturers.Types.Product" "gogol-manufacturers-0.4.0-7YdIXCJh5QE9wf56GVwxvn" False) (C1 (MetaCons "Capacity'" PrefixI True) (S1 (MetaSel (Just "_capValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_capUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) | |
ImageType
The type of the image, i.e., crawled or uploaded. 'OutputOnly
Constructors
| TypeUnspecified |
|
| Crawled |
|
| Uploaded |
|
Instances
Attributes
data Attributes Source #
Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116.
See: attributes smart constructor.
Instances
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:
aProductNameaScentaImageLinkaFeatureDescriptionaProductDetailaProductLineaColoraSizeaFlavoraPatternaSizeSystemaMaterialaFormataProductTypeaCountaDisclosureDateaBrandaAdditionalImageLinkaExcludedDestinationaVideoLinkaCapacityaGtinaAgeGroupaIncludedDestinationaGenderaSuggestedRetailPriceaItemGroupIdaTargetClientIdaSizeTypeaReleaseDateaTitleaMpnaProductPageURLaDescriptionaTheme
aProductName :: Lens' Attributes (Maybe Text) Source #
The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname.
aScent :: Lens' Attributes (Maybe Text) Source #
The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent.
aImageLink :: Lens' Attributes (Maybe Image) Source #
The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image.
aFeatureDescription :: Lens' Attributes [FeatureDescription] Source #
The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc.
aProductDetail :: Lens' Attributes [ProductDetail] Source #
The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail.
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.
aColor :: Lens' Attributes (Maybe Text) Source #
The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color.
aSize :: Lens' Attributes (Maybe Text) Source #
The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size.
aFlavor :: Lens' Attributes (Maybe Text) Source #
The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor.
aPattern :: Lens' Attributes (Maybe Text) Source #
The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern.
aSizeSystem :: Lens' Attributes (Maybe Text) Source #
The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem.
aMaterial :: Lens' Attributes (Maybe Text) Source #
The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material.
aFormat :: Lens' Attributes (Maybe Text) Source #
The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format.
aProductType :: Lens' Attributes [Text] Source #
The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype.
aCount :: Lens' Attributes (Maybe Count) Source #
The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count.
aDisclosureDate :: Lens' Attributes (Maybe Text) Source #
The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure.
aBrand :: Lens' Attributes (Maybe Text) Source #
The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand.
aAdditionalImageLink :: Lens' Attributes [Image] Source #
The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage.
aExcludedDestination :: Lens' Attributes [Text] Source #
A list of excluded destinations.
aVideoLink :: Lens' Attributes [Text] Source #
The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video.
aCapacity :: Lens' Attributes (Maybe Capacity) Source #
The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity.
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.
aAgeGroup :: Lens' Attributes (Maybe Text) Source #
The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup.
aIncludedDestination :: Lens' Attributes [Text] Source #
A list of included destinations.
aGender :: Lens' Attributes (Maybe Text) Source #
The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender.
aSuggestedRetailPrice :: Lens' Attributes (Maybe Price) Source #
The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price.
aItemGroupId :: Lens' Attributes (Maybe Text) Source #
The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid.
aTargetClientId :: Lens' Attributes (Maybe Text) Source #
The target client id. Should only be used in the accounts of the data partners.
aSizeType :: Lens' Attributes (Maybe Text) Source #
The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype.
aReleaseDate :: Lens' Attributes (Maybe Text) Source #
The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release.
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 detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage.
aDescription :: Lens' Attributes (Maybe Text) Source #
The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description.
aTheme :: Lens' Attributes (Maybe Text) Source #
The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme.
Xgafv
V1 error format.
Instances
IssueSeverity
data IssueSeverity Source #
The severity of the issue.
Constructors
| SeverityUnspecified |
|
| Error' |
|
| Warning |
|
| Info |
|
Instances
Price
A price.
See: price smart constructor.
Instances
| Eq Price Source # | |
| Data Price Source # | |
Defined in Network.Google.Manufacturers.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Price -> c Price # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Price # dataTypeOf :: Price -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Price) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Price) # gmapT :: (forall b. Data b => b -> b) -> Price -> Price # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Price -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Price -> r # gmapQ :: (forall d. Data d => d -> u) -> Price -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Price -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Price -> m Price # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Price -> m Price # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Price -> m Price # | |
| Show Price Source # | |
| Generic Price Source # | |
| ToJSON Price Source # | |
Defined in Network.Google.Manufacturers.Types.Product | |
| FromJSON Price Source # | |
| type Rep Price Source # | |
Defined in Network.Google.Manufacturers.Types.Product type Rep Price = D1 (MetaData "Price" "Network.Google.Manufacturers.Types.Product" "gogol-manufacturers-0.4.0-7YdIXCJh5QE9wf56GVwxvn" False) (C1 (MetaCons "Price'" PrefixI True) (S1 (MetaSel (Just "_pAmount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pCurrency") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) | |
Product
Product data.
See: product smart constructor.
Instances
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.
pDestinationStatuses :: Lens' Product [DestinationStatus] Source #
The status of the destinations.
pTargetCountry :: Lens' Product (Maybe Text) Source #
The target country of the product as a CLDR territory code (for example, US).
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.
pAttributes :: Lens' Product (Maybe Attributes) Source #
Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account.
pIssues :: Lens' Product [Issue] Source #
A server-generated list of issues associated with the product.
pContentLanguage :: Lens' Product (Maybe Text) Source #
The content language of the product as a two-letter ISO 639-1 language code (for example, en).
pProductId :: Lens' Product (Maybe Text) Source #
The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.
Issue
Product issue.
See: issue smart constructor.
Instances
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:
issAttribute :: 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.
issSeverity :: Lens' Issue (Maybe IssueSeverity) Source #
The severity of the issue.
issResolution :: Lens' Issue (Maybe IssueResolution) Source #
What needs to happen to resolve the issue.
issType :: Lens' Issue (Maybe Text) Source #
The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
issDescription :: Lens' Issue (Maybe Text) Source #
Longer description of the issue focused on how to resolve it.
ListProductsResponse
data ListProductsResponse Source #
Instances
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.
lprProducts :: Lens' ListProductsResponse [Product] Source #
List of the products.