| OLD | NEW |
| 1 library googleapis_beta.container.v1beta1; | 1 library googleapis_beta.container.v1beta1; |
| 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; |
| 11 import '../common/common.dart' as common; | 11 import '../common/common.dart' as common; |
| 12 | 12 |
| 13 export '../common/common.dart' show ApiRequestError; | 13 export '../common/common.dart' show ApiRequestError; |
| 14 export '../common/common.dart' show DetailedApiRequestError; | 14 export '../common/common.dart' show DetailedApiRequestError; |
| 15 | 15 |
| 16 /** | 16 /** |
| 17 * The Google Container Engine API is used for building and managing container | 17 * The Google Container Engine API is used for building and managing container |
| 18 * based applications, powered by the open source Kubernetes technology. | 18 * based applications, powered by the open source Kubernetes technology. |
| 19 */ | 19 */ |
| 20 class ContainerApi { | 20 class ContainerApi { |
| 21 /** View and manage your data across Google Cloud Platform services */ | 21 /** View and manage your data across Google Cloud Platform services */ |
| 22 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; | 22 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; |
| 23 | 23 |
| 24 | 24 |
| 25 final common_internal.ApiRequester _requester; | 25 final common_internal.ApiRequester _requester; |
| 26 | 26 |
| 27 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); | 27 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); |
| 28 | 28 |
| 29 ContainerApi(http.Client client) : | 29 ContainerApi(http.Client client, {core.String rootUrl: "https://www.googleapis
.com/", core.String servicePath: "container/v1beta1/projects/"}) : |
| 30 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "container/v1beta1/projects/"); | 30 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
| 31 } | 31 } |
| 32 | 32 |
| 33 | 33 |
| 34 /** Not documented yet. */ | 34 /** Not documented yet. */ |
| 35 class ProjectsResourceApi { | 35 class ProjectsResourceApi { |
| 36 final common_internal.ApiRequester _requester; | 36 final common_internal.ApiRequester _requester; |
| 37 | 37 |
| 38 ProjectsClustersResourceApi get clusters => new ProjectsClustersResourceApi(_r
equester); | 38 ProjectsClustersResourceApi get clusters => new ProjectsClustersResourceApi(_r
equester); |
| 39 ProjectsOperationsResourceApi get operations => new ProjectsOperationsResource
Api(_requester); | 39 ProjectsOperationsResourceApi get operations => new ProjectsOperationsResource
Api(_requester); |
| 40 ProjectsZonesResourceApi get zones => new ProjectsZonesResourceApi(_requester)
; | 40 ProjectsZonesResourceApi get zones => new ProjectsZonesResourceApi(_requester)
; |
| (...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 984 _json["target"] = target; | 984 _json["target"] = target; |
| 985 } | 985 } |
| 986 if (zone != null) { | 986 if (zone != null) { |
| 987 _json["zone"] = zone; | 987 _json["zone"] = zone; |
| 988 } | 988 } |
| 989 return _json; | 989 return _json; |
| 990 } | 990 } |
| 991 } | 991 } |
| 992 | 992 |
| 993 | 993 |
| OLD | NEW |