GetSearchSuggestionsViewOptions

class GetSearchSuggestionsViewOptions


This class contains all the options necessary to request search suggestions UI view. Callers need to obtain a valid client ID before for response to be returned.

Summary

Public constructors

Public functions

GetSearchSuggestionsViewOptions!

Sets the view options which provides the options to customize the search suggestions UI view.

GetSearchSuggestionsViewOptions!

Specifies the text context of this request so that the returned suggestions will be related to a given list of texts.

Public constructors

GetSearchSuggestionsViewOptions

GetSearchSuggestionsViewOptions()

Public functions

setSearchSuggestionsViewOptions

@CanIgnoreReturnValue
fun setSearchSuggestionsViewOptions(
    searchSuggestionsViewOptions: SearchSuggestionsViewOptions!
): GetSearchSuggestionsViewOptions!

Sets the view options which provides the options to customize the search suggestions UI view.

Parameters
searchSuggestionsViewOptions: SearchSuggestionsViewOptions!

the SearchSuggestionsViewOptions object used to customize the search suggestions UI view.

Returns
GetSearchSuggestionsViewOptions!

the current GetSearchSuggestionsViewOptions object.

setTextContext

@CanIgnoreReturnValue
fun setTextContext(textContext: (Mutable)List<String!>!): GetSearchSuggestionsViewOptions!

Specifies the text context of this request so that the returned suggestions will be related to a given list of texts.

Parameters
textContext: (Mutable)List<String!>!

a list of texts to help generate search suggestions.

Returns
GetSearchSuggestionsViewOptions!

the current GetSearchSuggestionsViewOptions object.