2.2.0 (latest) 2.0.6 1.34.2 1.33.1 1.32.3 1.31.0 1.30.0 1.29.2 1.28.2 1.26.0 1.25.0 1.24.4 1.23.0 1.22.1 1.21.2 1.19.0 1.18.1 1.17.1 Reference documentation and code samples for the Cloud Datastore V1 Client class Direction.

The sort direction.

Protobuf type `google.datastore.v1.PropertyOrder.Direction`

## Namespace

Google \\ Cloud \\ Datastore \\ V1 \\ PropertyOrder

## Methods

### static::name

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

### static::value

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

## Constants

### DIRECTION_UNSPECIFIED

    Value: 0

Unspecified. This value must not be used.

Generated from protobuf enum `DIRECTION_UNSPECIFIED = 0;`

### ASCENDING

    Value: 1

Ascending.

Generated from protobuf enum `ASCENDING = 1;`

### DESCENDING

    Value: 2

Descending.

Generated from protobuf enum `DESCENDING = 2;`