Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/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::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter
An expression to filter dimension or metric values.
-
#and_group ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList
A list of filter expressions.
-
#not_expression ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression
Expresses dimension or metric filters.
-
#or_group ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList
A list of filter expressions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessFilterExpression
constructor
A new instance of GoogleAnalyticsAdminV1alphaAccessFilterExpression.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessFilterExpression
Returns a new instance of GoogleAnalyticsAdminV1alphaAccessFilterExpression.
254 255 256 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 254 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilter
An expression to filter dimension or metric values.
Corresponds to the JSON property accessFilter
236 237 238 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 236 def access_filter @access_filter end |
#and_group ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList
A list of filter expressions.
Corresponds to the JSON property andGroup
241 242 243 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 241 def and_group @and_group end |
#not_expression ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression
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
247 248 249 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 247 def not_expression @not_expression end |
#or_group ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpressionList
A list of filter expressions.
Corresponds to the JSON property orGroup
252 253 254 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 252 def or_group @or_group end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
259 260 261 262 263 264 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 259 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 |