# Google Cloud Data Catalog V1 Client - Class VertexDatasetSpec (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class VertexDatasetSpec.

Specification for vertex dataset resources.

Generated from protobuf message `google.cloud.datacatalog.v1.VertexDatasetSpec`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ data_item_count` | `int|string` The number of DataItems in this Dataset. Only apply for non-structured Dataset. |
| `↳ data_type` | `int` Type of the dataset. |

### getDataItemCount

The number of DataItems in this Dataset. Only apply for non-structured
Dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setDataItemCount

The number of DataItems in this Dataset. Only apply for non-structured
Dataset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataType

Type of the dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DataType](https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.VertexDatasetSpec.DataType). |

### setDataType

Type of the dataset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DataType](https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.VertexDatasetSpec.DataType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |