Class: Google::Apis::DfareportingV4::CrossMediaReachReportCompatibleFields

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

Overview

Represents fields that are compatible to be selected for a report of type " CROSS_MEDIA_REACH".

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CrossMediaReachReportCompatibleFields

Returns a new instance of CrossMediaReachReportCompatibleFields.



5043
5044
5045
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5043

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

Instance Attribute Details

#dimension_filtersArray<Google::Apis::DfareportingV4::Dimension>

Dimensions which are compatible to be selected in the "dimensionFilters" section of the report. Corresponds to the JSON property dimensionFilters



5023
5024
5025
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5023

def dimension_filters
  @dimension_filters
end

#dimensionsArray<Google::Apis::DfareportingV4::Dimension>

Dimensions which are compatible to be selected in the "dimensions" section of the report. Corresponds to the JSON property dimensions



5029
5030
5031
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5029

def dimensions
  @dimensions
end

#kindString

The kind of resource this is, in this case dfareporting# crossMediaReachReportCompatibleFields. Corresponds to the JSON property kind

Returns:

  • (String)


5035
5036
5037
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5035

def kind
  @kind
end

#metricsArray<Google::Apis::DfareportingV4::Metric>

Metrics which are compatible to be selected in the "metricNames" section of the report. Corresponds to the JSON property metrics



5041
5042
5043
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5041

def metrics
  @metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5048
5049
5050
5051
5052
5053
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5048

def update!(**args)
  @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @kind = args[:kind] if args.key?(:kind)
  @metrics = args[:metrics] if args.key?(:metrics)
end