# Google Cloud Document Ai V1 Client - Class MetricsType (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 MetricsType.

A type that determines how metrics should be interpreted.

Protobuf type `google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType`

## Namespace

Google \\ Cloud \\ DocumentAI \\ V1 \\ Evaluation \\ MultiConfidenceMetrics

## Methods

### static::name

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

### static::value

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

## Constants

### METRICS_TYPE_UNSPECIFIED

    Value: 0

The metrics type is unspecified. By default, metrics without a
particular specification are for leaf entity types (i.e., top-level
entity types without child types, or child types which are not
parent types themselves).

Generated from protobuf enum `METRICS_TYPE_UNSPECIFIED = 0;`

### AGGREGATE

    Value: 1

Indicates whether metrics for this particular label type represent an
aggregate of metrics for other types instead of being based on actual
TP/FP/FN values for the label type. Metrics for parent (i.e., non-leaf)
entity types are an aggregate of metrics for their children.

Generated from protobuf enum `AGGREGATE = 1;`