View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2CompletionDetail (google_api_retail v0.3.0)

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

Attributes

  • completionAttributionToken (type: String.t, default: nil) - Completion attribution token in CompleteQueryResponse.attribution_token.
  • selectedPosition (type: integer(), default: nil) - End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.
  • selectedSuggestion (type: String.t, default: nil) - End user selected CompleteQueryResponse.CompletionResult.suggestion.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2CompletionDetail{
  completionAttributionToken: String.t() | nil,
  selectedPosition: integer() | nil,
  selectedSuggestion: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.