Resource: ProductSet
A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.
JSON representation | |
---|---|
{
"name": string,
"displayName": string,
"indexTime": string,
"indexError": {
object ( |
Fields | |
---|---|
name |
The resource name of the ProductSet. Format is: This field is ignored when creating a ProductSet. |
displayName |
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long. |
indexTime |
Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
indexError |
Output only. If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet. |
Status
The Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status
message contains three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the API Design Guide.
JSON representation | |
---|---|
{ "code": number, "message": string, "details": [ { "@type": string, field1: ..., ... } ] } |
Fields | |
---|---|
code |
The status code, which should be an enum value of |
message |
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the |
details[] |
A list of messages that carry the error details. There is a common set of message types for APIs to use. An object containing fields of an arbitrary type. An additional field |
Methods |
|
---|---|
|
Adds a Product to the specified ProductSet. |
|
Creates and returns a new ProductSet resource. |
|
Permanently deletes a ProductSet. |
|
Gets information associated with a ProductSet. |
|
Asynchronous API that imports a list of reference images to specified product sets based on a list of image information. |
|
Lists ProductSets in an unspecified order. |
|
Makes changes to a ProductSet resource. |
|
Removes a Product from the specified ProductSet. |