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

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

A datasource that can be used to answer questions.

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** |
| `bigquery_table_reference` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.BigQueryTableReference` A reference to a BigQuery table. This field is a member of `oneof`_ `reference`. |
| `studio_datasource_id` | `str` A reference to a Looker Studio datasource. This field is a member of `oneof`_ `reference`. |
| `looker_explore_reference` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.LookerExploreReference` A reference to a Looker explore. This field is a member of `oneof`_ `reference`. |
| `bigquery_property_graph_reference` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.BigQueryPropertyGraphReference` A reference to a BigQuery property graph. This field is a member of `oneof`_ `reference`. |
| `schema` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.Schema` Optional. The schema of the datasource. |
| `struct_schema` | `google.protobuf.struct_pb2.Struct` Optional. A struct representation of the schema. This is populated for datasources with schemas that cannot be fully represented by the strongly-typed `schema` field. For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore |