| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 }, |
| 5 "https://www.googleapis.com/auth/devstorage.full_control": { | 8 "https://www.googleapis.com/auth/devstorage.full_control": { |
| 6 "description": "Manage your data and permissions in Google C
loud Storage" | 9 "description": "Manage your data and permissions in Google C
loud Storage" |
| 7 }, | 10 }, |
| 8 "https://www.googleapis.com/auth/devstorage.read_only": { | 11 "https://www.googleapis.com/auth/devstorage.read_only": { |
| 9 "description": "View your data in Google Cloud Storage" | 12 "description": "View your data in Google Cloud Storage" |
| 10 }, | 13 }, |
| 11 "https://www.googleapis.com/auth/devstorage.read_write": { | 14 "https://www.googleapis.com/auth/devstorage.read_write": { |
| 12 "description": "Manage your data in Google Cloud Storage" | 15 "description": "Manage your data in Google Cloud Storage" |
| 13 }, | 16 }, |
| 14 "https://www.googleapis.com/auth/prediction": { | 17 "https://www.googleapis.com/auth/prediction": { |
| 15 "description": "Manage your data in the Google Prediction AP
I" | 18 "description": "Manage your data in the Google Prediction AP
I" |
| 16 } | 19 } |
| 17 } | 20 } |
| 18 } | 21 } |
| 19 }, | 22 }, |
| 20 "basePath": "/prediction/v1.6/projects/", | 23 "basePath": "/prediction/v1.6/projects/", |
| 21 "baseUrl": "https://www.googleapis.com/prediction/v1.6/projects/", | 24 "baseUrl": "https://www.googleapis.com/prediction/v1.6/projects/", |
| 22 "batchPath": "batch", | 25 "batchPath": "batch", |
| 23 "description": "Lets you access a cloud hosted machine learning service that
makes it easy to build smart apps", | 26 "description": "Lets you access a cloud hosted machine learning service that
makes it easy to build smart apps", |
| 24 "discoveryVersion": "v1", | 27 "discoveryVersion": "v1", |
| 25 "documentationLink": "https://developers.google.com/prediction/docs/develope
r-guide", | 28 "documentationLink": "https://developers.google.com/prediction/docs/develope
r-guide", |
| 26 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/Rb8Il9CxYvuIPXx3em3nY6uZPfg\"", | 29 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/YsFEJnq5UeoemkjE7DFhTi6r2Gw\"", |
| 27 "icons": { | 30 "icons": { |
| 28 "x16": "https://www.google.com/images/icons/feature/predictionapi-16.png
", | 31 "x16": "https://www.google.com/images/icons/feature/predictionapi-16.png
", |
| 29 "x32": "https://www.google.com/images/icons/feature/predictionapi-32.png
" | 32 "x32": "https://www.google.com/images/icons/feature/predictionapi-32.png
" |
| 30 }, | 33 }, |
| 31 "id": "prediction:v1.6", | 34 "id": "prediction:v1.6", |
| 32 "kind": "discovery#restDescription", | 35 "kind": "discovery#restDescription", |
| 33 "name": "prediction", | 36 "name": "prediction", |
| 34 "ownerDomain": "google.com", | 37 "ownerDomain": "google.com", |
| 35 "ownerName": "Google", | 38 "ownerName": "Google", |
| 36 "parameters": { | 39 "parameters": { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 } | 108 } |
| 106 }, | 109 }, |
| 107 "path": "{project}/hostedmodels/{hostedModelName}/predict", | 110 "path": "{project}/hostedmodels/{hostedModelName}/predict", |
| 108 "request": { | 111 "request": { |
| 109 "$ref": "Input" | 112 "$ref": "Input" |
| 110 }, | 113 }, |
| 111 "response": { | 114 "response": { |
| 112 "$ref": "Output" | 115 "$ref": "Output" |
| 113 }, | 116 }, |
| 114 "scopes": [ | 117 "scopes": [ |
| 118 "https://www.googleapis.com/auth/cloud-platform", |
| 115 "https://www.googleapis.com/auth/prediction" | 119 "https://www.googleapis.com/auth/prediction" |
| 116 ] | 120 ] |
| 117 } | 121 } |
| 118 } | 122 } |
| 119 }, | 123 }, |
| 120 "trainedmodels": { | 124 "trainedmodels": { |
| 121 "methods": { | 125 "methods": { |
| 122 "analyze": { | 126 "analyze": { |
| 123 "description": "Get analysis of the model and the data the m
odel was trained on.", | 127 "description": "Get analysis of the model and the data the m
odel was trained on.", |
| 124 "httpMethod": "GET", | 128 "httpMethod": "GET", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 139 "location": "path", | 143 "location": "path", |
| 140 "required": true, | 144 "required": true, |
| 141 "type": "string" | 145 "type": "string" |
| 142 } | 146 } |
| 143 }, | 147 }, |
| 144 "path": "{project}/trainedmodels/{id}/analyze", | 148 "path": "{project}/trainedmodels/{id}/analyze", |
| 145 "response": { | 149 "response": { |
| 146 "$ref": "Analyze" | 150 "$ref": "Analyze" |
| 147 }, | 151 }, |
| 148 "scopes": [ | 152 "scopes": [ |
| 153 "https://www.googleapis.com/auth/cloud-platform", |
| 149 "https://www.googleapis.com/auth/prediction" | 154 "https://www.googleapis.com/auth/prediction" |
| 150 ] | 155 ] |
| 151 }, | 156 }, |
| 152 "delete": { | 157 "delete": { |
| 153 "description": "Delete a trained model.", | 158 "description": "Delete a trained model.", |
| 154 "httpMethod": "DELETE", | 159 "httpMethod": "DELETE", |
| 155 "id": "prediction.trainedmodels.delete", | 160 "id": "prediction.trainedmodels.delete", |
| 156 "parameterOrder": [ | 161 "parameterOrder": [ |
| 157 "project", | 162 "project", |
| 158 "id" | 163 "id" |
| 159 ], | 164 ], |
| 160 "parameters": { | 165 "parameters": { |
| 161 "id": { | 166 "id": { |
| 162 "description": "The unique name for the predictive m
odel.", | 167 "description": "The unique name for the predictive m
odel.", |
| 163 "location": "path", | 168 "location": "path", |
| 164 "required": true, | 169 "required": true, |
| 165 "type": "string" | 170 "type": "string" |
| 166 }, | 171 }, |
| 167 "project": { | 172 "project": { |
| 168 "description": "The project associated with the mode
l.", | 173 "description": "The project associated with the mode
l.", |
| 169 "location": "path", | 174 "location": "path", |
| 170 "required": true, | 175 "required": true, |
| 171 "type": "string" | 176 "type": "string" |
| 172 } | 177 } |
| 173 }, | 178 }, |
| 174 "path": "{project}/trainedmodels/{id}", | 179 "path": "{project}/trainedmodels/{id}", |
| 175 "scopes": [ | 180 "scopes": [ |
| 181 "https://www.googleapis.com/auth/cloud-platform", |
| 176 "https://www.googleapis.com/auth/prediction" | 182 "https://www.googleapis.com/auth/prediction" |
| 177 ] | 183 ] |
| 178 }, | 184 }, |
| 179 "get": { | 185 "get": { |
| 180 "description": "Check training status of your model.", | 186 "description": "Check training status of your model.", |
| 181 "httpMethod": "GET", | 187 "httpMethod": "GET", |
| 182 "id": "prediction.trainedmodels.get", | 188 "id": "prediction.trainedmodels.get", |
| 183 "parameterOrder": [ | 189 "parameterOrder": [ |
| 184 "project", | 190 "project", |
| 185 "id" | 191 "id" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 196 "location": "path", | 202 "location": "path", |
| 197 "required": true, | 203 "required": true, |
| 198 "type": "string" | 204 "type": "string" |
| 199 } | 205 } |
| 200 }, | 206 }, |
| 201 "path": "{project}/trainedmodels/{id}", | 207 "path": "{project}/trainedmodels/{id}", |
| 202 "response": { | 208 "response": { |
| 203 "$ref": "Insert2" | 209 "$ref": "Insert2" |
| 204 }, | 210 }, |
| 205 "scopes": [ | 211 "scopes": [ |
| 212 "https://www.googleapis.com/auth/cloud-platform", |
| 206 "https://www.googleapis.com/auth/prediction" | 213 "https://www.googleapis.com/auth/prediction" |
| 207 ] | 214 ] |
| 208 }, | 215 }, |
| 209 "insert": { | 216 "insert": { |
| 210 "description": "Train a Prediction API model.", | 217 "description": "Train a Prediction API model.", |
| 211 "httpMethod": "POST", | 218 "httpMethod": "POST", |
| 212 "id": "prediction.trainedmodels.insert", | 219 "id": "prediction.trainedmodels.insert", |
| 213 "parameterOrder": [ | 220 "parameterOrder": [ |
| 214 "project" | 221 "project" |
| 215 ], | 222 ], |
| 216 "parameters": { | 223 "parameters": { |
| 217 "project": { | 224 "project": { |
| 218 "description": "The project associated with the mode
l.", | 225 "description": "The project associated with the mode
l.", |
| 219 "location": "path", | 226 "location": "path", |
| 220 "required": true, | 227 "required": true, |
| 221 "type": "string" | 228 "type": "string" |
| 222 } | 229 } |
| 223 }, | 230 }, |
| 224 "path": "{project}/trainedmodels", | 231 "path": "{project}/trainedmodels", |
| 225 "request": { | 232 "request": { |
| 226 "$ref": "Insert" | 233 "$ref": "Insert" |
| 227 }, | 234 }, |
| 228 "response": { | 235 "response": { |
| 229 "$ref": "Insert2" | 236 "$ref": "Insert2" |
| 230 }, | 237 }, |
| 231 "scopes": [ | 238 "scopes": [ |
| 239 "https://www.googleapis.com/auth/cloud-platform", |
| 232 "https://www.googleapis.com/auth/devstorage.full_control
", | 240 "https://www.googleapis.com/auth/devstorage.full_control
", |
| 233 "https://www.googleapis.com/auth/devstorage.read_only", | 241 "https://www.googleapis.com/auth/devstorage.read_only", |
| 234 "https://www.googleapis.com/auth/devstorage.read_write", | 242 "https://www.googleapis.com/auth/devstorage.read_write", |
| 235 "https://www.googleapis.com/auth/prediction" | 243 "https://www.googleapis.com/auth/prediction" |
| 236 ] | 244 ] |
| 237 }, | 245 }, |
| 238 "list": { | 246 "list": { |
| 239 "description": "List available models.", | 247 "description": "List available models.", |
| 240 "httpMethod": "GET", | 248 "httpMethod": "GET", |
| 241 "id": "prediction.trainedmodels.list", | 249 "id": "prediction.trainedmodels.list", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 260 "location": "path", | 268 "location": "path", |
| 261 "required": true, | 269 "required": true, |
| 262 "type": "string" | 270 "type": "string" |
| 263 } | 271 } |
| 264 }, | 272 }, |
| 265 "path": "{project}/trainedmodels/list", | 273 "path": "{project}/trainedmodels/list", |
| 266 "response": { | 274 "response": { |
| 267 "$ref": "List" | 275 "$ref": "List" |
| 268 }, | 276 }, |
| 269 "scopes": [ | 277 "scopes": [ |
| 278 "https://www.googleapis.com/auth/cloud-platform", |
| 270 "https://www.googleapis.com/auth/prediction" | 279 "https://www.googleapis.com/auth/prediction" |
| 271 ] | 280 ] |
| 272 }, | 281 }, |
| 273 "predict": { | 282 "predict": { |
| 274 "description": "Submit model id and request a prediction.", | 283 "description": "Submit model id and request a prediction.", |
| 275 "httpMethod": "POST", | 284 "httpMethod": "POST", |
| 276 "id": "prediction.trainedmodels.predict", | 285 "id": "prediction.trainedmodels.predict", |
| 277 "parameterOrder": [ | 286 "parameterOrder": [ |
| 278 "project", | 287 "project", |
| 279 "id" | 288 "id" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 293 } | 302 } |
| 294 }, | 303 }, |
| 295 "path": "{project}/trainedmodels/{id}/predict", | 304 "path": "{project}/trainedmodels/{id}/predict", |
| 296 "request": { | 305 "request": { |
| 297 "$ref": "Input" | 306 "$ref": "Input" |
| 298 }, | 307 }, |
| 299 "response": { | 308 "response": { |
| 300 "$ref": "Output" | 309 "$ref": "Output" |
| 301 }, | 310 }, |
| 302 "scopes": [ | 311 "scopes": [ |
| 312 "https://www.googleapis.com/auth/cloud-platform", |
| 303 "https://www.googleapis.com/auth/prediction" | 313 "https://www.googleapis.com/auth/prediction" |
| 304 ] | 314 ] |
| 305 }, | 315 }, |
| 306 "update": { | 316 "update": { |
| 307 "description": "Add new data to a trained model.", | 317 "description": "Add new data to a trained model.", |
| 308 "httpMethod": "PUT", | 318 "httpMethod": "PUT", |
| 309 "id": "prediction.trainedmodels.update", | 319 "id": "prediction.trainedmodels.update", |
| 310 "parameterOrder": [ | 320 "parameterOrder": [ |
| 311 "project", | 321 "project", |
| 312 "id" | 322 "id" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 326 } | 336 } |
| 327 }, | 337 }, |
| 328 "path": "{project}/trainedmodels/{id}", | 338 "path": "{project}/trainedmodels/{id}", |
| 329 "request": { | 339 "request": { |
| 330 "$ref": "Update" | 340 "$ref": "Update" |
| 331 }, | 341 }, |
| 332 "response": { | 342 "response": { |
| 333 "$ref": "Insert2" | 343 "$ref": "Insert2" |
| 334 }, | 344 }, |
| 335 "scopes": [ | 345 "scopes": [ |
| 346 "https://www.googleapis.com/auth/cloud-platform", |
| 336 "https://www.googleapis.com/auth/prediction" | 347 "https://www.googleapis.com/auth/prediction" |
| 337 ] | 348 ] |
| 338 } | 349 } |
| 339 } | 350 } |
| 340 } | 351 } |
| 341 }, | 352 }, |
| 342 "revision": "20160304", | 353 "revision": "20160511", |
| 343 "rootUrl": "https://www.googleapis.com/", | 354 "rootUrl": "https://www.googleapis.com/", |
| 344 "schemas": { | 355 "schemas": { |
| 345 "Analyze": { | 356 "Analyze": { |
| 346 "id": "Analyze", | 357 "id": "Analyze", |
| 347 "properties": { | 358 "properties": { |
| 348 "dataDescription": { | 359 "dataDescription": { |
| 349 "description": "Description of the data the model was traine
d on.", | 360 "description": "Description of the data the model was traine
d on.", |
| 350 "properties": { | 361 "properties": { |
| 351 "features": { | 362 "features": { |
| 352 "description": "Description of the input features in
the data set.", | 363 "description": "Description of the input features in
the data set.", |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 "type": "string" | 781 "type": "string" |
| 771 } | 782 } |
| 772 }, | 783 }, |
| 773 "type": "object" | 784 "type": "object" |
| 774 } | 785 } |
| 775 }, | 786 }, |
| 776 "servicePath": "prediction/v1.6/projects/", | 787 "servicePath": "prediction/v1.6/projects/", |
| 777 "title": "Prediction API", | 788 "title": "Prediction API", |
| 778 "version": "v1.6" | 789 "version": "v1.6" |
| 779 } | 790 } |
| OLD | NEW |