Class: Google::Apis::DatastoreV1beta2::CompositeFilter
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta2::CompositeFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1beta2/classes.rb,
generated/google/apis/datastore_v1beta2/representations.rb,
generated/google/apis/datastore_v1beta2/representations.rb
Overview
A filter that merges the multiple other filters using the given operation.
Instance Attribute Summary collapse
-
#filters ⇒ Array<Google::Apis::DatastoreV1beta2::Filter>
The list of filters to combine.
-
#operator ⇒ String
The operator for combining multiple filters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompositeFilter
constructor
A new instance of CompositeFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CompositeFilter
Returns a new instance of CompositeFilter
198 199 200 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 198 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filters ⇒ Array<Google::Apis::DatastoreV1beta2::Filter>
The list of filters to combine. Must contain at least one filter.
Corresponds to the JSON property filters
191 192 193 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 191 def filters @filters end |
#operator ⇒ String
The operator for combining multiple filters. Only "and" is currently supported.
Corresponds to the JSON property operator
196 197 198 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 196 def operator @operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
203 204 205 206 |
# 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 |