# Google Cloud Retail V2 Client - Class DataState (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Retail V2 Client class DataState.

Describes whether this model have sufficient training data
to be continuously trained.

Protobuf type `google.cloud.retail.v2.Model.DataState`

## Namespace

Google \\ Cloud \\ Retail \\ V2 \\ Model

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### DATA_STATE_UNSPECIFIED

    Value: 0

Unspecified default value, should never be explicitly set.

Generated from protobuf enum `DATA_STATE_UNSPECIFIED = 0;`

### DATA_OK

    Value: 1

The model has sufficient training data.

Generated from protobuf enum `DATA_OK = 1;`

### DATA_ERROR

    Value: 2

The model does not have sufficient training data. Error
messages can be queried via Stackdriver.

Generated from protobuf enum `DATA_ERROR = 2;`