# Class Suggestion (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

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

A suggestion for a query with a ranking score.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `suggestion_info` | `https://docs.cloud.google.com/python/docs/reference/dataqna/latest/google.cloud.dataqna_v1alpha.types.SuggestionInfo` Detailed information about the suggestion. |
| `ranking_score` | `float` The score of the suggestion. This can be used to define ordering in UI. The score represents confidence in the suggestion where higher is better. All score values must be in the range \[0, 1). |
| `suggestion_type` | `https://docs.cloud.google.com/python/docs/reference/dataqna/latest/google.cloud.dataqna_v1alpha.types.SuggestionType` The type of the suggestion. |