Google Cloud Datastore Admin V1 Client - Class IndexedProperty (1.0.4)

Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class IndexedProperty.

A property of an index.

Generated from protobuf message google.datastore.admin.v1.Index.IndexedProperty

Namespace

Google \ Cloud \ Datastore \ Admin \ V1 \ Index

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The property name to index.

↳ direction int

Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.

getName

Required. The property name to index.

Returns
Type Description
string

setName

Required. The property name to index.

Parameter
Name Description
var string
Returns
Type Description
$this

getDirection

Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.

Returns
Type Description
int Enum of type Direction.

setDirection

Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.

Parameter
Name Description
var int

Enum of type Direction.

Returns
Type Description
$this

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.