on develop help sign in
Updating speech service definition
commit2d24b1fb29fa5dec1d477813e731f3db9738fb34 authorBrendan Hay <brendan.g.hay@gmail.com> dateSat 11 Feb 2017, 11:26 (10 years ago) parentbfe1ea9
1 file changed+20−20
gen/model/speech/v1beta1/speech-api.json+20−20
gen/model/speech/v1beta1/speech-api.json+20−20
@@ -77,55 +77,55 @@
7777 "https://www.googleapis.com/auth/cloud-platform"
7878 ]
7979 },
80− "cancel": {
81− "id": "speech.operations.cancel",
80+ "delete": {
81+ "id": "speech.operations.delete",
8282 "response": {
8383 "$ref": "Empty"
8484 },
8585 "parameterOrder": [
8686 "name"
8787 ],
88− "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
89− "request": {
90− "$ref": "CancelOperationRequest"
91− },
92− "flatPath": "v1beta1/operations/{operationsId}:cancel",
93− "httpMethod": "POST",
88+ "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.",
89+ "flatPath": "v1beta1/operations/{operationsId}",
90+ "httpMethod": "DELETE",
9491 "parameters": {
9592 "name": {
96− "description": "The name of the operation resource to be cancelled.",
93+ "description": "The name of the operation resource to be deleted.",
9794 "required": true,
9895 "pattern": "^[^/]+$",
9996 "location": "path",
10097 "type": "string"
10198 }
10299 },
103− "path": "v1beta1/operations/{+name}:cancel",
100+ "path": "v1beta1/operations/{+name}",
104101 "scopes": [
105102 "https://www.googleapis.com/auth/cloud-platform"
106103 ]
107104 },
108− "delete": {
109− "id": "speech.operations.delete",
105+ "cancel": {
106+ "id": "speech.operations.cancel",
110107 "response": {
111108 "$ref": "Empty"
112109 },
113110 "parameterOrder": [
114111 "name"
115112 ],
116− "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.",
117− "flatPath": "v1beta1/operations/{operationsId}",
118− "httpMethod": "DELETE",
113+ "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
114+ "request": {
115+ "$ref": "CancelOperationRequest"
116+ },
117+ "flatPath": "v1beta1/operations/{operationsId}:cancel",
118+ "httpMethod": "POST",
119119 "parameters": {
120120 "name": {
121− "description": "The name of the operation resource to be deleted.",
121+ "description": "The name of the operation resource to be cancelled.",
122122 "required": true,
123123 "pattern": "^[^/]+$",
124124 "location": "path",
125125 "type": "string"
126126 }
127127 },
128− "path": "v1beta1/operations/{+name}",
128+ "path": "v1beta1/operations/{+name}:cancel",
129129 "scopes": [
130130 "https://www.googleapis.com/auth/cloud-platform"
131131 ]
@@ -140,7 +140,7 @@
140140 "$ref": "SyncRecognizeResponse"
141141 },
142142 "parameterOrder": [],
143− "description": "Perform synchronous speech-recognition: receive results after all audio\nhas been sent and processed.",
143+ "description": "Performs synchronous speech recognition: receive results after all audio\nhas been sent and processed.",
144144 "request": {
145145 "$ref": "SyncRecognizeRequest"
146146 },
@@ -158,7 +158,7 @@
158158 "$ref": "Operation"
159159 },
160160 "parameterOrder": [],
161− "description": "Perform asynchronous speech-recognition: receive results via the\ngoogle.longrunning.Operations interface. Returns either an\n`Operation.error` or an `Operation.response` which contains\nan `AsyncRecognizeResponse` message.",
161+ "description": "Performs asynchronous speech recognition: receive results via the\n[google.longrunning.Operations]\n(/speech/reference/rest/v1beta1/operations#Operation)\ninterface. Returns either an\n`Operation.error` or an `Operation.response` which contains\nan `AsyncRecognizeResponse` message.",
162162 "request": {
163163 "$ref": "AsyncRecognizeRequest"
164164 },
@@ -420,7 +420,7 @@
420420 "id": "AsyncRecognizeRequest"
421421 }
422422 },
423− "revision": "20161017",
423+ "revision": "20170109",
424424 "basePath": "",
425425 "icons": {
426426 "x32": "http://www.google.com/images/icons/product/search-32.gif",