Class: Google::Apis::DfareportingV3_1::CrossDimensionReachReportCompatibleFields

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_1/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



4528
4529
4530
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4528

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

Instance Attribute Details

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

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



4502
4503
4504
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4502

def breakdown
  @breakdown
end

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

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



4508
4509
4510
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4508

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)


4514
4515
4516
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4514

def kind
  @kind
end

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

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



4520
4521
4522
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4520

def metrics
  @metrics
end

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

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



4526
4527
4528
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4526

def overlap_metrics
  @overlap_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4533
4534
4535
4536
4537
4538
4539
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4533

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