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.



1423
1424
1425
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1423

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



1416
1417
1418
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1416

def attributes
  @attributes
end

#dimensionString

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

Returns:

  • (String)


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