Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_filterGoogle::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_groupGoogle::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_expressionGoogle::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_groupGoogle::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