Class: Google::Apis::SearchconsoleV1::ApiDimensionFilterGroup
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::ApiDimensionFilterGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/searchconsole_v1/classes.rb,
generated/google/apis/searchconsole_v1/representations.rb,
generated/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
-
#filters ⇒ Array<Google::Apis::SearchconsoleV1::ApiDimensionFilter>
Corresponds to the JSON property
filters
. -
#group_type ⇒ String
Corresponds to the JSON property
groupType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApiDimensionFilterGroup
constructor
A new instance of ApiDimensionFilterGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApiDimensionFilterGroup
Returns a new instance of ApiDimensionFilterGroup.
120 121 122 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 120 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filters ⇒ Array<Google::Apis::SearchconsoleV1::ApiDimensionFilter>
Corresponds to the JSON property filters
113 114 115 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 113 def filters @filters end |
#group_type ⇒ String
Corresponds to the JSON property groupType
118 119 120 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 118 def group_type @group_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
125 126 127 128 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 125 def update!(**args) @filters = args[:filters] if args.key?(:filters) @group_type = args[:group_type] if args.key?(:group_type) end |