Class: Google::Apis::AnalyticsreportingV4::GoalData
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::GoalData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
Represents all the details pertaining to a goal.
Instance Attribute Summary collapse
-
#goal_completion_location ⇒ String
URL of the page where this goal was completed.
-
#goal_completions ⇒ Fixnum
Total number of goal completions in this activity.
-
#goal_index ⇒ Fixnum
This identifies the goal as configured for the profile.
-
#goal_name ⇒ String
Name of the goal.
-
#goal_previous_step1 ⇒ String
URL of the page one step prior to the goal completion.
-
#goal_previous_step2 ⇒ String
URL of the page two steps prior to the goal completion.
-
#goal_previous_step3 ⇒ String
URL of the page three steps prior to the goal completion.
-
#goal_value ⇒ Float
Value in this goal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoalData
constructor
A new instance of GoalData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoalData
Returns a new instance of GoalData.
727 728 729 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 727 def initialize(**args) update!(**args) end |
Instance Attribute Details
#goal_completion_location ⇒ String
URL of the page where this goal was completed.
Corresponds to the JSON property goalCompletionLocation
690 691 692 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 690 def goal_completion_location @goal_completion_location end |
#goal_completions ⇒ Fixnum
Total number of goal completions in this activity.
Corresponds to the JSON property goalCompletions
695 696 697 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 695 def goal_completions @goal_completions end |
#goal_index ⇒ Fixnum
This identifies the goal as configured for the profile.
Corresponds to the JSON property goalIndex
700 701 702 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 700 def goal_index @goal_index end |
#goal_name ⇒ String
Name of the goal.
Corresponds to the JSON property goalName
705 706 707 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 705 def goal_name @goal_name end |
#goal_previous_step1 ⇒ String
URL of the page one step prior to the goal completion.
Corresponds to the JSON property goalPreviousStep1
710 711 712 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 710 def goal_previous_step1 @goal_previous_step1 end |
#goal_previous_step2 ⇒ String
URL of the page two steps prior to the goal completion.
Corresponds to the JSON property goalPreviousStep2
715 716 717 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 715 def goal_previous_step2 @goal_previous_step2 end |
#goal_previous_step3 ⇒ String
URL of the page three steps prior to the goal completion.
Corresponds to the JSON property goalPreviousStep3
720 721 722 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 720 def goal_previous_step3 @goal_previous_step3 end |
#goal_value ⇒ Float
Value in this goal.
Corresponds to the JSON property goalValue
725 726 727 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 725 def goal_value @goal_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
732 733 734 735 736 737 738 739 740 741 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 732 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 |