Class: Google::Apis::SearchconsoleV1::ApiDimensionFilter
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::ApiDimensionFilter
- 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 filter test to be applied to each row in the data set, where a match can return the row. Filters are string comparisons, and values and dimension names are not case-sensitive. Individual filters are either AND'ed or OR'ed within their parent filter group, according to the group's group type. You do not need to group by a specified dimension to filter against it.
Instance Attribute Summary collapse
-
#dimension ⇒ String
Corresponds to the JSON property
dimension
. -
#expression ⇒ String
Corresponds to the JSON property
expression
. -
#operator ⇒ String
Corresponds to the JSON property
operator
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApiDimensionFilter
constructor
A new instance of ApiDimensionFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApiDimensionFilter
Returns a new instance of ApiDimensionFilter.
182 183 184 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Corresponds to the JSON property dimension
170 171 172 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 170 def dimension @dimension end |
#expression ⇒ String
Corresponds to the JSON property expression
175 176 177 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 175 def expression @expression end |
#operator ⇒ String
Corresponds to the JSON property operator
180 181 182 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 180 def operator @operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
187 188 189 190 191 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 187 def update!(**args) @dimension = args[:dimension] if args.key?(:dimension) @expression = args[:expression] if args.key?(:expression) @operator = args[:operator] if args.key?(:operator) end |