class Google::Apis::DatastoreV1::Filter
A holder for any type of filter.
Attributes
composite_filter[RW]
A filter that merges multiple other filters using the given operator. Corresponds to the JSON property `compositeFilter` @return [Google::Apis::DatastoreV1::CompositeFilter]
property_filter[RW]
A filter on a specific property. Corresponds to the JSON property `propertyFilter` @return [Google::Apis::DatastoreV1::PropertyFilter]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastore_v1/classes.rb, line 318 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 323 def update!(**args) @composite_filter = args[:composite_filter] if args.key?(:composite_filter) @property_filter = args[:property_filter] if args.key?(:property_filter) end