Class: Google::Cloud::Datastore::V1::PropertyOrder
- Inherits:
-
Object
- Object
- Google::Cloud::Datastore::V1::PropertyOrder
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/datastore/v1/query.rb
Overview
The desired order for a specific property.
Defined Under Namespace
Modules: Direction
Instance Attribute Summary collapse
-
#direction ⇒ ::Google::Cloud::Datastore::V1::PropertyOrder::Direction
The direction to order by.
-
#property ⇒ ::Google::Cloud::Datastore::V1::PropertyReference
The property to order by.
Instance Attribute Details
#direction ⇒ ::Google::Cloud::Datastore::V1::PropertyOrder::Direction
Returns The direction to order by. Defaults to ASCENDING
.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 |
# File 'proto_docs/google/datastore/v1/query.rb', line 260 class PropertyOrder include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The sort direction. module Direction # Unspecified. This value must not be used. DIRECTION_UNSPECIFIED = 0 # Ascending. ASCENDING = 1 # Descending. DESCENDING = 2 end end |
#property ⇒ ::Google::Cloud::Datastore::V1::PropertyReference
Returns The property to order by.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 |
# File 'proto_docs/google/datastore/v1/query.rb', line 260 class PropertyOrder include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The sort direction. module Direction # Unspecified. This value must not be used. DIRECTION_UNSPECIFIED = 0 # Ascending. ASCENDING = 1 # Descending. DESCENDING = 2 end end |