public class ManufacturerCenter.Accounts.Products
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
ManufacturerCenter.Accounts.Products.Delete |
class |
ManufacturerCenter.Accounts.Products.Get |
class |
ManufacturerCenter.Accounts.Products.List |
class |
ManufacturerCenter.Accounts.Products.Update |
| Constructor and Description |
|---|
Products() |
| Modifier and Type | Method and Description |
|---|---|
ManufacturerCenter.Accounts.Products.Delete |
delete(java.lang.String parent,
java.lang.String name)
Deletes the product from a Manufacturer Center account.
|
ManufacturerCenter.Accounts.Products.Get |
get(java.lang.String parent,
java.lang.String name)
Gets the product from a Manufacturer Center account, including product issues.
|
ManufacturerCenter.Accounts.Products.List |
list(java.lang.String parent)
Lists all the products in a Manufacturer Center account.
|
ManufacturerCenter.Accounts.Products.Update |
update(java.lang.String parent,
java.lang.String name,
Attributes content)
Inserts or updates the attributes of the product in a Manufacturer Center account.
|
public ManufacturerCenter.Accounts.Products.Delete delete(java.lang.String parent, java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Parent ID in the format `accounts/{account_id}`.
`account_id` - The ID of the Manufacturer Center
account.name - 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.java.io.IOExceptionpublic ManufacturerCenter.Accounts.Products.Get get(java.lang.String parent, java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Parent ID in the format `accounts/{account_id}`.
`account_id` - The ID of the Manufacturer Center
account.name - 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.java.io.IOExceptionpublic ManufacturerCenter.Accounts.Products.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Parent ID in the format `accounts/{account_id}`.
`account_id` - The ID of the Manufacturer Center
account.java.io.IOExceptionpublic ManufacturerCenter.Accounts.Products.Update update(java.lang.String parent, java.lang.String name, Attributes content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Parent ID in the format `accounts/{account_id}`.
`account_id` - The ID of the Manufacturer Center
account.name - 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.content - the Attributesjava.io.IOException