Class: Google::Apis::AnalyticsV3::Goal::EventDetails
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Goal::EventDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb
Overview
Details for the goal of the type EVENT.
Defined Under Namespace
Classes: EventCondition
Instance Attribute Summary collapse
-
#event_conditions ⇒ Array<Google::Apis::AnalyticsV3::Goal::EventDetails::EventCondition>
List of event conditions.
-
#use_event_value ⇒ Boolean
(also: #use_event_value?)
Determines if the event value should be used as the value for this goal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventDetails
constructor
A new instance of EventDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EventDetails
Returns a new instance of EventDetails.
2918 2919 2920 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2918 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_conditions ⇒ Array<Google::Apis::AnalyticsV3::Goal::EventDetails::EventCondition>
List of event conditions.
Corresponds to the JSON property eventConditions
2910 2911 2912 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2910 def event_conditions @event_conditions end |
#use_event_value ⇒ Boolean Also known as: use_event_value?
Determines if the event value should be used as the value for this goal.
Corresponds to the JSON property useEventValue
2915 2916 2917 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2915 def use_event_value @use_event_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2923 2924 2925 2926 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2923 def update!(**args) @event_conditions = args[:event_conditions] if args.key?(:event_conditions) @use_event_value = args[:use_event_value] if args.key?(:use_event_value) end |