Class: Google::Apis::DatamanagerV1::MarketingDataInsight

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamanager_v1/classes.rb,
lib/google/apis/datamanager_v1/representations.rb,
lib/google/apis/datamanager_v1/representations.rb

Overview

Insights for marketing data. This feature is only available to data partners.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MarketingDataInsight

Returns a new instance of MarketingDataInsight.



1642
1643
1644
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1642

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

Instance Attribute Details

#attributesArray<Google::Apis::DatamanagerV1::MarketingDataInsightsAttribute>

Insights for values of a given dimension. Corresponds to the JSON property attributes



1635
1636
1637
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1635

def attributes
  @attributes
end

#dimensionString

The dimension to which the insight belongs. Corresponds to the JSON property dimension

Returns:

  • (String)


1640
1641
1642
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1640

def dimension
  @dimension
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1647
1648
1649
1650
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1647

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