REST Resource: projects.locations.productSets

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(Status)
  }
}
Fields
name

string

The resource name of the ProductSet.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID.

This field is ignored when creating a ProductSet.

displayName

string

The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.

indexTime

string (Timestamp format)

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 field is 0.

This field is ignored when creating a ProductSet.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

indexError

object(Status)

Output only. If there was an error with indexing the product set, the field is populated.

This field is ignored when creating a ProductSet.

Methods

addProduct

Adds a Product to the specified ProductSet.

create

Creates and returns a new ProductSet resource.

delete

Permanently deletes a ProductSet.

get

Gets information associated with a ProductSet.

import

Asynchronous API that imports a list of reference images to specified product sets based on a list of image information.

list

Lists ProductSets in an unspecified order.

patch

Makes changes to a ProductSet resource.

removeProduct

Removes a Product from the specified ProductSet.
Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Vision API