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



3608
3609
3610
# File 'generated/google/apis/analytics_v3/classes.rb', line 3608

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



3601
3602
3603
# File 'generated/google/apis/analytics_v3/classes.rb', line 3601

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)


3606
3607
3608
# File 'generated/google/apis/analytics_v3/classes.rb', line 3606

def primitive_value
  @primitive_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3613
3614
3615
3616
# File 'generated/google/apis/analytics_v3/classes.rb', line 3613

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