Google Cloud Datastore Admin V1 Client - Class Direction (1.0.0)

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;