View Source GoogleApi.Vision.V1.Model.ProductSet (google_api_vision v0.25.0)

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

Attributes

  • displayName (type: String.t, default: nil) - The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
  • indexError (type: GoogleApi.Vision.V1.Model.Status.t, default: nil) - Output only. If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet.
  • indexTime (type: DateTime.t, default: nil) - 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 (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Vision.V1.Model.ProductSet{
  displayName: String.t() | nil,
  indexError: GoogleApi.Vision.V1.Model.Status.t() | nil,
  indexTime: DateTime.t() | nil,
  name: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.