Class: Google::Apis::DfareportingV3_5::Report::CrossDimensionReachCriteria
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_5::Report::CrossDimensionReachCriteria
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb
Overview
The report criteria for a report of type "CROSS_DIMENSION_REACH".
Instance Attribute Summary collapse
-
#breakdown ⇒ Array<Google::Apis::DfareportingV3_5::SortedDimension>
The list of dimensions the report should include.
-
#date_range ⇒ Google::Apis::DfareportingV3_5::DateRange
Represents a date range.
-
#dimension ⇒ String
The dimension option.
-
#dimension_filters ⇒ Array<Google::Apis::DfareportingV3_5::DimensionValue>
The list of filters on which dimensions are filtered.
-
#metric_names ⇒ Array<String>
The list of names of metrics the report should include.
-
#overlap_metric_names ⇒ Array<String>
The list of names of overlap metrics the report should include.
-
#pivoted ⇒ Boolean
(also: #pivoted?)
Whether the report is pivoted or not.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CrossDimensionReachCriteria
constructor
A new instance of CrossDimensionReachCriteria.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CrossDimensionReachCriteria
Returns a new instance of CrossDimensionReachCriteria.
10282 10283 10284 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#breakdown ⇒ Array<Google::Apis::DfareportingV3_5::SortedDimension>
The list of dimensions the report should include.
Corresponds to the JSON property breakdown
10249 10250 10251 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10249 def breakdown @breakdown end |
#date_range ⇒ Google::Apis::DfareportingV3_5::DateRange
Represents a date range.
Corresponds to the JSON property dateRange
10254 10255 10256 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10254 def date_range @date_range end |
#dimension ⇒ String
The dimension option.
Corresponds to the JSON property dimension
10259 10260 10261 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10259 def dimension @dimension end |
#dimension_filters ⇒ Array<Google::Apis::DfareportingV3_5::DimensionValue>
The list of filters on which dimensions are filtered.
Corresponds to the JSON property dimensionFilters
10264 10265 10266 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10264 def dimension_filters @dimension_filters end |
#metric_names ⇒ Array<String>
The list of names of metrics the report should include.
Corresponds to the JSON property metricNames
10269 10270 10271 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10269 def metric_names @metric_names end |
#overlap_metric_names ⇒ Array<String>
The list of names of overlap metrics the report should include.
Corresponds to the JSON property overlapMetricNames
10274 10275 10276 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10274 def overlap_metric_names @overlap_metric_names end |
#pivoted ⇒ Boolean Also known as: pivoted?
Whether the report is pivoted or not. Defaults to true.
Corresponds to the JSON property pivoted
10279 10280 10281 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10279 def pivoted @pivoted end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10287 10288 10289 10290 10291 10292 10293 10294 10295 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 10287 def update!(**args) @breakdown = args[:breakdown] if args.key?(:breakdown) @date_range = args[:date_range] if args.key?(:date_range) @dimension = args[:dimension] if args.key?(:dimension) @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) @metric_names = args[:metric_names] if args.key?(:metric_names) @overlap_metric_names = args[:overlap_metric_names] if args.key?(:overlap_metric_names) @pivoted = args[:pivoted] if args.key?(:pivoted) end |