0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

    RecommendationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Additional information of a recommendation engine.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `serving_state` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1alpha.types.Engine.RecommendationMetadata.ServingState` Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`. |
| `data_state` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1alpha.types.Engine.RecommendationMetadata.DataState` Output only. The state of data requirements for this engine: `DATA_OK` and `DATA_ERROR`. Engine cannot be trained if the data is in `DATA_ERROR` state. Engine can have `DATA_ERROR` state even if serving state is `ACTIVE`: engines were trained successfully before, but cannot be refreshed because the underlying engine no longer has sufficient data for training. |
| `last_tune_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The timestamp when the latest successful tune finished. Only applicable on Media Recommendation engines. |
| `tuning_operation` | `str` Output only. The latest tune operation id associated with the engine. Only applicable on Media Recommendation engines. If present, this operation id can be used to determine if there is an ongoing tune for this engine. To check the operation status, send the GetOperation request with this operation id in the engine resource format. If no tuning has happened for this engine, the string is empty. |

## Classes

### DataState

    DataState(value)

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

### ServingState

    ServingState(value)

The serving state of the recommendation engine.