Class: Google::Apis::DatastoreV1::CompositeFilter
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1::CompositeFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1/classes.rb,
generated/google/apis/datastore_v1/representations.rb,
generated/google/apis/datastore_v1/representations.rb
Overview
A filter that merges multiple other filters using the given operator.
Instance Attribute Summary collapse
-
#filters ⇒ Array<Google::Apis::DatastoreV1::Filter>
The list of filters to combine.
-
#op ⇒ 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
365 366 367 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 365 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filters ⇒ Array<Google::Apis::DatastoreV1::Filter>
The list of filters to combine.
Must contain at least one filter.
Corresponds to the JSON property filters
358 359 360 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 358 def filters @filters end |
#op ⇒ String
The operator for combining multiple filters.
Corresponds to the JSON property op
363 364 365 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 363 def op @op end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
370 371 372 373 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 370 def update!(**args) @filters = args[:filters] if args.key?(:filters) @op = args[:op] if args.key?(:op) end |