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
.
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 |
# File 'proto_docs/google/datastore/v1/query.rb', line 335 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.
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 |
# File 'proto_docs/google/datastore/v1/query.rb', line 335 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 |