blob: e8052196b15763883e047795e5bc779ec6647698 [file] [log] [blame]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="manufacturers_v1.html">Manufacturer Center API</a> . <a href="manufacturers_v1.accounts.html">accounts</a> . <a href="manufacturers_v1.accounts.products.html">products</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#delete">delete(parent, name, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes the product from a Manufacturer Center account.</p>
<p class="toc_element">
<code><a href="#get">get(parent, name, include=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets the product from a Manufacturer Center account, including product</p>
<p class="toc_element">
<code><a href="#list">list(parent, include=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists all the products in a Manufacturer Center account.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#update">update(parent, name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Inserts or updates the attributes of the product in a Manufacturer Center</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="delete">delete(parent, name, x__xgafv=None)</code>
<pre>Deletes the product from a Manufacturer Center account.
Args:
parent: string, Parent ID in the format `accounts/{account_id}`.
`account_id` - The ID of the Manufacturer Center account. (required)
name: string, 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. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # 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 `{}`.
}</pre>
</div>
<div class="method">
<code class="details" id="get">get(parent, name, include=None, x__xgafv=None)</code>
<pre>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.
Args:
parent: string, Parent ID in the format `accounts/{account_id}`.
`account_id` - The ID of the Manufacturer Center account. (required)
name: string, 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. (required)
include: string, The information to be included in the response. Only sections listed here
will be returned. (repeated)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Product data.
&quot;parent&quot;: &quot;A String&quot;, # Parent ID in the format `accounts/{account_id}`.
#
# `account_id` - The ID of the Manufacturer Center account.
&quot;issues&quot;: [ # A server-generated list of issues associated with the product.
{ # Product issue.
&quot;attribute&quot;: &quot;A String&quot;, # If present, the attribute that triggered the issue. For more information
# about attributes, see
# https://support.google.com/manufacturers/answer/6124116.
&quot;destination&quot;: &quot;A String&quot;, # The destination this issue applies to.
&quot;title&quot;: &quot;A String&quot;, # Short title describing the nature of the issue.
&quot;description&quot;: &quot;A String&quot;, # Longer description of the issue focused on how to resolve it.
&quot;resolution&quot;: &quot;A String&quot;, # What needs to happen to resolve the issue.
&quot;type&quot;: &quot;A String&quot;, # The server-generated type of the issue, for example,
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
&quot;timestamp&quot;: &quot;A String&quot;, # The timestamp when this issue appeared.
&quot;severity&quot;: &quot;A String&quot;, # The severity of the issue.
},
],
&quot;productId&quot;: &quot;A String&quot;, # The ID of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#id.
&quot;attributes&quot;: { # Attributes of the product. For more information, see # Attributes of the product uploaded to the Manufacturer Center. Manually
# edited attributes are taken into account.
# https://support.google.com/manufacturers/answer/6124116.
&quot;productName&quot;: &quot;A String&quot;, # The canonical name of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productname.
&quot;productPageUrl&quot;: &quot;A String&quot;, # The URL of the detail page of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productpage.
&quot;releaseDate&quot;: &quot;A String&quot;, # The release date of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#release.
&quot;imageLink&quot;: { # An image. # The image of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#image.
&quot;imageUrl&quot;: &quot;A String&quot;, # 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.
&quot;type&quot;: &quot;A String&quot;, # The type of the image, i.e., crawled or uploaded.
# @OutputOnly
&quot;status&quot;: &quot;A String&quot;, # The status of the image.
# @OutputOnly
},
&quot;count&quot;: { # The number of products in a single package. For more information, see # The count of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#count.
# https://support.google.com/manufacturers/answer/6124116#count.
&quot;unit&quot;: &quot;A String&quot;, # The unit in which these products are counted.
&quot;value&quot;: &quot;A String&quot;, # The numeric value of the number of products in a package.
},
&quot;gtin&quot;: [ # The Global Trade Item Number (GTIN) of the product. For more information,
# see https://support.google.com/manufacturers/answer/6124116#gtin.
&quot;A String&quot;,
],
&quot;color&quot;: &quot;A String&quot;, # The color of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#color.
&quot;title&quot;: &quot;A String&quot;, # The title of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#title.
&quot;sizeType&quot;: &quot;A String&quot;, # The size type of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#sizetype.
&quot;productDetail&quot;: [ # The details of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productdetail.
{ # A product detail of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productdetail.
&quot;sectionName&quot;: &quot;A String&quot;, # A short section name that can be reused between multiple product details.
&quot;attributeName&quot;: &quot;A String&quot;, # The name of the attribute.
&quot;attributeValue&quot;: &quot;A String&quot;, # The value of the attribute.
},
],
&quot;featureDescription&quot;: [ # The rich format description of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
{ # A feature description of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
&quot;headline&quot;: &quot;A String&quot;, # A short description of the feature.
&quot;image&quot;: { # An image. # An optional image describing the feature.
&quot;imageUrl&quot;: &quot;A String&quot;, # 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.
&quot;type&quot;: &quot;A String&quot;, # The type of the image, i.e., crawled or uploaded.
# @OutputOnly
&quot;status&quot;: &quot;A String&quot;, # The status of the image.
# @OutputOnly
},
&quot;text&quot;: &quot;A String&quot;, # A detailed description of the feature.
},
],
&quot;includedDestination&quot;: [ # A list of included destinations.
&quot;A String&quot;,
],
&quot;videoLink&quot;: [ # The videos of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#video.
&quot;A String&quot;,
],
&quot;gender&quot;: &quot;A String&quot;, # The target gender of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#gender.
&quot;productLine&quot;: &quot;A String&quot;, # The name of the group of products related to the product. For more
# information, see
# https://support.google.com/manufacturers/answer/6124116#productline.
&quot;targetClientId&quot;: &quot;A String&quot;, # The target client id. Should only be used in the accounts of the data
# partners.
&quot;scent&quot;: &quot;A String&quot;, # The scent of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#scent.
&quot;excludedDestination&quot;: [ # A list of excluded destinations.
&quot;A String&quot;,
],
&quot;itemGroupId&quot;: &quot;A String&quot;, # The item group id of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#itemgroupid.
&quot;size&quot;: &quot;A String&quot;, # The size of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#size.
&quot;theme&quot;: &quot;A String&quot;, # The theme of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#theme.
&quot;description&quot;: &quot;A String&quot;, # The description of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#description.
&quot;richProductContent&quot;: [ # Rich product content. For more information, see
# https://support.google.com/manufacturers/answer/9389865
&quot;A String&quot;,
],
&quot;brand&quot;: &quot;A String&quot;, # The brand name of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#brand.
&quot;mpn&quot;: &quot;A String&quot;, # The Manufacturer Part Number (MPN) of the product. For more information,
# see https://support.google.com/manufacturers/answer/6124116#mpn.
&quot;disclosureDate&quot;: &quot;A String&quot;, # The disclosure date of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#disclosure.
&quot;material&quot;: &quot;A String&quot;, # The material of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#material.
&quot;productType&quot;: [ # The type or category of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#producttype.
&quot;A String&quot;,
],
&quot;capacity&quot;: { # The capacity of a product. For more information, see # The capacity of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#capacity.
# https://support.google.com/manufacturers/answer/6124116#capacity.
&quot;value&quot;: &quot;A String&quot;, # The numeric value of the capacity.
&quot;unit&quot;: &quot;A String&quot;, # The unit of the capacity, i.e., MB, GB, or TB.
},
&quot;format&quot;: &quot;A String&quot;, # The format of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#format.
&quot;pattern&quot;: &quot;A String&quot;, # The pattern of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#pattern.
&quot;ageGroup&quot;: &quot;A String&quot;, # The target age group of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#agegroup.
&quot;additionalImageLink&quot;: [ # The additional images of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#addlimage.
{ # An image.
&quot;imageUrl&quot;: &quot;A String&quot;, # 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.
&quot;type&quot;: &quot;A String&quot;, # The type of the image, i.e., crawled or uploaded.
# @OutputOnly
&quot;status&quot;: &quot;A String&quot;, # The status of the image.
# @OutputOnly
},
],
&quot;sizeSystem&quot;: &quot;A String&quot;, # The size system of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#sizesystem.
&quot;suggestedRetailPrice&quot;: { # A price. # The suggested retail price (MSRP) of the product. For more information,
# see https://support.google.com/manufacturers/answer/6124116#price.
&quot;currency&quot;: &quot;A String&quot;, # The currency in which the price is denoted.
&quot;amount&quot;: &quot;A String&quot;, # The numeric value of the price.
},
&quot;flavor&quot;: &quot;A String&quot;, # The flavor of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#flavor.
},
&quot;contentLanguage&quot;: &quot;A String&quot;, # The content language of the product as a two-letter ISO 639-1 language code
# (for example, en).
&quot;targetCountry&quot;: &quot;A String&quot;, # The target country of the product as a CLDR territory code (for example,
# US).
&quot;destinationStatuses&quot;: [ # The status of the destinations.
{ # The destination status.
&quot;status&quot;: &quot;A String&quot;, # The status of the destination.
&quot;destination&quot;: &quot;A String&quot;, # The name of the destination.
},
],
&quot;name&quot;: &quot;A String&quot;, # 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.
}</pre>
</div>
<div class="method">
<code class="details" id="list">list(parent, include=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Lists all the products in a Manufacturer Center account.
Args:
parent: string, Parent ID in the format `accounts/{account_id}`.
`account_id` - The ID of the Manufacturer Center account. (required)
include: string, The information to be included in the response. Only sections listed here
will be returned. (repeated)
pageSize: integer, Maximum number of product statuses to return in the response, used for
paging.
pageToken: string, The token returned by the previous request.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
&quot;products&quot;: [ # List of the products.
{ # Product data.
&quot;parent&quot;: &quot;A String&quot;, # Parent ID in the format `accounts/{account_id}`.
#
# `account_id` - The ID of the Manufacturer Center account.
&quot;issues&quot;: [ # A server-generated list of issues associated with the product.
{ # Product issue.
&quot;attribute&quot;: &quot;A String&quot;, # If present, the attribute that triggered the issue. For more information
# about attributes, see
# https://support.google.com/manufacturers/answer/6124116.
&quot;destination&quot;: &quot;A String&quot;, # The destination this issue applies to.
&quot;title&quot;: &quot;A String&quot;, # Short title describing the nature of the issue.
&quot;description&quot;: &quot;A String&quot;, # Longer description of the issue focused on how to resolve it.
&quot;resolution&quot;: &quot;A String&quot;, # What needs to happen to resolve the issue.
&quot;type&quot;: &quot;A String&quot;, # The server-generated type of the issue, for example,
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
&quot;timestamp&quot;: &quot;A String&quot;, # The timestamp when this issue appeared.
&quot;severity&quot;: &quot;A String&quot;, # The severity of the issue.
},
],
&quot;productId&quot;: &quot;A String&quot;, # The ID of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#id.
&quot;attributes&quot;: { # Attributes of the product. For more information, see # Attributes of the product uploaded to the Manufacturer Center. Manually
# edited attributes are taken into account.
# https://support.google.com/manufacturers/answer/6124116.
&quot;productName&quot;: &quot;A String&quot;, # The canonical name of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productname.
&quot;productPageUrl&quot;: &quot;A String&quot;, # The URL of the detail page of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productpage.
&quot;releaseDate&quot;: &quot;A String&quot;, # The release date of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#release.
&quot;imageLink&quot;: { # An image. # The image of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#image.
&quot;imageUrl&quot;: &quot;A String&quot;, # 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.
&quot;type&quot;: &quot;A String&quot;, # The type of the image, i.e., crawled or uploaded.
# @OutputOnly
&quot;status&quot;: &quot;A String&quot;, # The status of the image.
# @OutputOnly
},
&quot;count&quot;: { # The number of products in a single package. For more information, see # The count of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#count.
# https://support.google.com/manufacturers/answer/6124116#count.
&quot;unit&quot;: &quot;A String&quot;, # The unit in which these products are counted.
&quot;value&quot;: &quot;A String&quot;, # The numeric value of the number of products in a package.
},
&quot;gtin&quot;: [ # The Global Trade Item Number (GTIN) of the product. For more information,
# see https://support.google.com/manufacturers/answer/6124116#gtin.
&quot;A String&quot;,
],
&quot;color&quot;: &quot;A String&quot;, # The color of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#color.
&quot;title&quot;: &quot;A String&quot;, # The title of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#title.
&quot;sizeType&quot;: &quot;A String&quot;, # The size type of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#sizetype.
&quot;productDetail&quot;: [ # The details of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productdetail.
{ # A product detail of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productdetail.
&quot;sectionName&quot;: &quot;A String&quot;, # A short section name that can be reused between multiple product details.
&quot;attributeName&quot;: &quot;A String&quot;, # The name of the attribute.
&quot;attributeValue&quot;: &quot;A String&quot;, # The value of the attribute.
},
],
&quot;featureDescription&quot;: [ # The rich format description of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
{ # A feature description of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
&quot;headline&quot;: &quot;A String&quot;, # A short description of the feature.
&quot;image&quot;: { # An image. # An optional image describing the feature.
&quot;imageUrl&quot;: &quot;A String&quot;, # 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.
&quot;type&quot;: &quot;A String&quot;, # The type of the image, i.e., crawled or uploaded.
# @OutputOnly
&quot;status&quot;: &quot;A String&quot;, # The status of the image.
# @OutputOnly
},
&quot;text&quot;: &quot;A String&quot;, # A detailed description of the feature.
},
],
&quot;includedDestination&quot;: [ # A list of included destinations.
&quot;A String&quot;,
],
&quot;videoLink&quot;: [ # The videos of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#video.
&quot;A String&quot;,
],
&quot;gender&quot;: &quot;A String&quot;, # The target gender of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#gender.
&quot;productLine&quot;: &quot;A String&quot;, # The name of the group of products related to the product. For more
# information, see
# https://support.google.com/manufacturers/answer/6124116#productline.
&quot;targetClientId&quot;: &quot;A String&quot;, # The target client id. Should only be used in the accounts of the data
# partners.
&quot;scent&quot;: &quot;A String&quot;, # The scent of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#scent.
&quot;excludedDestination&quot;: [ # A list of excluded destinations.
&quot;A String&quot;,
],
&quot;itemGroupId&quot;: &quot;A String&quot;, # The item group id of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#itemgroupid.
&quot;size&quot;: &quot;A String&quot;, # The size of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#size.
&quot;theme&quot;: &quot;A String&quot;, # The theme of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#theme.
&quot;description&quot;: &quot;A String&quot;, # The description of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#description.
&quot;richProductContent&quot;: [ # Rich product content. For more information, see
# https://support.google.com/manufacturers/answer/9389865
&quot;A String&quot;,
],
&quot;brand&quot;: &quot;A String&quot;, # The brand name of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#brand.
&quot;mpn&quot;: &quot;A String&quot;, # The Manufacturer Part Number (MPN) of the product. For more information,
# see https://support.google.com/manufacturers/answer/6124116#mpn.
&quot;disclosureDate&quot;: &quot;A String&quot;, # The disclosure date of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#disclosure.
&quot;material&quot;: &quot;A String&quot;, # The material of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#material.
&quot;productType&quot;: [ # The type or category of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#producttype.
&quot;A String&quot;,
],
&quot;capacity&quot;: { # The capacity of a product. For more information, see # The capacity of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#capacity.
# https://support.google.com/manufacturers/answer/6124116#capacity.
&quot;value&quot;: &quot;A String&quot;, # The numeric value of the capacity.
&quot;unit&quot;: &quot;A String&quot;, # The unit of the capacity, i.e., MB, GB, or TB.
},
&quot;format&quot;: &quot;A String&quot;, # The format of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#format.
&quot;pattern&quot;: &quot;A String&quot;, # The pattern of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#pattern.
&quot;ageGroup&quot;: &quot;A String&quot;, # The target age group of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#agegroup.
&quot;additionalImageLink&quot;: [ # The additional images of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#addlimage.
{ # An image.
&quot;imageUrl&quot;: &quot;A String&quot;, # 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.
&quot;type&quot;: &quot;A String&quot;, # The type of the image, i.e., crawled or uploaded.
# @OutputOnly
&quot;status&quot;: &quot;A String&quot;, # The status of the image.
# @OutputOnly
},
],
&quot;sizeSystem&quot;: &quot;A String&quot;, # The size system of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#sizesystem.
&quot;suggestedRetailPrice&quot;: { # A price. # The suggested retail price (MSRP) of the product. For more information,
# see https://support.google.com/manufacturers/answer/6124116#price.
&quot;currency&quot;: &quot;A String&quot;, # The currency in which the price is denoted.
&quot;amount&quot;: &quot;A String&quot;, # The numeric value of the price.
},
&quot;flavor&quot;: &quot;A String&quot;, # The flavor of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#flavor.
},
&quot;contentLanguage&quot;: &quot;A String&quot;, # The content language of the product as a two-letter ISO 639-1 language code
# (for example, en).
&quot;targetCountry&quot;: &quot;A String&quot;, # The target country of the product as a CLDR territory code (for example,
# US).
&quot;destinationStatuses&quot;: [ # The status of the destinations.
{ # The destination status.
&quot;status&quot;: &quot;A String&quot;, # The status of the destination.
&quot;destination&quot;: &quot;A String&quot;, # The name of the destination.
},
],
&quot;name&quot;: &quot;A String&quot;, # 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.
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # The token for the retrieval of the next page of product statuses.
}</pre>
</div>
<div class="method">
<code class="details" id="list_next">list_next(previous_request, previous_response)</code>
<pre>Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
<div class="method">
<code class="details" id="update">update(parent, name, body=None, x__xgafv=None)</code>
<pre>Inserts or updates the attributes of the product in a Manufacturer Center
account.
Creates a product with the provided attributes. If the product already
exists, then all attributes are replaced with the new ones. The checks at
upload time are minimal. All required attributes need to be present for a
product to be valid. Issues may show up later after the API has accepted a
new upload for a product and it is possible to overwrite an existing valid
product with an invalid product. To detect this, you should retrieve the
product and check it for issues once the new version is available.
Uploaded attributes first need to be processed before they can be
retrieved. Until then, new products will be unavailable, and retrieval
of previously uploaded products will return the original state of the
product.
Args:
parent: string, Parent ID in the format `accounts/{account_id}`.
`account_id` - The ID of the Manufacturer Center account. (required)
name: string, 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. (required)
body: object, The request body.
The object takes the form of:
{ # Attributes of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116.
&quot;productName&quot;: &quot;A String&quot;, # The canonical name of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productname.
&quot;productPageUrl&quot;: &quot;A String&quot;, # The URL of the detail page of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productpage.
&quot;releaseDate&quot;: &quot;A String&quot;, # The release date of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#release.
&quot;imageLink&quot;: { # An image. # The image of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#image.
&quot;imageUrl&quot;: &quot;A String&quot;, # 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.
&quot;type&quot;: &quot;A String&quot;, # The type of the image, i.e., crawled or uploaded.
# @OutputOnly
&quot;status&quot;: &quot;A String&quot;, # The status of the image.
# @OutputOnly
},
&quot;count&quot;: { # The number of products in a single package. For more information, see # The count of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#count.
# https://support.google.com/manufacturers/answer/6124116#count.
&quot;unit&quot;: &quot;A String&quot;, # The unit in which these products are counted.
&quot;value&quot;: &quot;A String&quot;, # The numeric value of the number of products in a package.
},
&quot;gtin&quot;: [ # The Global Trade Item Number (GTIN) of the product. For more information,
# see https://support.google.com/manufacturers/answer/6124116#gtin.
&quot;A String&quot;,
],
&quot;color&quot;: &quot;A String&quot;, # The color of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#color.
&quot;title&quot;: &quot;A String&quot;, # The title of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#title.
&quot;sizeType&quot;: &quot;A String&quot;, # The size type of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#sizetype.
&quot;productDetail&quot;: [ # The details of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productdetail.
{ # A product detail of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#productdetail.
&quot;sectionName&quot;: &quot;A String&quot;, # A short section name that can be reused between multiple product details.
&quot;attributeName&quot;: &quot;A String&quot;, # The name of the attribute.
&quot;attributeValue&quot;: &quot;A String&quot;, # The value of the attribute.
},
],
&quot;featureDescription&quot;: [ # The rich format description of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
{ # A feature description of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
&quot;headline&quot;: &quot;A String&quot;, # A short description of the feature.
&quot;image&quot;: { # An image. # An optional image describing the feature.
&quot;imageUrl&quot;: &quot;A String&quot;, # 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.
&quot;type&quot;: &quot;A String&quot;, # The type of the image, i.e., crawled or uploaded.
# @OutputOnly
&quot;status&quot;: &quot;A String&quot;, # The status of the image.
# @OutputOnly
},
&quot;text&quot;: &quot;A String&quot;, # A detailed description of the feature.
},
],
&quot;includedDestination&quot;: [ # A list of included destinations.
&quot;A String&quot;,
],
&quot;videoLink&quot;: [ # The videos of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#video.
&quot;A String&quot;,
],
&quot;gender&quot;: &quot;A String&quot;, # The target gender of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#gender.
&quot;productLine&quot;: &quot;A String&quot;, # The name of the group of products related to the product. For more
# information, see
# https://support.google.com/manufacturers/answer/6124116#productline.
&quot;targetClientId&quot;: &quot;A String&quot;, # The target client id. Should only be used in the accounts of the data
# partners.
&quot;scent&quot;: &quot;A String&quot;, # The scent of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#scent.
&quot;excludedDestination&quot;: [ # A list of excluded destinations.
&quot;A String&quot;,
],
&quot;itemGroupId&quot;: &quot;A String&quot;, # The item group id of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#itemgroupid.
&quot;size&quot;: &quot;A String&quot;, # The size of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#size.
&quot;theme&quot;: &quot;A String&quot;, # The theme of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#theme.
&quot;description&quot;: &quot;A String&quot;, # The description of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#description.
&quot;richProductContent&quot;: [ # Rich product content. For more information, see
# https://support.google.com/manufacturers/answer/9389865
&quot;A String&quot;,
],
&quot;brand&quot;: &quot;A String&quot;, # The brand name of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#brand.
&quot;mpn&quot;: &quot;A String&quot;, # The Manufacturer Part Number (MPN) of the product. For more information,
# see https://support.google.com/manufacturers/answer/6124116#mpn.
&quot;disclosureDate&quot;: &quot;A String&quot;, # The disclosure date of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#disclosure.
&quot;material&quot;: &quot;A String&quot;, # The material of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#material.
&quot;productType&quot;: [ # The type or category of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#producttype.
&quot;A String&quot;,
],
&quot;capacity&quot;: { # The capacity of a product. For more information, see # The capacity of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#capacity.
# https://support.google.com/manufacturers/answer/6124116#capacity.
&quot;value&quot;: &quot;A String&quot;, # The numeric value of the capacity.
&quot;unit&quot;: &quot;A String&quot;, # The unit of the capacity, i.e., MB, GB, or TB.
},
&quot;format&quot;: &quot;A String&quot;, # The format of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#format.
&quot;pattern&quot;: &quot;A String&quot;, # The pattern of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#pattern.
&quot;ageGroup&quot;: &quot;A String&quot;, # The target age group of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#agegroup.
&quot;additionalImageLink&quot;: [ # The additional images of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#addlimage.
{ # An image.
&quot;imageUrl&quot;: &quot;A String&quot;, # 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.
&quot;type&quot;: &quot;A String&quot;, # The type of the image, i.e., crawled or uploaded.
# @OutputOnly
&quot;status&quot;: &quot;A String&quot;, # The status of the image.
# @OutputOnly
},
],
&quot;sizeSystem&quot;: &quot;A String&quot;, # The size system of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#sizesystem.
&quot;suggestedRetailPrice&quot;: { # A price. # The suggested retail price (MSRP) of the product. For more information,
# see https://support.google.com/manufacturers/answer/6124116#price.
&quot;currency&quot;: &quot;A String&quot;, # The currency in which the price is denoted.
&quot;amount&quot;: &quot;A String&quot;, # The numeric value of the price.
},
&quot;flavor&quot;: &quot;A String&quot;, # The flavor of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#flavor.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # 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 `{}`.
}</pre>
</div>
</body></html>