View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCompletionInfo (google_api_discovery_engine v0.9.0)

Detailed completion information including completion attribution token and clicked completion info.

Attributes

  • selectedPosition (type: integer(), default: nil) - End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0.
  • selectedSuggestion (type: String.t, default: nil) - End user selected CompleteQueryResponse.QuerySuggestion.suggestion.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCompletionInfo{
    selectedPosition: integer() | nil,
    selectedSuggestion: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.