# Google Cloud Datastore Admin V1 Client - Class Direction (1.1.2)

1.1.2 (latest) 1.1.1 1.0.4 0.8.5 0.7.5 0.6.0 0.5.8 Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class Direction.

The direction determines how a property is indexed.

Protobuf type `google.datastore.admin.v1.Index.Direction`

## Namespace

Google \\ Cloud \\ Datastore \\ Admin \\ V1 \\ Index

## Methods

### static::name

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

### static::value

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

## Constants

### DIRECTION_UNSPECIFIED

    Value: 0

The direction is unspecified.

Generated from protobuf enum `DIRECTION_UNSPECIFIED = 0;`

### ASCENDING

    Value: 1

The property's values are indexed so as to support sequencing in
ascending order and also query by \<, \>, \<=, \>=, and =.

Generated from protobuf enum `ASCENDING = 1;`

### DESCENDING

    Value: 2

The property's values are indexed so as to support sequencing in
descending order and also query by \<, \>, \<=, \>=, and =.

Generated from protobuf enum `DESCENDING = 2;`