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

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

Metadata that describes a custom tuned model.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters. |
| `display_name` | `str` The display name of the model. |
| `model_version` | `int` The version of the model. |
| `model_state` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1.types.CustomTuningModel.ModelState` The state that the model is in (e.g.\\ `TRAINING` or `TRAINING_FAILED`). |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Deprecated: Timestamp the Model was created at. |
| `training_start_time` | `google.protobuf.timestamp_pb2.Timestamp` Timestamp the model training was initiated. |
| `metrics` | `MutableMapping[str, float]` The metrics of the trained model. |
| `error_message` | `str` Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`. |

## Classes

### MetricsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### ModelState

    ModelState(value)

The state of the model.