class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDetail
Detailed completion information including completion attribution token and clicked completion info.
Attributes
completion_attribution_token[RW]
Completion attribution token in CompleteQueryResponse.attribution_token. Corresponds to the JSON property `completionAttributionToken` @return [String]
selected_position[RW]
End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0. Corresponds to the JSON property `selectedPosition` @return [Fixnum]
selected_suggestion[RW]
End user selected CompleteQueryResponse.CompletionResult.suggestion. Corresponds to the JSON property `selectedSuggestion` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/retail_v2beta/classes.rb, line 1453 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/retail_v2beta/classes.rb, line 1458 def update!(**args) @completion_attribution_token = args[:completion_attribution_token] if args.key?(:completion_attribution_token) @selected_position = args[:selected_position] if args.key?(:selected_position) @selected_suggestion = args[:selected_suggestion] if args.key?(:selected_suggestion) end