Class: Google::Apis::AnalyticsV3::McfData::Row
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::McfData::Row
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/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
-
#conversion_path_value ⇒ Array<Google::Apis::AnalyticsV3::McfData::Row::ConversionPathValue>
A conversion path dimension value, containing a list of interactions with their attributes.
-
#primitive_value ⇒ String
A primitive dimension value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Row
constructor
A new instance of Row.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Row
Returns a new instance of Row.
3773 3774 3775 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 3773 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversion_path_value ⇒ Array<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 'lib/google/apis/analytics_v3/classes.rb', line 3766 def conversion_path_value @conversion_path_value end |
#primitive_value ⇒ String
A primitive dimension value. A primitive metric value.
Corresponds to the JSON property primitiveValue
3771 3772 3773 |
# File 'lib/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 'lib/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 |