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.



3064
3065
3066
# File 'generated/google/apis/analytics_v3/classes.rb', line 3064

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

Instance Attribute Details

#nameString

Step name. Corresponds to the JSON property name

Returns:

  • (String)


3052
3053
3054
# File 'generated/google/apis/analytics_v3/classes.rb', line 3052

def name
  @name
end

#numberFixnum

Step number. Corresponds to the JSON property number

Returns:

  • (Fixnum)


3057
3058
3059
# File 'generated/google/apis/analytics_v3/classes.rb', line 3057

def number
  @number
end

#urlString

URL for this step. Corresponds to the JSON property url

Returns:

  • (String)


3062
3063
3064
# File 'generated/google/apis/analytics_v3/classes.rb', line 3062

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3069
3070
3071
3072
3073
# File 'generated/google/apis/analytics_v3/classes.rb', line 3069

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