OLD | NEW |
1 library googleapis_beta.resourceviews.v1beta2; | 1 library googleapis_beta.resourceviews.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 27 matching lines...) Loading... |
38 * information | 38 * information |
39 */ | 39 */ |
40 static const NdevCloudmanReadonlyScope = "https://www.googleapis.com/auth/ndev
.cloudman.readonly"; | 40 static const NdevCloudmanReadonlyScope = "https://www.googleapis.com/auth/ndev
.cloudman.readonly"; |
41 | 41 |
42 | 42 |
43 final common_internal.ApiRequester _requester; | 43 final common_internal.ApiRequester _requester; |
44 | 44 |
45 ZoneOperationsResourceApi get zoneOperations => new ZoneOperationsResourceApi(
_requester); | 45 ZoneOperationsResourceApi get zoneOperations => new ZoneOperationsResourceApi(
_requester); |
46 ZoneViewsResourceApi get zoneViews => new ZoneViewsResourceApi(_requester); | 46 ZoneViewsResourceApi get zoneViews => new ZoneViewsResourceApi(_requester); |
47 | 47 |
48 ResourceviewsApi(http.Client client) : | 48 ResourceviewsApi(http.Client client, {core.String rootUrl: "https://www.google
apis.com/", core.String servicePath: "resourceviews/v1beta2/projects/"}) : |
49 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "resourceviews/v1beta2/projects/"); | 49 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
50 } | 50 } |
51 | 51 |
52 | 52 |
53 /** Not documented yet. */ | 53 /** Not documented yet. */ |
54 class ZoneOperationsResourceApi { | 54 class ZoneOperationsResourceApi { |
55 final common_internal.ApiRequester _requester; | 55 final common_internal.ApiRequester _requester; |
56 | 56 |
57 ZoneOperationsResourceApi(common_internal.ApiRequester client) : | 57 ZoneOperationsResourceApi(common_internal.ApiRequester client) : |
58 _requester = client; | 58 _requester = client; |
59 | 59 |
(...skipping 1571 matching lines...) Loading... |
1631 _json["fingerprint"] = fingerprint; | 1631 _json["fingerprint"] = fingerprint; |
1632 } | 1632 } |
1633 if (resourceName != null) { | 1633 if (resourceName != null) { |
1634 _json["resourceName"] = resourceName; | 1634 _json["resourceName"] = resourceName; |
1635 } | 1635 } |
1636 return _json; | 1636 return _json; |
1637 } | 1637 } |
1638 } | 1638 } |
1639 | 1639 |
1640 | 1640 |
OLD | NEW |