OLD | NEW |
1 library googleapis.analytics.v3; | 1 library googleapis.analytics.v3; |
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 26 matching lines...) Expand all Loading... |
37 static const AnalyticsReadonlyScope = "https://www.googleapis.com/auth/analyti
cs.readonly"; | 37 static const AnalyticsReadonlyScope = "https://www.googleapis.com/auth/analyti
cs.readonly"; |
38 | 38 |
39 | 39 |
40 final common_internal.ApiRequester _requester; | 40 final common_internal.ApiRequester _requester; |
41 | 41 |
42 DataResourceApi get data => new DataResourceApi(_requester); | 42 DataResourceApi get data => new DataResourceApi(_requester); |
43 ManagementResourceApi get management => new ManagementResourceApi(_requester); | 43 ManagementResourceApi get management => new ManagementResourceApi(_requester); |
44 MetadataResourceApi get metadata => new MetadataResourceApi(_requester); | 44 MetadataResourceApi get metadata => new MetadataResourceApi(_requester); |
45 ProvisioningResourceApi get provisioning => new ProvisioningResourceApi(_reque
ster); | 45 ProvisioningResourceApi get provisioning => new ProvisioningResourceApi(_reque
ster); |
46 | 46 |
47 AnalyticsApi(http.Client client) : | 47 AnalyticsApi(http.Client client, {core.String rootUrl: "https://www.googleapis
.com/", core.String servicePath: "analytics/v3/"}) : |
48 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "analytics/v3/"); | 48 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
49 } | 49 } |
50 | 50 |
51 | 51 |
52 /** Not documented yet. */ | 52 /** Not documented yet. */ |
53 class DataResourceApi { | 53 class DataResourceApi { |
54 final common_internal.ApiRequester _requester; | 54 final common_internal.ApiRequester _requester; |
55 | 55 |
56 DataGaResourceApi get ga => new DataGaResourceApi(_requester); | 56 DataGaResourceApi get ga => new DataGaResourceApi(_requester); |
57 DataMcfResourceApi get mcf => new DataMcfResourceApi(_requester); | 57 DataMcfResourceApi get mcf => new DataMcfResourceApi(_requester); |
58 DataRealtimeResourceApi get realtime => new DataRealtimeResourceApi(_requester
); | 58 DataRealtimeResourceApi get realtime => new DataRealtimeResourceApi(_requester
); |
(...skipping 11545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11604 _json["updated"] = (updated).toIso8601String(); | 11604 _json["updated"] = (updated).toIso8601String(); |
11605 } | 11605 } |
11606 if (websiteUrl != null) { | 11606 if (websiteUrl != null) { |
11607 _json["websiteUrl"] = websiteUrl; | 11607 _json["websiteUrl"] = websiteUrl; |
11608 } | 11608 } |
11609 return _json; | 11609 return _json; |
11610 } | 11610 } |
11611 } | 11611 } |
11612 | 11612 |
11613 | 11613 |
OLD | NEW |