Class: Google::Apis::DfareportingV4::Report::CrossMediaReachCriteria
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::Report::CrossMediaReachCriteria
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Optional. The report criteria for a report of type "CROSS_MEDIA_REACH".
Instance Attribute Summary collapse
-
#date_range ⇒ Google::Apis::DfareportingV4::DateRange
Represents a date range.
-
#dimension_filters ⇒ Array<Google::Apis::DfareportingV4::DimensionValue>
Required.
-
#dimensions ⇒ Array<Google::Apis::DfareportingV4::SortedDimension>
Required.
-
#metric_names ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CrossMediaReachCriteria
constructor
A new instance of CrossMediaReachCriteria.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CrossMediaReachCriteria
Returns a new instance of CrossMediaReachCriteria.
10731 10732 10733 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10731 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_range ⇒ Google::Apis::DfareportingV4::DateRange
Represents a date range.
Corresponds to the JSON property dateRange
10712 10713 10714 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10712 def date_range @date_range end |
#dimension_filters ⇒ Array<Google::Apis::DfareportingV4::DimensionValue>
Required. The list of filters on which dimensions are filtered. Filters for
different dimensions are ANDed, filters for the same dimension are grouped
together and ORed.
Corresponds to the JSON property dimensionFilters
10719 10720 10721 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10719 def dimension_filters @dimension_filters end |
#dimensions ⇒ Array<Google::Apis::DfareportingV4::SortedDimension>
Required. The list of dimensions the report should include.
Corresponds to the JSON property dimensions
10724 10725 10726 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10724 def dimensions @dimensions end |
#metric_names ⇒ Array<String>
Required. The list of names of metrics the report should include.
Corresponds to the JSON property metricNames
10729 10730 10731 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10729 def metric_names @metric_names end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10736 10737 10738 10739 10740 10741 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10736 def update!(**args) @date_range = args[:date_range] if args.key?(:date_range) @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) @dimensions = args[:dimensions] if args.key?(:dimensions) @metric_names = args[:metric_names] if args.key?(:metric_names) end |