class Google::Apis::AnalyticsreportingV4::GoalData
Represents all the details pertaining to a goal.
Attributes
URL of the page where this goal was completed. Corresponds to the JSON property `goalCompletionLocation` @return [String]
Total number of goal completions in this activity. Corresponds to the JSON property `goalCompletions` @return [Fixnum]
This identifies the goal as configured for the profile. Corresponds to the JSON property `goalIndex` @return [Fixnum]
Name of the goal. Corresponds to the JSON property `goalName` @return [String]
URL of the page one step prior to the goal completion. Corresponds to the JSON property `goalPreviousStep1` @return [String]
URL of the page two steps prior to the goal completion. Corresponds to the JSON property `goalPreviousStep2` @return [String]
URL of the page three steps prior to the goal completion. Corresponds to the JSON property `goalPreviousStep3` @return [String]
Value in this goal. Corresponds to the JSON property `goalValue` @return [Float]
Public Class Methods
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 692 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 697 def update!(**args) @goal_completion_location = args[:goal_completion_location] if args.key?(:goal_completion_location) @goal_completions = args[:goal_completions] if args.key?(:goal_completions) @goal_index = args[:goal_index] if args.key?(:goal_index) @goal_name = args[:goal_name] if args.key?(:goal_name) @goal_previous_step1 = args[:goal_previous_step1] if args.key?(:goal_previous_step1) @goal_previous_step2 = args[:goal_previous_step2] if args.key?(:goal_previous_step2) @goal_previous_step3 = args[:goal_previous_step3] if args.key?(:goal_previous_step3) @goal_value = args[:goal_value] if args.key?(:goal_value) end