Class: Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/google/apis/analytics_v3/representations.rb
Overview
Details for the goal of the type URL_DESTINATION.
Defined Under Namespace
Classes: Step
Instance Attribute Summary collapse
-
#case_sensitive ⇒ Boolean
(also: #case_sensitive?)
Determines if the goal URL must exactly match the capitalization of visited URLs.
-
#first_step_required ⇒ Boolean
(also: #first_step_required?)
Determines if the first step in this goal is required.
-
#match_type ⇒ String
Match type for the goal URL.
-
#steps ⇒ Array<Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Step>
List of steps configured for this goal funnel.
-
#url ⇒ String
URL for this goal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UrlDestinationDetails
constructor
A new instance of UrlDestinationDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UrlDestinationDetails
Returns a new instance of UrlDestinationDetails.
3128 3129 3130 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3128 def initialize(**args) update!(**args) end |
Instance Attribute Details
#case_sensitive ⇒ Boolean Also known as: case_sensitive?
Determines if the goal URL must exactly match the capitalization of visited
URLs.
Corresponds to the JSON property caseSensitive
3104 3105 3106 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3104 def case_sensitive @case_sensitive end |
#first_step_required ⇒ Boolean Also known as: first_step_required?
Determines if the first step in this goal is required.
Corresponds to the JSON property firstStepRequired
3110 3111 3112 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3110 def first_step_required @first_step_required end |
#match_type ⇒ String
Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.
Corresponds to the JSON property matchType
3116 3117 3118 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3116 def match_type @match_type end |
#steps ⇒ Array<Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Step>
List of steps configured for this goal funnel.
Corresponds to the JSON property steps
3121 3122 3123 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3121 def steps @steps end |
#url ⇒ String
URL for this goal.
Corresponds to the JSON property url
3126 3127 3128 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3126 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3133 3134 3135 3136 3137 3138 3139 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3133 def update!(**args) @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) @first_step_required = args[:first_step_required] if args.key?(:first_step_required) @match_type = args[:match_type] if args.key?(:match_type) @steps = args[:steps] if args.key?(:steps) @url = args[:url] if args.key?(:url) end |