| OLD | NEW |
| 1 library googleapis.youtubeAnalytics.v1; | 1 library googleapis.youtubeAnalytics.v1; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 /** View YouTube Analytics reports for your YouTube content */ | 21 /** View YouTube Analytics reports for your YouTube content */ |
| 22 static const YtAnalyticsReadonlyScope = "https://www.googleapis.com/auth/yt-an
alytics.readonly"; | 22 static const YtAnalyticsReadonlyScope = "https://www.googleapis.com/auth/yt-an
alytics.readonly"; |
| 23 | 23 |
| 24 | 24 |
| 25 final common_internal.ApiRequester _requester; | 25 final common_internal.ApiRequester _requester; |
| 26 | 26 |
| 27 BatchReportDefinitionsResourceApi get batchReportDefinitions => new BatchRepor
tDefinitionsResourceApi(_requester); | 27 BatchReportDefinitionsResourceApi get batchReportDefinitions => new BatchRepor
tDefinitionsResourceApi(_requester); |
| 28 BatchReportsResourceApi get batchReports => new BatchReportsResourceApi(_reque
ster); | 28 BatchReportsResourceApi get batchReports => new BatchReportsResourceApi(_reque
ster); |
| 29 ReportsResourceApi get reports => new ReportsResourceApi(_requester); | 29 ReportsResourceApi get reports => new ReportsResourceApi(_requester); |
| 30 | 30 |
| 31 YoutubeAnalyticsApi(http.Client client) : | 31 YoutubeAnalyticsApi(http.Client client, {core.String rootUrl: "https://www.goo
gleapis.com/", core.String servicePath: "youtube/analytics/v1/"}) : |
| 32 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "youtube/analytics/v1/"); | 32 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
| 33 } | 33 } |
| 34 | 34 |
| 35 | 35 |
| 36 /** Not documented yet. */ | 36 /** Not documented yet. */ |
| 37 class BatchReportDefinitionsResourceApi { | 37 class BatchReportDefinitionsResourceApi { |
| 38 final common_internal.ApiRequester _requester; | 38 final common_internal.ApiRequester _requester; |
| 39 | 39 |
| 40 BatchReportDefinitionsResourceApi(common_internal.ApiRequester client) : | 40 BatchReportDefinitionsResourceApi(common_internal.ApiRequester client) : |
| 41 _requester = client; | 41 _requester = client; |
| 42 | 42 |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 _json["kind"] = kind; | 686 _json["kind"] = kind; |
| 687 } | 687 } |
| 688 if (rows != null) { | 688 if (rows != null) { |
| 689 _json["rows"] = rows; | 689 _json["rows"] = rows; |
| 690 } | 690 } |
| 691 return _json; | 691 return _json; |
| 692 } | 692 } |
| 693 } | 693 } |
| 694 | 694 |
| 695 | 695 |
| OLD | NEW |