Class: Google::Apis::DfareportingV2_3::CrossDimensionReachReportCompatibleFields

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



3903
3904
3905
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3903

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

Instance Attribute Details

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

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



3877
3878
3879
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3877

def breakdown
  @breakdown
end

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

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



3883
3884
3885
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3883

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)


3889
3890
3891
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3889

def kind
  @kind
end

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

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



3895
3896
3897
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3895

def metrics
  @metrics
end

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

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



3901
3902
3903
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3901

def overlap_metrics
  @overlap_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3908
3909
3910
3911
3912
3913
3914
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 3908

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