# Class QueryDataResponse (0.13.1)

0.13.1 (latest) 0.13.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

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

Response containing the generated query and related
information.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `generated_query` | `str` Generated query for the given user prompt. |
| `intent_explanation` | `str` A natural language explanation of the generated query. Populated if options.generate_explanation was true in the request. |
| `query_result` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1beta.types.ExecutedQueryResult` The result of executing the query. Populated if options.generate_query_result or options.generate_natural_language_answer was true in the request, and execution was successful or attempted. |
| `natural_language_answer` | `str` A natural language answer to the query, based on the query_result. Populated if options.generate_natural_language_answer was true in the request and query execution was successful based in the response from executeSql API. |
| `disambiguation_question` | `MutableSequence[str]` If ambiguity was detected in the natural language query and options.generate_disambiguation_question was true, this field contains a question to the user for clarification. The returned represents the service's best effort based on the ambiguous input. |