| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.analyticsreporting.v4; | 3 library googleapis.analyticsreporting.v4; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| (...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 984 * data that is included by all these DimensionFilterClauses contributes to | 984 * data that is included by all these DimensionFilterClauses contributes to |
| 985 * the values in this pivot region. Dimension filters can be used to restrict | 985 * the values in this pivot region. Dimension filters can be used to restrict |
| 986 * the columns shown in the pivot region. For example if you have | 986 * the columns shown in the pivot region. For example if you have |
| 987 * `ga:browser` as the requested dimension in the pivot region, and you | 987 * `ga:browser` as the requested dimension in the pivot region, and you |
| 988 * specify key filters to restrict `ga:browser` to only "IE" or "Firefox", | 988 * specify key filters to restrict `ga:browser` to only "IE" or "Firefox", |
| 989 * then only those two browsers would show up as columns. | 989 * then only those two browsers would show up as columns. |
| 990 */ | 990 */ |
| 991 core.List<DimensionFilterClause> dimensionFilterClauses; | 991 core.List<DimensionFilterClause> dimensionFilterClauses; |
| 992 /** | 992 /** |
| 993 * A list of dimensions to show as pivot columns. A Pivot can have a maximum | 993 * A list of dimensions to show as pivot columns. A Pivot can have a maximum |
| 994 * of 4 dimensions. | 994 * of 4 dimensions. Pivot dimensions are part of the restriction on the |
| 995 * total number of dimensions allowed in the request. |
| 995 */ | 996 */ |
| 996 core.List<Dimension> dimensions; | 997 core.List<Dimension> dimensions; |
| 997 /** | 998 /** |
| 998 * Specifies the maximum number of groups to return. | 999 * Specifies the maximum number of groups to return. |
| 999 * The default value is 10, also the maximum value is 1,000. | 1000 * The default value is 10, also the maximum value is 1,000. |
| 1000 */ | 1001 */ |
| 1001 core.int maxGroupCount; | 1002 core.int maxGroupCount; |
| 1002 /** | 1003 /** |
| 1003 * The pivot metrics. Pivot metrics are part of the | 1004 * The pivot metrics. Pivot metrics are part of the |
| 1004 * restriction on total number of metrics in the request. | 1005 * restriction on total number of metrics allowed in the request. |
| 1005 */ | 1006 */ |
| 1006 core.List<Metric> metrics; | 1007 core.List<Metric> metrics; |
| 1007 /** | 1008 /** |
| 1008 * If k metrics were requested, then the response will contain some | 1009 * If k metrics were requested, then the response will contain some |
| 1009 * data-dependent multiple of k columns in the report. E.g., if you pivoted | 1010 * data-dependent multiple of k columns in the report. E.g., if you pivoted |
| 1010 * on the dimension `ga:browser` then you'd get k columns for "Firefox", k | 1011 * on the dimension `ga:browser` then you'd get k columns for "Firefox", k |
| 1011 * columns for "IE", k columns for "Chrome", etc. The ordering of the groups | 1012 * columns for "IE", k columns for "Chrome", etc. The ordering of the groups |
| 1012 * of columns is determined by descending order of "total" for the first of | 1013 * of columns is determined by descending order of "total" for the first of |
| 1013 * the k values. Ties are broken by lexicographic ordering of the first | 1014 * the k values. Ties are broken by lexicographic ordering of the first |
| 1014 * pivot dimension, then lexicographic ordering of the second pivot | 1015 * pivot dimension, then lexicographic ordering of the second pivot |
| (...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2054 } | 2055 } |
| 2055 | 2056 |
| 2056 core.Map toJson() { | 2057 core.Map toJson() { |
| 2057 var _json = new core.Map(); | 2058 var _json = new core.Map(); |
| 2058 if (orFiltersForSegment != null) { | 2059 if (orFiltersForSegment != null) { |
| 2059 _json["orFiltersForSegment"] = orFiltersForSegment.map((value) => (value).
toJson()).toList(); | 2060 _json["orFiltersForSegment"] = orFiltersForSegment.map((value) => (value).
toJson()).toList(); |
| 2060 } | 2061 } |
| 2061 return _json; | 2062 return _json; |
| 2062 } | 2063 } |
| 2063 } | 2064 } |
| OLD | NEW |