Google Cloud Datastore Admin V1 Client - Class Direction (1.1.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;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.