# DataStream v1 API - Class BigQueryDestinationConfig.Types.SourceHierarchyDatasets (2.12.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.12.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.11.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.10.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.9.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.8.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.7.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.6.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.5.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.4.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.3.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.2.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.1.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/2.0.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/1.0.0/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets)

    public sealed class BigQueryDestinationConfig.Types.SourceHierarchyDatasets : IMessage<BigQueryDestinationConfig.Types.SourceHierarchyDatasets>, IEquatable<BigQueryDestinationConfig.Types.SourceHierarchyDatasets>, IDeepCloneable<BigQueryDestinationConfig.Types.SourceHierarchyDatasets>, IBufferMessage, IMessage

Reference documentation and code samples for the DataStream v1 API class BigQueryDestinationConfig.Types.SourceHierarchyDatasets.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BigQueryDestinationConfig.Types.SourceHierarchyDatasets

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BigQueryDestinationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types)[SourceHierarchyDatasets](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BigQueryDestinationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types)[SourceHierarchyDatasets](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BigQueryDestinationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types)[SourceHierarchyDatasets](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Datastream.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1)

## Assembly

Google.Cloud.Datastream.V1.dll

## Constructors

### SourceHierarchyDatasets()

    public SourceHierarchyDatasets()

### SourceHierarchyDatasets(SourceHierarchyDatasets)

    public SourceHierarchyDatasets(BigQueryDestinationConfig.Types.SourceHierarchyDatasets other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets` |

## Properties

### DatasetTemplate

    public BigQueryDestinationConfig.Types.SourceHierarchyDatasets.Types.DatasetTemplate DatasetTemplate { get; set; }

The dataset template to use for dynamic dataset creation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasetshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastream.V1/latest/Google.Cloud.Datastream.V1.BigQueryDestinationConfig.Types.SourceHierarchyDatasets.Types.DatasetTemplate` |   |

### HasProjectId

    public bool HasProjectId { get; }

Gets whether the "project_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### ProjectId

    public string ProjectId { get; set; }

Optional. The project id of the BigQuery dataset. If not specified, the
project will be inferred from the stream resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |