Class: Google::Apis::SearchconsoleV1::ApiDimensionFilter
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::ApiDimensionFilter
- 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 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.
91 92 93 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 91 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Corresponds to the JSON property dimension
79 80 81 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 79 def dimension @dimension end |
#expression ⇒ String
Corresponds to the JSON property expression
84 85 86 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 84 def expression @expression end |
#operator ⇒ String
Corresponds to the JSON property operator
89 90 91 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 89 def operator @operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
96 97 98 99 100 |
# File 'generated/google/apis/searchconsole_v1/classes.rb', line 96 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 |