Cloud Datastore V1 Client - Class PropertyOrder (2.0.3) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Datastore V1 Client class PropertyOrder.
The desired order for a specific property.
Generated from protobuf messagegoogle.datastore.v1.PropertyOrder
Namespace
Google \ Cloud \ Datastore \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ property | PropertyReferenceThe property to order by. |
↳ direction | intThe direction to order by. Defaults to |
getProperty
The property to order by.
| Returns | |
|---|---|
| Type | Description |
PropertyReference|null | |
hasProperty
clearProperty
setProperty
The property to order by.
| Parameter | |
|---|---|
| Name | Description |
var | PropertyReference |
| Returns | |
|---|---|
| Type | Description |
$this | |
getDirection
The direction to order by. Defaults toASCENDING.
| Returns | |
|---|---|
| Type | Description |
int | Enum of typeDirection. |
setDirection
The direction to order by. Defaults toASCENDING.
| Parameter | |
|---|---|
| Name | Description |
var | intEnum of typeDirection. |
| Returns | |
|---|---|
| Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.