| OLD | NEW |
| 1 library googleapis.prediction.v1_6; | 1 library googleapis.prediction.v1_6; |
| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 /** Manage your data in the Google Prediction API */ | 30 /** Manage your data in the Google Prediction API */ |
| 31 static const PredictionScope = "https://www.googleapis.com/auth/prediction"; | 31 static const PredictionScope = "https://www.googleapis.com/auth/prediction"; |
| 32 | 32 |
| 33 | 33 |
| 34 final common_internal.ApiRequester _requester; | 34 final common_internal.ApiRequester _requester; |
| 35 | 35 |
| 36 HostedmodelsResourceApi get hostedmodels => new HostedmodelsResourceApi(_reque
ster); | 36 HostedmodelsResourceApi get hostedmodels => new HostedmodelsResourceApi(_reque
ster); |
| 37 TrainedmodelsResourceApi get trainedmodels => new TrainedmodelsResourceApi(_re
quester); | 37 TrainedmodelsResourceApi get trainedmodels => new TrainedmodelsResourceApi(_re
quester); |
| 38 | 38 |
| 39 PredictionApi(http.Client client) : | 39 PredictionApi(http.Client client, {core.String rootUrl: "https://www.googleapi
s.com/", core.String servicePath: "prediction/v1.6/projects/"}) : |
| 40 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "prediction/v1.6/projects/"); | 40 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
| 41 } | 41 } |
| 42 | 42 |
| 43 | 43 |
| 44 /** Not documented yet. */ | 44 /** Not documented yet. */ |
| 45 class HostedmodelsResourceApi { | 45 class HostedmodelsResourceApi { |
| 46 final common_internal.ApiRequester _requester; | 46 final common_internal.ApiRequester _requester; |
| 47 | 47 |
| 48 HostedmodelsResourceApi(common_internal.ApiRequester client) : | 48 HostedmodelsResourceApi(common_internal.ApiRequester client) : |
| 49 _requester = client; | 49 _requester = client; |
| 50 | 50 |
| (...skipping 1399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1450 _json["csvInstance"] = csvInstance; | 1450 _json["csvInstance"] = csvInstance; |
| 1451 } | 1451 } |
| 1452 if (output != null) { | 1452 if (output != null) { |
| 1453 _json["output"] = output; | 1453 _json["output"] = output; |
| 1454 } | 1454 } |
| 1455 return _json; | 1455 return _json; |
| 1456 } | 1456 } |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 | 1459 |
| OLD | NEW |