Class: Google::Apis::DfareportingV2_1::Report::CrossDimensionReachCriteria

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

The report criteria 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) ⇒ CrossDimensionReachCriteria

Returns a new instance of CrossDimensionReachCriteria.


9028
9029
9030
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9028

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

Instance Attribute Details

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

The list of dimensions the report should include. Corresponds to the JSON property breakdown


8995
8996
8997
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8995

def breakdown
  @breakdown
end

#date_rangeGoogle::Apis::DfareportingV2_1::DateRange

Represents a date range. Corresponds to the JSON property dateRange


9000
9001
9002
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9000

def date_range
  @date_range
end

#dimensionString

The dimension option. Corresponds to the JSON property dimension

Returns:

  • (String)

9005
9006
9007
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9005

def dimension
  @dimension
end

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

The list of filters on which dimensions are filtered. Corresponds to the JSON property dimensionFilters


9010
9011
9012
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9010

def dimension_filters
  @dimension_filters
end

#metric_namesArray<String>

The list of names of metrics the report should include. Corresponds to the JSON property metricNames

Returns:

  • (Array<String>)

9015
9016
9017
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9015

def metric_names
  @metric_names
end

#overlap_metric_namesArray<String>

The list of names of overlap metrics the report should include. Corresponds to the JSON property overlapMetricNames

Returns:

  • (Array<String>)

9020
9021
9022
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9020

def overlap_metric_names
  @overlap_metric_names
end

#pivotedBoolean Also known as: pivoted?

Whether the report is pivoted or not. Defaults to true. Corresponds to the JSON property pivoted

Returns:

  • (Boolean)

9025
9026
9027
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9025

def pivoted
  @pivoted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


9033
9034
9035
9036
9037
9038
9039
9040
9041
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 9033

def update!(**args)
  @breakdown = args[:breakdown] unless args[:breakdown].nil?
  @date_range = args[:date_range] unless args[:date_range].nil?
  @dimension = args[:dimension] unless args[:dimension].nil?
  @dimension_filters = args[:dimension_filters] unless args[:dimension_filters].nil?
  @metric_names = args[:metric_names] unless args[:metric_names].nil?
  @overlap_metric_names = args[:overlap_metric_names] unless args[:overlap_metric_names].nil?
  @pivoted = args[:pivoted] unless args[:pivoted].nil?
end