ReportRequest class
The main request class which specifies the Reporting API request.
Constructors
-
ReportRequest({CohortGroup? cohortGroup, List<
DateRange> ? dateRanges, List<DimensionFilterClause> ? dimensionFilterClauses, List<Dimension> ? dimensions, String? filtersExpression, bool? hideTotals, bool? hideValueRanges, bool? includeEmptyRows, List<MetricFilterClause> ? metricFilterClauses, List<Metric> ? metrics, List<OrderBy> ? orderBys, int? pageSize, String? pageToken, List<Pivot> ? pivots, String? samplingLevel, List<Segment> ? segments, String? viewId}) - ReportRequest.fromJson(Map json_)
Properties
- cohortGroup ↔ CohortGroup?
-
Cohort group associated with this request.
getter/setter pair
-
dateRanges
↔ List<
DateRange> ? -
Date ranges in the request.
getter/setter pair
-
dimensionFilterClauses
↔ List<
DimensionFilterClause> ? -
The dimension filter clauses for filtering Dimension Values.
getter/setter pair
-
dimensions
↔ List<
Dimension> ? -
The dimensions requested.
getter/setter pair
- filtersExpression ↔ String?
-
Dimension or metric filters that restrict the data returned for your
request.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideTotals ↔ bool?
-
If set to true, hides the total of all metrics for all the matching rows,
for every date range.
getter/setter pair
- hideValueRanges ↔ bool?
-
If set to true, hides the minimum and maximum across all matching rows.
getter/setter pair
- includeEmptyRows ↔ bool?
-
If set to false, the response does not include rows if all the retrieved
metrics are equal to zero.
getter/setter pair
-
metricFilterClauses
↔ List<
MetricFilterClause> ? -
The metric filter clauses.
getter/setter pair
-
metrics
↔ List<
Metric> ? -
The metrics requested.
getter/setter pair
-
orderBys
↔ List<
OrderBy> ? -
Sort order on output rows.
getter/setter pair
- pageSize ↔ int?
-
Page size is for paging and specifies the maximum number of returned rows.
getter/setter pair
- pageToken ↔ String?
-
A continuation token to get the next page of the results.
getter/setter pair
-
pivots
↔ List<
Pivot> ? -
The pivot definitions.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- samplingLevel ↔ String?
-
The desired report
sample size.
getter/setter pair
-
segments
↔ List<
Segment> ? -
Segment the data returned for the request.
getter/setter pair
- viewId ↔ String?
-
The Analytics
view ID from which
to retrieve data.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited