Class: Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Step
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Step
- 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
-
#name ⇒ String
Step name.
-
#number ⇒ Fixnum
Step number.
-
#url ⇒ String
URL for this step.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Step
constructor
A new instance of Step.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#name ⇒ String
Step name.
Corresponds to the JSON property name
3242 3243 3244 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3242 def name @name end |
#number ⇒ Fixnum
Step number.
Corresponds to the JSON property number
3247 3248 3249 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3247 def number @number end |
#url ⇒ String
URL for this step.
Corresponds to the JSON property url
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 |