Class: Google::Apis::DfareportingV2_7::Report::CrossDimensionReachCriteria
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_7::Report::CrossDimensionReachCriteria
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_7/classes.rb,
generated/google/apis/dfareporting_v2_7/representations.rb,
generated/google/apis/dfareporting_v2_7/representations.rb
Overview
The report criteria for a report of type "CROSS_DIMENSION_REACH".
Instance Attribute Summary collapse
-
#breakdown ⇒ Array<Google::Apis::DfareportingV2_7::SortedDimension>
The list of dimensions the report should include.
-
#date_range ⇒ Google::Apis::DfareportingV2_7::DateRange
Represents a date range.
-
#dimension ⇒ String
The dimension option.
-
#dimension_filters ⇒ Array<Google::Apis::DfareportingV2_7::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CrossDimensionReachCriteria
Returns a new instance of CrossDimensionReachCriteria
9732 9733 9734 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 9732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#breakdown ⇒ Array<Google::Apis::DfareportingV2_7::SortedDimension>
The list of dimensions the report should include.
Corresponds to the JSON property breakdown
9699 9700 9701 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 9699 def breakdown @breakdown end |
#date_range ⇒ Google::Apis::DfareportingV2_7::DateRange
Represents a date range.
Corresponds to the JSON property dateRange
9704 9705 9706 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 9704 def date_range @date_range end |
#dimension ⇒ String
The dimension option.
Corresponds to the JSON property dimension
9709 9710 9711 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 9709 def dimension @dimension end |
#dimension_filters ⇒ Array<Google::Apis::DfareportingV2_7::DimensionValue>
The list of filters on which dimensions are filtered.
Corresponds to the JSON property dimensionFilters
9714 9715 9716 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 9714 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
9719 9720 9721 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 9719 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
9724 9725 9726 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 9724 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
9729 9730 9731 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 9729 def pivoted @pivoted end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9737 9738 9739 9740 9741 9742 9743 9744 9745 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 9737 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 |