Class: Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Step
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Step
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ Step
Returns a new instance of Step.
3160 3161 3162 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Step name.
Corresponds to the JSON property name
3148 3149 3150 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3148 def name @name end |
#number ⇒ Fixnum
Step number.
Corresponds to the JSON property number
3153 3154 3155 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3153 def number @number end |
#url ⇒ String
URL for this step.
Corresponds to the JSON property url
3158 3159 3160 |
# File 'lib/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 'lib/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 |