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

Stores information for a single image-only orbit intent. See go/orbit-for-images-v2 for more details.

Attributes

  • imageIntent (type: String.t, default: nil) - Intent of this proto instance.
  • missingInputs (type: list(String.t), default: nil) -
  • reach (type: String.t, default: nil) -
  • remove (type: boolean(), default: nil) - Whether this intent should be removed when backfilling new classifications to the index. When backfilling a new version of a classifier to production we have cases where we actually want to remove an intent that was present in production because the new version might have moved the intent to below logging threshold. This bit should be used to signal this case so that merging logic can remove the intent for the image. This should never be set in a production callsite, it is only intended for backfilling operations.
  • score (type: number(), default: nil) - Score of the intent.
  • trigger (type: boolean(), default: nil) - Whether the intent triggered with the default threshold or not.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualityOrbitOrbitImageIntent{
  imageIntent: String.t() | nil,
  missingInputs: [String.t()] | nil,
  reach: String.t() | nil,
  remove: boolean() | nil,
  score: number() | nil,
  trigger: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.