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

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

An evaluation is a single execution (or run) of an evaluation
process. It encapsulates the state of the evaluation and the
resulting data.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. |
| `evaluation_spec` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1alpha.types.Evaluation.EvaluationSpec` Required. The specification of the evaluation. |
| `quality_metrics` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1alpha.types.QualityMetrics` Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1alpha.types.Evaluation.State` Output only. The state of the evaluation. |
| `error` | `google.rpc.status_pb2.Status` Output only. The error that occurred during evaluation. Only populated when the evaluation's state is FAILED. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Timestamp the Evaluation was created at. |
| `end_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Timestamp the Evaluation was completed at. |
| `error_samples` | `MutableSequence[google.rpc.status_pb2.Status]` Output only. A sample of errors encountered while processing the request. |

## Classes

### EvaluationSpec

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

Describes the specification of the evaluation.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### State

    State(value)

Describes the state of an evaluation.