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

Constructor Details

#initialize(**args) ⇒ Row

Returns a new instance of Row.



3773
3774
3775
# File 'generated/google/apis/analytics_v3/classes.rb', line 3773

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



3766
3767
3768
# File 'generated/google/apis/analytics_v3/classes.rb', line 3766

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)


3771
3772
3773
# File 'generated/google/apis/analytics_v3/classes.rb', line 3771

def primitive_value
  @primitive_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3778
3779
3780
3781
# File 'generated/google/apis/analytics_v3/classes.rb', line 3778

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