Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::CompletionDetail.
Detailed completion information including completion attribution token and clicked completion info.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#completion_attribution_token
def completion_attribution_token() -> ::String
Returns
- (::String) — Completion attribution token in CompleteQueryResponse.attribution_token.
#completion_attribution_token=
def completion_attribution_token=(value) -> ::String
Parameter
- value (::String) — Completion attribution token in CompleteQueryResponse.attribution_token.
Returns
- (::String) — Completion attribution token in CompleteQueryResponse.attribution_token.
#selected_position
def selected_position() -> ::Integer
Returns
- (::Integer) — End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.
#selected_position=
def selected_position=(value) -> ::Integer
Parameter
- value (::Integer) — End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.
Returns
- (::Integer) — End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.
#selected_suggestion
def selected_suggestion() -> ::String
Returns
- (::String) — End user selected CompleteQueryResponse.CompletionResult.suggestion.
#selected_suggestion=
def selected_suggestion=(value) -> ::String
Parameter
- value (::String) — End user selected CompleteQueryResponse.CompletionResult.suggestion.
Returns
- (::String) — End user selected CompleteQueryResponse.CompletionResult.suggestion.