Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpression
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpression
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb
Overview
Expresses dimension or metric filters. The fields in the same expression need to be either all dimensions or all metrics.
Instance Attribute Summary collapse
-
#access_filter ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilter
An expression to filter dimension or metric values.
-
#and_group ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpressionList
A list of filter expressions.
-
#not_expression ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpression
Expresses dimension or metric filters.
-
#or_group ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpressionList
A list of filter expressions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessFilterExpression
constructor
A new instance of GoogleAnalyticsAdminV1betaAccessFilterExpression.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessFilterExpression
Returns a new instance of GoogleAnalyticsAdminV1betaAccessFilterExpression.
216 217 218 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_filter ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilter
An expression to filter dimension or metric values.
Corresponds to the JSON property accessFilter
198 199 200 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 198 def access_filter @access_filter end |
#and_group ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpressionList
A list of filter expressions.
Corresponds to the JSON property andGroup
203 204 205 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 203 def and_group @and_group end |
#not_expression ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpression
Expresses dimension or metric filters. The fields in the same expression need
to be either all dimensions or all metrics.
Corresponds to the JSON property notExpression
209 210 211 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 209 def not_expression @not_expression end |
#or_group ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpressionList
A list of filter expressions.
Corresponds to the JSON property orGroup
214 215 216 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 214 def or_group @or_group end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
221 222 223 224 225 226 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 221 def update!(**args) @access_filter = args[:access_filter] if args.key?(:access_filter) @and_group = args[:and_group] if args.key?(:and_group) @not_expression = args[:not_expression] if args.key?(:not_expression) @or_group = args[:or_group] if args.key?(:or_group) end |