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.



2137
2138
2139
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2137

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



2130
2131
2132
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2130

def attributes
  @attributes
end

#dimensionString

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

Returns:

  • (String)


2135
2136
2137
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2135

def dimension
  @dimension
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2142
2143
2144
2145
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2142

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