View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenanceSearchAnswerValue (google_api_content_warehouse v0.3.0)

The value was carried over from a SearchAnswerValue triggered by a previous query (go/search-answer-values). For example: U: Movies with Tom Cruise. [Movies(actor=/m/tom_cruise)] G: Tom Cruise's movies include Top Gun, The Mummy, and 52 others. U: Reviews for the second one. [Reviews(movie=/m/the_mummy)] The "movie" argument in the last query would have a provenance of SEARCH_ANSWER_VALUE.

Attributes

  • eventId (type: GoogleApi.ContentWarehouse.V1.Model.EventIdMessage.t, default: nil) - This identifies the SearchAnswerValues where this value was pulled from.
  • metadataValueIndex (type: integer(), default: nil) - Each SearchAnswerValue can have a primary value and a list of metadata values. If this index is set, this value was pulled from the metadata value at this index, otherwise it was pulled from the primary value.
  • text (type: String.t, default: nil) - The display text of this answer value. It's taken from the search answer value display text if present, or the canonical name if it's an entity.
  • valueIndex (type: integer(), default: nil) - The index of the SearchAnswerValue where this value was pulled from.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenanceSearchAnswerValue{
    eventId: GoogleApi.ContentWarehouse.V1.Model.EventIdMessage.t() | nil,
    metadataValueIndex: integer() | nil,
    text: String.t() | nil,
    valueIndex: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.