Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::CompletionInfo.
Detailed completion information including completion attribution token and clicked completion info.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#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][].