class Google::Apis::DatastoreV1::GoogleDatastoreAdminV1IndexedProperty
A property of an index.
Attributes
direction[RW]
Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED. Corresponds to the JSON property `direction` @return [String]
name[RW]
Required. The property name to index. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastore_v1/classes.rb, line 726 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_v1/classes.rb, line 731 def update!(**args) @direction = args[:direction] if args.key?(:direction) @name = args[:name] if args.key?(:name) end