Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ProductSet

import type { ProductSet } from "https://googleapis.deno.dev/v1/vision:v1.ts";

A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.

interface ProductSet {
displayName?: string;
readonly indexError?: Status;
readonly indexTime?: Date;
name?: string;
}

§Properties

§
displayName?: string
[src]

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

§
readonly indexError?: Status
[src]

Output only. If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet.

§
readonly indexTime?: Date
[src]

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.

§
name?: string
[src]

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.