class Google::Apis::DatastoreV1beta3::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::DatastoreV1beta3::CompositeFilter]

property_filter[RW]

A filter on a specific property. Corresponds to the JSON property `propertyFilter` @return [Google::Apis::DatastoreV1beta3::PropertyFilter]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastore_v1beta3/classes.rb, line 301
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 306
def update!(**args)
  @composite_filter = args[:composite_filter] if args.key?(:composite_filter)
  @property_filter = args[:property_filter] if args.key?(:property_filter)
end