Class: Google::Apis::DfareportingV2_5::CrossDimensionReachReportCompatibleFields

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CrossDimensionReachReportCompatibleFields

Returns a new instance of CrossDimensionReachReportCompatibleFields.


4136
4137
4138
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4136

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

Instance Attribute Details

#breakdownArray<Google::Apis::DfareportingV2_5::Dimension>

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


4110
4111
4112
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4110

def breakdown
  @breakdown
end

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

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


4116
4117
4118
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4116

def dimension_filters
  @dimension_filters
end

#kindString

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

Returns:

  • (String)

4122
4123
4124
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4122

def kind
  @kind
end

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

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


4128
4129
4130
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4128

def metrics
  @metrics
end

#overlap_metricsArray<Google::Apis::DfareportingV2_5::Metric>

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


4134
4135
4136
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4134

def overlap_metrics
  @overlap_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4141
4142
4143
4144
4145
4146
4147
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4141

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