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:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'proto_docs/google/datastore/v1/query.rb', line 319

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:



319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# File 'proto_docs/google/datastore/v1/query.rb', line 319

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