Class: Google::Apis::CloudsearchV1::CompositeFilter

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompositeFilter

Returns a new instance of CompositeFilter.



6648
6649
6650
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6648

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#logic_operatorString

The logic operator of the sub filter. Corresponds to the JSON property logicOperator

Returns:

  • (String)


6641
6642
6643
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6641

def logic_operator
  @logic_operator
end

#sub_filtersArray<Google::Apis::CloudsearchV1::Filter>

Sub filters. Corresponds to the JSON property subFilters



6646
6647
6648
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6646

def sub_filters
  @sub_filters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6653
6654
6655
6656
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6653

def update!(**args)
  @logic_operator = args[:logic_operator] if args.key?(:logic_operator)
  @sub_filters = args[:sub_filters] if args.key?(:sub_filters)
end