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

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

A message produced during data retrieval.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `query` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.DataQuery` A data retrieval query. This field is a member of `oneof`_ `kind`. |
| `generated_sql` | `str` SQL generated by the system to retrieve data. This field is a member of `oneof`_ `kind`. |
| `result` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.DataResult` Retrieved data. This field is a member of `oneof`_ `kind`. |
| `big_query_job` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.BigQueryJob` A BigQuery job executed by the system to retrieve data. This field is a member of `oneof`_ `kind`. |
| `matched_query` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.MatchedQuery` A pre-existing query that was matched to retrieve data. This field is a member of `oneof`_ `kind`. |