Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterExpression

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

A logical expression of Audience dimension, metric, or event filters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceFilterExpression

Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceFilterExpression.



1298
1299
1300
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1298

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#and_groupGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList

A list of Audience filter expressions. Corresponds to the JSON property andGroup



1274
1275
1276
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1274

def and_group
  @and_group
end

#dimension_or_metric_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter

A specific filter for a single dimension or metric. Corresponds to the JSON property dimensionOrMetricFilter



1279
1280
1281
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1279

def dimension_or_metric_filter
  @dimension_or_metric_filter
end

#event_filterGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceEventFilter

A filter that matches events of a single event name. If an event parameter is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter. Corresponds to the JSON property eventFilter



1286
1287
1288
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1286

def event_filter
  @event_filter
end

#not_expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterExpression

A logical expression of Audience dimension, metric, or event filters. Corresponds to the JSON property notExpression



1291
1292
1293
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1291

def not_expression
  @not_expression
end

#or_groupGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList

A list of Audience filter expressions. Corresponds to the JSON property orGroup



1296
1297
1298
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1296

def or_group
  @or_group
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1303
1304
1305
1306
1307
1308
1309
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1303

def update!(**args)
  @and_group = args[:and_group] if args.key?(:and_group)
  @dimension_or_metric_filter = args[:dimension_or_metric_filter] if args.key?(:dimension_or_metric_filter)
  @event_filter = args[:event_filter] if args.key?(:event_filter)
  @not_expression = args[:not_expression] if args.key?(:not_expression)
  @or_group = args[:or_group] if args.key?(:or_group)
end