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

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

A query for retrieving data.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `looker` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.LookerQuery` Optional. A query for retrieving data from a Looker explore. This field is a member of `oneof`_ `query_type`. |
| `question` | `str` Optional. A natural language question to answer. |
| `name` | `str` Optional. A snake-case name for the query that reflects its intent. It is used to name the corresponding data result, so that it can be referenced in later steps. - Example: "total_sales_by_product" - Example: "sales_for_product_12345". |
| `datasources` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.Datasource]` Optional. The datasources available to answer the question. |