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