KnowledgeAnswersIntentQueryArgumentProvenanceSearchAnswerValue

GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenanceSearchAnswerValue


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. eventId (type: GoogleApi.ContentWarehouse.V1.Model.EventIdMessage, default: nil)
    - This identifies the SearchAnswerValues where this value was pulled from.
  2. 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.
  3. 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.
  4. valueIndex (type: integer(), default: nil)
    - The index of the SearchAnswerValue where this value was pulled from.

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenanceSearchAnswerValue