class Google::Apis::DatastoreV1beta2::PropertyOrder

The desired order for a specific property.

Attributes

direction[RW]

The direction to order by. One of ascending or descending. Optional, defaults to ascending. Corresponds to the JSON property `direction` @return [String]

property[RW]

A reference to a property relative to the kind expressions. Corresponds to the JSON property `property` @return [Google::Apis::DatastoreV1beta2::PropertyReference]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 788
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/datastore_v1beta2/classes.rb, line 793
def update!(**args)
  @direction = args[:direction] if args.key?(:direction)
  @property = args[:property] if args.key?(:property)
end