Class: Google::Apis::CloudsearchV1::CompositeFilter
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::CompositeFilter
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#logic_operator ⇒ String
The logic operator of the sub filter.
-
#sub_filters ⇒ Array<Google::Apis::CloudsearchV1::Filter>
Sub filters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompositeFilter
constructor
A new instance of CompositeFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompositeFilter
Returns a new instance of CompositeFilter.
153 154 155 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 153 def initialize(**args) update!(**args) end |
Instance Attribute Details
#logic_operator ⇒ String
The logic operator of the sub filter.
Corresponds to the JSON property logicOperator
146 147 148 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 146 def logic_operator @logic_operator end |
#sub_filters ⇒ Array<Google::Apis::CloudsearchV1::Filter>
Sub filters.
Corresponds to the JSON property subFilters
151 152 153 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 151 def sub_filters @sub_filters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
158 159 160 161 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 158 def update!(**args) @logic_operator = args[:logic_operator] if args.key?(:logic_operator) @sub_filters = args[:sub_filters] if args.key?(:sub_filters) end |