OLD | NEW |
1 library googleapis_beta.manager.v1beta2; | 1 library googleapis_beta.manager.v1beta2; |
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 30 matching lines...) Expand all Loading... |
41 * information | 41 * information |
42 */ | 42 */ |
43 static const NdevCloudmanReadonlyScope = "https://www.googleapis.com/auth/ndev
.cloudman.readonly"; | 43 static const NdevCloudmanReadonlyScope = "https://www.googleapis.com/auth/ndev
.cloudman.readonly"; |
44 | 44 |
45 | 45 |
46 final common_internal.ApiRequester _requester; | 46 final common_internal.ApiRequester _requester; |
47 | 47 |
48 DeploymentsResourceApi get deployments => new DeploymentsResourceApi(_requeste
r); | 48 DeploymentsResourceApi get deployments => new DeploymentsResourceApi(_requeste
r); |
49 TemplatesResourceApi get templates => new TemplatesResourceApi(_requester); | 49 TemplatesResourceApi get templates => new TemplatesResourceApi(_requester); |
50 | 50 |
51 ManagerApi(http.Client client) : | 51 ManagerApi(http.Client client, {core.String rootUrl: "https://www.googleapis.c
om/", core.String servicePath: "manager/v1beta2/projects/"}) : |
52 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "manager/v1beta2/projects/"); | 52 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
53 } | 53 } |
54 | 54 |
55 | 55 |
56 /** Not documented yet. */ | 56 /** Not documented yet. */ |
57 class DeploymentsResourceApi { | 57 class DeploymentsResourceApi { |
58 final common_internal.ApiRequester _requester; | 58 final common_internal.ApiRequester _requester; |
59 | 59 |
60 DeploymentsResourceApi(common_internal.ApiRequester client) : | 60 DeploymentsResourceApi(common_internal.ApiRequester client) : |
61 _requester = client; | 61 _requester = client; |
62 | 62 |
(...skipping 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2258 _json["nextPageToken"] = nextPageToken; | 2258 _json["nextPageToken"] = nextPageToken; |
2259 } | 2259 } |
2260 if (resources != null) { | 2260 if (resources != null) { |
2261 _json["resources"] = resources.map((value) => (value).toJson()).toList(); | 2261 _json["resources"] = resources.map((value) => (value).toJson()).toList(); |
2262 } | 2262 } |
2263 return _json; | 2263 return _json; |
2264 } | 2264 } |
2265 } | 2265 } |
2266 | 2266 |
2267 | 2267 |
OLD | NEW |