class Google::Apis::DatastoreV1beta3::PropertyOrder

The desired order for a specific property.

Attributes

direction[RW]

The direction to order by. 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::DatastoreV1beta3::PropertyReference]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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