Class: Google::Apis::AnalyticsdataV1alpha::FilterExpression
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::FilterExpression
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb
Overview
To express dimension or metric filters. The fields in the same FilterExpression need to be either all dimensions or all metrics.
Instance Attribute Summary collapse
-
#and_group ⇒ Google::Apis::AnalyticsdataV1alpha::FilterExpressionList
A list of filter expressions.
-
#filter ⇒ Google::Apis::AnalyticsdataV1alpha::Filter
An expression to filter dimension or metric values.
-
#not_expression ⇒ Google::Apis::AnalyticsdataV1alpha::FilterExpression
To express dimension or metric filters.
-
#or_group ⇒ Google::Apis::AnalyticsdataV1alpha::FilterExpressionList
A list of filter expressions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FilterExpression
constructor
A new instance of FilterExpression.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FilterExpression
Returns a new instance of FilterExpression.
667 668 669 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 667 def initialize(**args) update!(**args) end |
Instance Attribute Details
#and_group ⇒ Google::Apis::AnalyticsdataV1alpha::FilterExpressionList
A list of filter expressions.
Corresponds to the JSON property andGroup
649 650 651 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 649 def and_group @and_group end |
#filter ⇒ Google::Apis::AnalyticsdataV1alpha::Filter
An expression to filter dimension or metric values.
Corresponds to the JSON property filter
654 655 656 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 654 def filter @filter end |
#not_expression ⇒ Google::Apis::AnalyticsdataV1alpha::FilterExpression
To express dimension or metric filters. The fields in the same
FilterExpression need to be either all dimensions or all metrics.
Corresponds to the JSON property notExpression
660 661 662 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 660 def not_expression @not_expression end |
#or_group ⇒ Google::Apis::AnalyticsdataV1alpha::FilterExpressionList
A list of filter expressions.
Corresponds to the JSON property orGroup
665 666 667 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 665 def or_group @or_group end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
672 673 674 675 676 677 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 672 def update!(**args) @and_group = args[:and_group] if args.key?(:and_group) @filter = args[:filter] if args.key?(:filter) @not_expression = args[:not_expression] if args.key?(:not_expression) @or_group = args[:or_group] if args.key?(:or_group) end |