# Class SourceHierarchyDatasets (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.1 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.1 1.5.1 1.4.1 1.3.0 1.2.2 1.1.1 1.0.2 0.4.3 0.3.1 0.2.0 0.1.3

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

Destination datasets are created so that hierarchy of the
destination data objects matches the source hierarchy.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `dataset_template` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate` The dataset template to use for dynamic dataset creation. |
| `project_id` | `str` Optional. The project id of the BigQuery dataset. If not specified, the project will be inferred from the stream resource. This field is a member of `oneof`_ `_project_id`. |

## Classes

### DatasetTemplate

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

Dataset template used for dynamic dataset creation.