Class: Google::Apis::DfareportingV2_1::ReachReportCompatibleFields

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 “ REACH”.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReachReportCompatibleFields

Returns a new instance of ReachReportCompatibleFields.


8514
8515
8516
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8514

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

Instance Attribute Details

#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


8482
8483
8484
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8482

def dimension_filters
  @dimension_filters
end

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

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


8488
8489
8490
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8488

def dimensions
  @dimensions
end

#kindString

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

Returns:

  • (String)

8494
8495
8496
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8494

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


8500
8501
8502
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8500

def metrics
  @metrics
end

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

Metrics which are compatible to be selected as activity metrics to pivot on in the “activities” section of the report. Corresponds to the JSON property pivotedActivityMetrics


8506
8507
8508
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8506

def pivoted_activity_metrics
  @pivoted_activity_metrics
end

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

Metrics which are compatible to be selected in the “ reachByFrequencyMetricNames” section of the report. Corresponds to the JSON property reachByFrequencyMetrics


8512
8513
8514
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8512

def reach_by_frequency_metrics
  @reach_by_frequency_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


8519
8520
8521
8522
8523
8524
8525
8526
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8519

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