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

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

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

Returns a new instance of Step



3254
3255
3256
# File 'generated/google/apis/analytics_v3/classes.rb', line 3254

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

Instance Attribute Details

#nameString

Step name. Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#numberFixnum

Step number. Corresponds to the JSON property number

Returns:

  • (Fixnum)


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

def number
  @number
end

#urlString

URL for this step. Corresponds to the JSON property url

Returns:

  • (String)


3252
3253
3254
# File 'generated/google/apis/analytics_v3/classes.rb', line 3252

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3259
3260
3261
3262
3263
# File 'generated/google/apis/analytics_v3/classes.rb', line 3259

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @number = args[:number] if args.key?(:number)
  @url = args[:url] if args.key?(:url)
end