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

Constructor Details

#initialize(**args) ⇒ UrlDestinationDetails

Returns a new instance of UrlDestinationDetails.



3128
3129
3130
# File 'generated/google/apis/analytics_v3/classes.rb', line 3128

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)


3104
3105
3106
# File 'generated/google/apis/analytics_v3/classes.rb', line 3104

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)


3110
3111
3112
# File 'generated/google/apis/analytics_v3/classes.rb', line 3110

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)


3116
3117
3118
# File 'generated/google/apis/analytics_v3/classes.rb', line 3116

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



3121
3122
3123
# File 'generated/google/apis/analytics_v3/classes.rb', line 3121

def steps
  @steps
end

#urlString

URL for this goal. Corresponds to the JSON property url

Returns:

  • (String)


3126
3127
3128
# File 'generated/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 'generated/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