google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.ProductSearchResults View Source

Results for a product search request.

Attributes

  • indexTime (type: DateTime.t, default: nil) - Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.
  • productGroupedResults (type: list(GoogleApi.Vision.V1.Model.GroupedResult.t), default: nil) - List of results grouped by products detected in the query image. Each entry corresponds to one bounding polygon in the query image, and contains the matching products specific to that region. There may be duplicate product matches in the union of all the per-product results.
  • results (type: list(GoogleApi.Vision.V1.Model.Result.t), default: nil) - List of results, one for each product match.

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.ProductSearchResults{
  indexTime: DateTime.t(),
  productGroupedResults: [GoogleApi.Vision.V1.Model.GroupedResult.t()],
  results: [GoogleApi.Vision.V1.Model.Result.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.