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.pagespeedonline.v2; | 3 library googleapis.pagespeedonline.v2; |
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 25 matching lines...) Expand all Loading... |
36 _requester = client; | 36 _requester = client; |
37 | 37 |
38 /** | 38 /** |
39 * Runs PageSpeed analysis on the page at the specified URL, and returns | 39 * Runs PageSpeed analysis on the page at the specified URL, and returns |
40 * PageSpeed scores, a list of suggestions to make that page faster, and other | 40 * PageSpeed scores, a list of suggestions to make that page faster, and other |
41 * information. | 41 * information. |
42 * | 42 * |
43 * Request parameters: | 43 * Request parameters: |
44 * | 44 * |
45 * [url] - The URL to fetch and analyze | 45 * [url] - The URL to fetch and analyze |
46 * Value must have pattern "http(s)?://.*". | 46 * Value must have pattern "(?i)http(s)?://.*". |
47 * | 47 * |
48 * [filterThirdPartyResources] - Indicates if third party resources should be | 48 * [filterThirdPartyResources] - Indicates if third party resources should be |
49 * filtered out before PageSpeed analysis. | 49 * filtered out before PageSpeed analysis. |
50 * | 50 * |
51 * [locale] - The locale used to localize formatted results | 51 * [locale] - The locale used to localize formatted results |
52 * Value must have pattern "[a-zA-Z]+(_[a-zA-Z]+)?". | 52 * Value must have pattern "[a-zA-Z]+(_[a-zA-Z]+)?". |
53 * | 53 * |
54 * [rule] - A PageSpeed rule to run; if none are given, all rules are run | 54 * [rule] - A PageSpeed rule to run; if none are given, all rules are run |
55 * Value must have pattern "[a-zA-Z]+". | 55 * Value must have pattern "[a-zA-Z]+". |
56 * | 56 * |
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 } | 884 } |
885 if (title != null) { | 885 if (title != null) { |
886 _json["title"] = title; | 886 _json["title"] = title; |
887 } | 887 } |
888 if (version != null) { | 888 if (version != null) { |
889 _json["version"] = (version).toJson(); | 889 _json["version"] = (version).toJson(); |
890 } | 890 } |
891 return _json; | 891 return _json; |
892 } | 892 } |
893 } | 893 } |
OLD | NEW |