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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.