Reference documentation and code samples for the Google Cloud Retail V2 Client class CompletionDetail.
Detailed completion information including completion attribution token and clicked completion info.
Generated from protobuf message google.cloud.retail.v2.CompletionDetail
Namespace
Google \ Cloud \ Retail \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ completion_attribution_token
↳ selected_suggestion
↳ selected_position
getCompletionAttributionToken
Completion attribution token in CompleteQueryResponse.attribution_token .
string
setCompletionAttributionToken
Completion attribution token in CompleteQueryResponse.attribution_token .
var
string
$this
getSelectedSuggestion
End user selected CompleteQueryResponse.CompletionResult.suggestion .
string
setSelectedSuggestion
End user selected CompleteQueryResponse.CompletionResult.suggestion .
var
string
$this
getSelectedPosition
End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.
int
setSelectedPosition
End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.
var
int
$this