Class: Google::Apis::DfareportingV2_1::CrossDimensionReachReportCompatibleFields

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

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CrossDimensionReachReportCompatibleFields

Returns a new instance of CrossDimensionReachReportCompatibleFields.



3851
3852
3853
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3851

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

Instance Attribute Details

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

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



3825
3826
3827
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3825

def breakdown
  @breakdown
end

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

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



3831
3832
3833
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3831

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)


3837
3838
3839
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3837

def kind
  @kind
end

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

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



3843
3844
3845
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3843

def metrics
  @metrics
end

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

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



3849
3850
3851
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3849

def overlap_metrics
  @overlap_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3856
3857
3858
3859
3860
3861
3862
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3856

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