Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceEventFilter
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceEventFilter
- 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 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.
Instance Attribute Summary collapse
-
#event_name ⇒ String
Required.
-
#event_parameter_filter_expression ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterExpression
A logical expression of Audience dimension, metric, or event filters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceEventFilter
constructor
A new instance of GoogleAnalyticsAdminV1alphaAudienceEventFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceEventFilter
Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceEventFilter.
1195 1196 1197 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1195 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_name ⇒ String
Required. Immutable. The name of the event to match against.
Corresponds to the JSON property eventName
1188 1189 1190 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1188 def event_name @event_name end |
#event_parameter_filter_expression ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterExpression
A logical expression of Audience dimension, metric, or event filters.
Corresponds to the JSON property eventParameterFilterExpression
1193 1194 1195 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1193 def event_parameter_filter_expression @event_parameter_filter_expression end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1200 1201 1202 1203 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1200 def update!(**args) @event_name = args[:event_name] if args.key?(:event_name) @event_parameter_filter_expression = args[:event_parameter_filter_expression] if args.key?(:event_parameter_filter_expression) end |