Class: Google::Apis::DatamanagerV1::MarketingDataInsight
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::MarketingDataInsight
- 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
-
#attributes ⇒ Array<Google::Apis::DatamanagerV1::MarketingDataInsightsAttribute>
Insights for values of a given dimension.
-
#dimension ⇒ String
The dimension to which the insight belongs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MarketingDataInsight
constructor
A new instance of MarketingDataInsight.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MarketingDataInsight
Returns a new instance of MarketingDataInsight.
1423 1424 1425 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Array<Google::Apis::DatamanagerV1::MarketingDataInsightsAttribute>
Insights for values of a given dimension.
Corresponds to the JSON property attributes
1416 1417 1418 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1416 def attributes @attributes end |
#dimension ⇒ String
The dimension to which the insight belongs.
Corresponds to the JSON property dimension
1421 1422 1423 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1421 def dimension @dimension end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1428 1429 1430 1431 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1428 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @dimension = args[:dimension] if args.key?(:dimension) end |