# Cloud AutoML V1 Client - Class ImageClassificationDatasetMetadata (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.6.5 1.5.4 1.4.17 Reference documentation and code samples for the Cloud AutoML V1 Client class ImageClassificationDatasetMetadata.

Dataset metadata that is specific to image classification.

Generated from protobuf message `google.cloud.automl.v1.ImageClassificationDatasetMetadata`

## Namespace

Google \\ Cloud \\ AutoMl \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ classification_type` | `int` Required. Type of the classification problem. |

### getClassificationType

Required. Type of the classification problem.

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

### setClassificationType

Required. Type of the classification problem.

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

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