| 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.webmasters.v3; | 3 library googleapis.webmasters.v3; |
| 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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 } | 865 } |
| 866 if (groupType != null) { | 866 if (groupType != null) { |
| 867 _json["groupType"] = groupType; | 867 _json["groupType"] = groupType; |
| 868 } | 868 } |
| 869 return _json; | 869 return _json; |
| 870 } | 870 } |
| 871 } | 871 } |
| 872 | 872 |
| 873 class SearchAnalyticsQueryRequest { | 873 class SearchAnalyticsQueryRequest { |
| 874 /** | 874 /** |
| 875 * [Optional; Default is AUTO] How data is aggregated. If aggregated by | 875 * [Optional; Default is "auto"] How data is aggregated. If aggregated by |
| 876 * property, all data for the same property is aggregated; if aggregated by | 876 * property, all data for the same property is aggregated; if aggregated by |
| 877 * page, all data is aggregated by canonical URI. If you filter or group by | 877 * page, all data is aggregated by canonical URI. If you filter or group by |
| 878 * page, choose AUTO; otherwise you can aggregate either by property or by | 878 * page, choose AUTO; otherwise you can aggregate either by property or by |
| 879 * page, depending on how you want your data calculated; see the help | 879 * page, depending on how you want your data calculated; see the help |
| 880 * documentation to learn how data is calculated differently by site versus by | 880 * documentation to learn how data is calculated differently by site versus by |
| 881 * page. | 881 * page. |
| 882 * | 882 * |
| 883 * Note: If you group or filter by page, you cannot aggregate by property. | 883 * Note: If you group or filter by page, you cannot aggregate by property. |
| 884 * | 884 * |
| 885 * If you specify any value other than AUTO, the aggregation type in the | 885 * If you specify any value other than AUTO, the aggregation type in the |
| 886 * result will match the requested type, or if you request an invalid type, | 886 * result will match the requested type, or if you request an invalid type, |
| 887 * you will get an error. The API will never change your aggregation type if | 887 * you will get an error. The API will never change your aggregation type if |
| 888 * the requested type is invalid. | 888 * the requested type is invalid. |
| 889 */ | 889 */ |
| 890 core.String aggregationType; | 890 core.String aggregationType; |
| 891 /** | 891 /** |
| 892 * [Optional] Zero or more filters to apply to the dimension grouping values; | 892 * [Optional] Zero or more filters to apply to the dimension grouping values; |
| 893 * for example, 'Country CONTAINS "Guinea"' to see only data where the country | 893 * for example, 'query contains "buy"' to see only data where the query string |
| 894 * contains the substring "Guinea". You can filter by a dimension without | 894 * contains the substring "buy" (not case-sensitive). You can filter by a |
| 895 * grouping by it. | 895 * dimension without grouping by it. |
| 896 */ | 896 */ |
| 897 core.List<ApiDimensionFilterGroup> dimensionFilterGroups; | 897 core.List<ApiDimensionFilterGroup> dimensionFilterGroups; |
| 898 /** | 898 /** |
| 899 * [Optional] Zero or more dimensions to group results by. Dimensions are the | 899 * [Optional] Zero or more dimensions to group results by. Dimensions are the |
| 900 * group-by values in the Search Analytics page. Dimensions are combined to | 900 * group-by values in the Search Analytics page. Dimensions are combined to |
| 901 * create a unique row key for each row. Results are grouped in the order that | 901 * create a unique row key for each row. Results are grouped in the order that |
| 902 * you supply these dimensions. | 902 * you supply these dimensions. |
| 903 */ | 903 */ |
| 904 core.List<core.String> dimensions; | 904 core.List<core.String> dimensions; |
| 905 /** | 905 /** |
| 906 * [Required] End date of the requested date range, in YYYY-MM-DD format, in | 906 * [Required] End date of the requested date range, in YYYY-MM-DD format, in |
| 907 * PST (UTC - 8:00). Must be greater than or equal to the start date. This | 907 * PST (UTC - 8:00). Must be greater than or equal to the start date. This |
| 908 * value is included in the range. | 908 * value is included in the range. |
| 909 */ | 909 */ |
| 910 core.String endDate; | 910 core.String endDate; |
| 911 /** | 911 /** |
| 912 * [Optional; Default is 1000] The maximum number of rows to return. Must be a | 912 * [Optional; Default is 1000] The maximum number of rows to return. Must be a |
| 913 * number from 1 to 1,000 (inclusive). | 913 * number from 1 to 5,000 (inclusive). |
| 914 */ | 914 */ |
| 915 core.int rowLimit; | 915 core.int rowLimit; |
| 916 /** [Optional; Default is WEB] The search type to filter for. */ | 916 /** [Optional; Default is "web"] The search type to filter for. */ |
| 917 core.String searchType; | 917 core.String searchType; |
| 918 /** | 918 /** |
| 919 * [Required] Start date of the requested date range, in YYYY-MM-DD format, in | 919 * [Required] Start date of the requested date range, in YYYY-MM-DD format, in |
| 920 * PST time (UTC - 8:00). Must be less than or equal to the end date. This | 920 * PST time (UTC - 8:00). Must be less than or equal to the end date. This |
| 921 * value is included in the range. | 921 * value is included in the range. |
| 922 */ | 922 */ |
| 923 core.String startDate; | 923 core.String startDate; |
| 924 | 924 |
| 925 SearchAnalyticsQueryRequest(); | 925 SearchAnalyticsQueryRequest(); |
| 926 | 926 |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1436 } | 1436 } |
| 1437 if (submitted != null) { | 1437 if (submitted != null) { |
| 1438 _json["submitted"] = submitted; | 1438 _json["submitted"] = submitted; |
| 1439 } | 1439 } |
| 1440 if (type != null) { | 1440 if (type != null) { |
| 1441 _json["type"] = type; | 1441 _json["type"] = type; |
| 1442 } | 1442 } |
| 1443 return _json; | 1443 return _json; |
| 1444 } | 1444 } |
| 1445 } | 1445 } |
| OLD | NEW |