Class: Google::Apis::AnalyticsV3::Goal::EventDetails

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ EventDetails

Returns a new instance of EventDetails



3108
3109
3110
# File 'generated/google/apis/analytics_v3/classes.rb', line 3108

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

Instance Attribute Details

#event_conditionsArray<Google::Apis::AnalyticsV3::Goal::EventDetails::EventCondition>

List of event conditions. Corresponds to the JSON property eventConditions



3100
3101
3102
# File 'generated/google/apis/analytics_v3/classes.rb', line 3100

def event_conditions
  @event_conditions
end

#use_event_valueBoolean 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

Returns:

  • (Boolean)


3105
3106
3107
# File 'generated/google/apis/analytics_v3/classes.rb', line 3105

def use_event_value
  @use_event_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3113
3114
3115
3116
# File 'generated/google/apis/analytics_v3/classes.rb', line 3113

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