google_api_vision v0.4.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1Product View Source

A Product contains ReferenceImages.

Attributes

  • description (String.t): User-provided metadata to be stored with this product. Must be at most 4096 characters long. Defaults to: null.
  • displayName (String.t): The user-provided name for this Product. Must not be empty. Must be at most 4096 characters long. Defaults to: null.
  • name (String.t): The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product. Defaults to: null.
  • productCategory (String.t): The category for the product identified by the reference image. This should be either "homegoods", "apparel", or "toys". This field is immutable. Defaults to: null.
  • productLabels ([GoogleCloudVisionV1p4beta1ProductKeyValue]): Key-value pairs that can be attached to a product. At query time, constraints can be specified based on the product_labels. Note that integer values can be provided as strings, e.g. "1199". Only strings with integer values can match a range-based restriction which is to be supported soon. Multiple values can be assigned to the same key. One product may have up to 100 product_labels. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1Product{
  description: any(),
  displayName: any(),
  name: any(),
  productCategory: any(),
  productLabels: [
    GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1ProductKeyValue.t()
  ]
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.