View Source GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationInferredImage (google_api_content_warehouse v0.4.0)

Images inferred from context instead of propagated from Shopping backends. The same image might be inferred via different means; then it may appear multiple times in Offer.inferred_images list with different values of inferred_image_type field.

Attributes

  • inferredImageId (type: String.t, default: nil) -
  • inferredImageSource (type: String.t, default: nil) -
  • inferredImageType (type: String.t, default: nil) -
  • neardupInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationInferredImageNeardupInfo.t), default: nil) - This field will only be populated if the inferred image is a neardup of an inferred image. It stores the type and source of the images it is a neardup of.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationInferredImage{
    inferredImageId: String.t() | nil,
    inferredImageSource: String.t() | nil,
    inferredImageType: String.t() | nil,
    neardupInfo:
      [
        GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationInferredImageNeardupInfo.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.