# Cloud AutoML V1 Client - Class DocumentDimensionUnit (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.6.5 1.5.4 1.4.17 Reference documentation and code samples for the Cloud AutoML V1 Client class DocumentDimensionUnit.

Unit of the document dimension.

Protobuf type `google.cloud.automl.v1.DocumentDimensions.DocumentDimensionUnit`

## Namespace

Google \\ Cloud \\ AutoMl \\ V1 \\ DocumentDimensions

## Methods

### static::name

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

### static::value

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

## Constants

### DOCUMENT_DIMENSION_UNIT_UNSPECIFIED

    Value: 0

Should not be used.

Generated from protobuf enum `DOCUMENT_DIMENSION_UNIT_UNSPECIFIED = 0;`

### INCH

    Value: 1

Document dimension is measured in inches.

Generated from protobuf enum `INCH = 1;`

### CENTIMETER

    Value: 2

Document dimension is measured in centimeters.

Generated from protobuf enum `CENTIMETER = 2;`

### POINT

    Value: 3

Document dimension is measured in points. 72 points = 1 inch.

Generated from protobuf enum `POINT = 3;`