Class: Google::Apis::SearchconsoleV1::ApiDimensionFilterGroup

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchconsole_v1/classes.rb,
lib/google/apis/searchconsole_v1/representations.rb,
lib/google/apis/searchconsole_v1/representations.rb

Overview

A set of dimension value filters to test against each row. Only rows that pass all filter groups will be returned. All results within a filter group are either AND'ed or OR'ed together, depending on the group type selected. All filter groups are AND'ed together.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApiDimensionFilterGroup

Returns a new instance of ApiDimensionFilterGroup.



211
212
213
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 211

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

Instance Attribute Details

#filtersArray<Google::Apis::SearchconsoleV1::ApiDimensionFilter>

Corresponds to the JSON property filters



204
205
206
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 204

def filters
  @filters
end

#group_typeString

Corresponds to the JSON property groupType

Returns:

  • (String)


209
210
211
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 209

def group_type
  @group_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



216
217
218
219
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 216

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