class Google::Apis::DatastoreV1beta2::CompositeFilter

A filter that merges the multiple other filters using the given operation.

Attributes

filters[RW]

The list of filters to combine. Must contain at least one filter. Corresponds to the JSON property `filters` @return [Array<Google::Apis::DatastoreV1beta2::Filter>]

operator[RW]

The operator for combining multiple filters. Only “and” is currently supported. Corresponds to the JSON property `operator` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 198
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 203
def update!(**args)
  @filters = args[:filters] if args.key?(:filters)
  @operator = args[:operator] if args.key?(:operator)
end