# Google Cloud Document Ai V1 Client - Class EvaluationReference (2.7.0)

2.7.0 (latest) 2.6.1 2.5.1 2.4.1 2.3.0 2.2.2 2.1.3 2.0.0 1.14.0 1.13.1 1.12.2 1.9.0 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Document Ai V1 Client class EvaluationReference.

Gives a short summary of an evaluation, and links to the evaluation itself.

Generated from protobuf message `google.cloud.documentai.v1.EvaluationReference`

## Namespace

Google \\ Cloud \\ DocumentAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ operation` | `string` The resource name of the Long Running Operation for the evaluation. |
| `↳ evaluation` | `string` The resource name of the evaluation. |
| `↳ aggregate_metrics` | `https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Evaluation.Metrics` An aggregate of the statistics for the evaluation with fuzzy matching on. |
| `↳ aggregate_metrics_exact` | `https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Evaluation.Metrics` An aggregate of the statistics for the evaluation with fuzzy matching off. |

### getOperation

The resource name of the Long Running Operation for the evaluation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setOperation

The resource name of the Long Running Operation for the evaluation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getEvaluation

The resource name of the evaluation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setEvaluation

The resource name of the evaluation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getAggregateMetrics

An aggregate of the statistics for the evaluation with fuzzy matching on.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Evaluation.Metrics|null` |   |

### hasAggregateMetrics

### clearAggregateMetrics

### setAggregateMetrics

An aggregate of the statistics for the evaluation with fuzzy matching on.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Evaluation.Metrics` |

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

### getAggregateMetricsExact

An aggregate of the statistics for the evaluation with fuzzy matching off.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Evaluation.Metrics|null` |   |

### hasAggregateMetricsExact

### clearAggregateMetricsExact

### setAggregateMetricsExact

An aggregate of the statistics for the evaluation with fuzzy matching off.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Evaluation.Metrics` |

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