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

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

Overview

A union object representing a dimension or metric value. Only one of " primitiveValue" or "conversionPathValue" attribute will be populated.

Defined Under Namespace

Classes: ConversionPathValue

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

Returns a new instance of Row



3867
3868
3869
# File 'generated/google/apis/analytics_v3/classes.rb', line 3867

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

Instance Attribute Details

#conversion_path_valueArray<Google::Apis::AnalyticsV3::McfData::Row::ConversionPathValue>

A conversion path dimension value, containing a list of interactions with their attributes. Corresponds to the JSON property conversionPathValue



3860
3861
3862
# File 'generated/google/apis/analytics_v3/classes.rb', line 3860

def conversion_path_value
  @conversion_path_value
end

#primitive_valueString

A primitive dimension value. A primitive metric value. Corresponds to the JSON property primitiveValue

Returns:

  • (String)


3865
3866
3867
# File 'generated/google/apis/analytics_v3/classes.rb', line 3865

def primitive_value
  @primitive_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3872
3873
3874
3875
# File 'generated/google/apis/analytics_v3/classes.rb', line 3872

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