Class: Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails

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 URL_DESTINATION.

Defined Under Namespace

Classes: Step

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) ⇒ UrlDestinationDetails

Returns a new instance of UrlDestinationDetails.


3032
3033
3034
# File 'generated/google/apis/analytics_v3/classes.rb', line 3032

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

Instance Attribute Details

#case_sensitiveBoolean Also known as: case_sensitive?

Determines if the goal URL must exactly match the capitalization of visited URLs. Corresponds to the JSON property caseSensitive

Returns:

  • (Boolean)

3008
3009
3010
# File 'generated/google/apis/analytics_v3/classes.rb', line 3008

def case_sensitive
  @case_sensitive
end

#first_step_requiredBoolean Also known as: first_step_required?

Determines if the first step in this goal is required. Corresponds to the JSON property firstStepRequired

Returns:

  • (Boolean)

3014
3015
3016
# File 'generated/google/apis/analytics_v3/classes.rb', line 3014

def first_step_required
  @first_step_required
end

#match_typeString

Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX. Corresponds to the JSON property matchType

Returns:

  • (String)

3020
3021
3022
# File 'generated/google/apis/analytics_v3/classes.rb', line 3020

def match_type
  @match_type
end

#stepsArray<Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Step>

List of steps configured for this goal funnel. Corresponds to the JSON property steps


3025
3026
3027
# File 'generated/google/apis/analytics_v3/classes.rb', line 3025

def steps
  @steps
end

#urlString

URL for this goal. Corresponds to the JSON property url

Returns:

  • (String)

3030
3031
3032
# File 'generated/google/apis/analytics_v3/classes.rb', line 3030

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3037
3038
3039
3040
3041
3042
3043
# File 'generated/google/apis/analytics_v3/classes.rb', line 3037

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