Class SuggestQueriesRequest (0.7.0)

SuggestQueriesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request for query suggestions.


parent str
Required. The parent of the suggestion query is the resource denoting the project and location.
scopes Sequence[str]
The scopes to which this search is restricted. The only supported scope pattern is ``//{GCP-PROJECT-ID}/datasets/{DATASET-ID}/tables/{TABLE-ID}``.
query str
User query for which to generate suggestions. If the query is empty, zero state suggestions are returned. This allows UIs to display suggestions right away, helping the user to get a sense of what a query might look like.
suggestion_types Sequence[]
The requested suggestion type. Multiple suggestion types can be requested, but there is no guarantee that the service will return suggestions for each type. Suggestions for a requested type might rank lower than suggestions for other types and the service may decide to cut these suggestions off.


builtins.object > proto.message.Message > SuggestQueriesRequest