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



3250
3251
3252
# File 'generated/google/apis/analytics_v3/classes.rb', line 3250

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)


3226
3227
3228
# File 'generated/google/apis/analytics_v3/classes.rb', line 3226

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)


3232
3233
3234
# File 'generated/google/apis/analytics_v3/classes.rb', line 3232

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)


3238
3239
3240
# File 'generated/google/apis/analytics_v3/classes.rb', line 3238

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



3243
3244
3245
# File 'generated/google/apis/analytics_v3/classes.rb', line 3243

def steps
  @steps
end

#urlString

URL for this goal. Corresponds to the JSON property url

Returns:

  • (String)


3248
3249
3250
# File 'generated/google/apis/analytics_v3/classes.rb', line 3248

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3255
3256
3257
3258
3259
3260
3261
# File 'generated/google/apis/analytics_v3/classes.rb', line 3255

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