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.
Constructor Details
#initialize(**args) ⇒ GoalData
Returns a new instance of GoalData.
692 693 694 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 692 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
655 656 657 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 655 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
660 661 662 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 660 def goal_completions @goal_completions end |
#goal_index ⇒ Fixnum
This identifies the goal as configured for the profile.
Corresponds to the JSON property goalIndex
665 666 667 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 665 def goal_index @goal_index end |
#goal_name ⇒ String
Name of the goal.
Corresponds to the JSON property goalName
670 671 672 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 670 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
675 676 677 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 675 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
680 681 682 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 680 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
685 686 687 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 685 def goal_previous_step3 @goal_previous_step3 end |
#goal_value ⇒ Float
Value in this goal.
Corresponds to the JSON property goalValue
690 691 692 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 690 def goal_value @goal_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
697 698 699 700 701 702 703 704 705 706 |
# File 'generated/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 |