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



3160
3161
3162
# File 'generated/google/apis/analytics_v3/classes.rb', line 3160

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

Instance Attribute Details

#nameString

Step name. Corresponds to the JSON property name

Returns:

  • (String)


3148
3149
3150
# File 'generated/google/apis/analytics_v3/classes.rb', line 3148

def name
  @name
end

#numberFixnum

Step number. Corresponds to the JSON property number

Returns:

  • (Fixnum)


3153
3154
3155
# File 'generated/google/apis/analytics_v3/classes.rb', line 3153

def number
  @number
end

#urlString

URL for this step. Corresponds to the JSON property url

Returns:

  • (String)


3158
3159
3160
# File 'generated/google/apis/analytics_v3/classes.rb', line 3158

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3165
3166
3167
3168
3169
# File 'generated/google/apis/analytics_v3/classes.rb', line 3165

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