Class: Google::Apis::AnalyticsV3::McfData::Row::ConversionPathValue

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

Returns a new instance of ConversionPathValue.


3632
3633
3634
# File 'generated/google/apis/analytics_v3/classes.rb', line 3632

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

Instance Attribute Details

#interaction_typeString

Type of an interaction on conversion path. Such as CLICK, IMPRESSION etc. Corresponds to the JSON property interactionType

Returns:

  • (String)

3625
3626
3627
# File 'generated/google/apis/analytics_v3/classes.rb', line 3625

def interaction_type
  @interaction_type
end

#node_valueString

Node value of an interaction on conversion path. Such as source, medium etc. Corresponds to the JSON property nodeValue

Returns:

  • (String)

3630
3631
3632
# File 'generated/google/apis/analytics_v3/classes.rb', line 3630

def node_value
  @node_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3637
3638
3639
3640
# File 'generated/google/apis/analytics_v3/classes.rb', line 3637

def update!(**args)
  @interaction_type = args[:interaction_type] if args.key?(:interaction_type)
  @node_value = args[:node_value] if args.key?(:node_value)
end