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:



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.

Returns:



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