Class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::DimensionFilterClause
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
A group of dimension filters. Set the operator value to specify how the filters are logically combined.
Instance Attribute Summary collapse
-
#filters ⇒ Array<Google::Apis::AnalyticsreportingV4::DimensionFilter>
The repeated set of filters.
-
#operator ⇒ String
The operator for combining multiple dimension filters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionFilterClause
constructor
A new instance of DimensionFilterClause.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DimensionFilterClause
Returns a new instance of DimensionFilterClause.
950 951 952 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 950 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filters ⇒ Array<Google::Apis::AnalyticsreportingV4::DimensionFilter>
The repeated set of filters. They are logically combined based on the
operator specified.
Corresponds to the JSON property filters
948 949 950 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 948 def filters @filters end |
#operator ⇒ String
The operator for combining multiple dimension filters. If unspecified, it
is treated as an OR
.
Corresponds to the JSON property operator
942 943 944 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 942 def operator @operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
955 956 957 958 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 955 def update!(**args) @operator = args[:operator] if args.key?(:operator) @filters = args[:filters] if args.key?(:filters) end |