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



3222
3223
3224
# File 'generated/google/apis/analytics_v3/classes.rb', line 3222

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)


3198
3199
3200
# File 'generated/google/apis/analytics_v3/classes.rb', line 3198

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)


3204
3205
3206
# File 'generated/google/apis/analytics_v3/classes.rb', line 3204

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)


3210
3211
3212
# File 'generated/google/apis/analytics_v3/classes.rb', line 3210

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



3215
3216
3217
# File 'generated/google/apis/analytics_v3/classes.rb', line 3215

def steps
  @steps
end

#urlString

URL for this goal. Corresponds to the JSON property url

Returns:

  • (String)


3220
3221
3222
# File 'generated/google/apis/analytics_v3/classes.rb', line 3220

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3227
3228
3229
3230
3231
3232
3233
# File 'generated/google/apis/analytics_v3/classes.rb', line 3227

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