Class: Google::Cloud::Datastore::V1::PropertyOrder

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#direction::Google::Cloud::Datastore::V1::PropertyOrder::Direction

Returns The direction to order by. Defaults to ASCENDING.

Returns:



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.

Returns:



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