# Datastream V1 API - Class Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dataset_template

    def dataset_template() -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate

**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-SourceHierarchyDatasets-DatasetTemplate)) --- The dataset template to use for dynamic dataset creation.

### #dataset_template=

    def dataset_template=(value) -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-SourceHierarchyDatasets-DatasetTemplate)) --- The dataset template to use for dynamic dataset creation.
**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-SourceHierarchyDatasets-DatasetTemplate)) --- The dataset template to use for dynamic dataset creation.

### #project_id

    def project_id() -> ::String

**Returns**

- (::String) --- Optional. The project id of the BigQuery dataset. If not specified, the project will be inferred from the stream resource.

### #project_id=

    def project_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The project id of the BigQuery dataset. If not specified, the project will be inferred from the stream resource.
**Returns**

- (::String) --- Optional. The project id of the BigQuery dataset. If not specified, the project will be inferred from the stream resource.