Class SuggestQueriesRequest (0.3.3)

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

Request for query suggestions. .. attribute:: parent

Required. The parent of the suggestion query is the resource denoting the project and location.

:type: str

Attributes

NameDescription
scopes Sequence[str]
The scopes to which this search is restricted. The only supported scope pattern is //bigquery.googleapis.com/projects/{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[google.cloud.dataqna_v1alpha.types.SuggestionType]
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.