class Google::Apis::DatastoreV1beta2::PropertyFilter
A filter on a specific property.
Attributes
operator[RW]
The operator to filter by. One of lessThan, lessThanOrEqual, greaterThan, greaterThanOrEqual, equal, or hasAncestor. Corresponds to the JSON property `operator` @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]
value[RW]
A message that can hold any of the supported value types and associated metadata. Corresponds to the JSON property `value` @return [Google::Apis::DatastoreV1beta2::Value]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 761 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 766 def update!(**args) @operator = args[:operator] if args.key?(:operator) @property = args[:property] if args.key?(:property) @value = args[:value] if args.key?(:value) end