Reference documentation and code samples for the Google Cloud Datastream V1 Client class SourceHierarchyDatasets.
Destination datasets are created so that hierarchy of the destination data objects matches the source hierarchy.
Generated from protobuf message google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets
Namespace
Google \ Cloud \ Datastream \ V1 \ BigQueryDestinationConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dataset_template |
SourceHierarchyDatasets\DatasetTemplate
The dataset template to use for dynamic dataset creation. |
↳ project_id |
string
Optional. The project id of the BigQuery dataset. If not specified, the project will be inferred from the stream resource. |
getDatasetTemplate
The dataset template to use for dynamic dataset creation.
Returns | |
---|---|
Type | Description |
SourceHierarchyDatasets\DatasetTemplate|null |
hasDatasetTemplate
clearDatasetTemplate
setDatasetTemplate
The dataset template to use for dynamic dataset creation.
Parameter | |
---|---|
Name | Description |
var |
SourceHierarchyDatasets\DatasetTemplate
|
Returns | |
---|---|
Type | Description |
$this |
getProjectId
Optional. The project id of the BigQuery dataset. If not specified, the project will be inferred from the stream resource.
Returns | |
---|---|
Type | Description |
string |
hasProjectId
clearProjectId
setProjectId
Optional. The project id of the BigQuery dataset. If not specified, the project will be inferred from the stream resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |