OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.prediction.v1_6; | 3 library googleapis.prediction.v1_6; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
11 | 11 |
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
14 | 14 |
15 const core.String USER_AGENT = 'dart-api-client prediction/v1.6'; | 15 const core.String USER_AGENT = 'dart-api-client prediction/v1.6'; |
16 | 16 |
17 /** | 17 /** |
18 * Lets you access a cloud hosted machine learning service that makes it easy to | 18 * Lets you access a cloud hosted machine learning service that makes it easy to |
19 * build smart apps | 19 * build smart apps |
20 */ | 20 */ |
21 class PredictionApi { | 21 class PredictionApi { |
| 22 /** View and manage your data across Google Cloud Platform services */ |
| 23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; |
| 24 |
22 /** Manage your data and permissions in Google Cloud Storage */ | 25 /** Manage your data and permissions in Google Cloud Storage */ |
23 static const DevstorageFullControlScope = "https://www.googleapis.com/auth/dev
storage.full_control"; | 26 static const DevstorageFullControlScope = "https://www.googleapis.com/auth/dev
storage.full_control"; |
24 | 27 |
25 /** View your data in Google Cloud Storage */ | 28 /** View your data in Google Cloud Storage */ |
26 static const DevstorageReadOnlyScope = "https://www.googleapis.com/auth/devsto
rage.read_only"; | 29 static const DevstorageReadOnlyScope = "https://www.googleapis.com/auth/devsto
rage.read_only"; |
27 | 30 |
28 /** Manage your data in Google Cloud Storage */ | 31 /** Manage your data in Google Cloud Storage */ |
29 static const DevstorageReadWriteScope = "https://www.googleapis.com/auth/devst
orage.read_write"; | 32 static const DevstorageReadWriteScope = "https://www.googleapis.com/auth/devst
orage.read_write"; |
30 | 33 |
31 /** Manage your data in the Google Prediction API */ | 34 /** Manage your data in the Google Prediction API */ |
(...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1335 var _json = new core.Map(); | 1338 var _json = new core.Map(); |
1336 if (csvInstance != null) { | 1339 if (csvInstance != null) { |
1337 _json["csvInstance"] = csvInstance; | 1340 _json["csvInstance"] = csvInstance; |
1338 } | 1341 } |
1339 if (output != null) { | 1342 if (output != null) { |
1340 _json["output"] = output; | 1343 _json["output"] = output; |
1341 } | 1344 } |
1342 return _json; | 1345 return _json; |
1343 } | 1346 } |
1344 } | 1347 } |
OLD | NEW |