# Class SuggestQueriesRequest (0.14.0)

0.14.0 (latest) 0.13.0 0.12.0 0.11.0 0.10.17 0.9.0 0.8.2 0.7.1 0.6.3 0.5.1 0.4.0 0.3.3 0.2.1 0.1.1

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

Request for query suggestions.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The parent of the suggestion query is the resource denoting the project and location. |
| `scopes` | `MutableSequence[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` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dataqna/latest/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. |