on develop help sign in
Updating speech service definition
2d24b1fBrendan Hay
gen/model/speech/v1beta1/speech-api.json+20−20
@@ -77,55 +77,55 @@
77 "https://www.googleapis.com/auth/cloud-platform"
77 "https://www.googleapis.com/auth/cloud-platform"
78 ]
78 ]
79 },
79 },
80− "cancel": {
80+ "delete": {
81− "id": "speech.operations.cancel",
81+ "id": "speech.operations.delete",
82 "response": {
82 "response": {
83 "$ref": "Empty"
83 "$ref": "Empty"
84 },
84 },
85 "parameterOrder": [
85 "parameterOrder": [
86 "name"
86 "name"
87 ],
87 ],
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`.",
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− "request": {
90− "$ref": "CancelOperationRequest"
91− },
92− "flatPath": "v1beta1/operations/{operationsId}:cancel",
89+ "flatPath": "v1beta1/operations/{operationsId}",
93− "httpMethod": "POST",
90+ "httpMethod": "DELETE",
94 "parameters": {
91 "parameters": {
95 "name": {
92 "name": {
96− "description": "The name of the operation resource to be cancelled.",
93+ "description": "The name of the operation resource to be deleted.",
97 "required": true,
94 "required": true,
98 "pattern": "^[^/]+$",
95 "pattern": "^[^/]+$",
99 "location": "path",
96 "location": "path",
100 "type": "string"
97 "type": "string"
101 }
98 }
102 },
99 },
103− "path": "v1beta1/operations/{+name}:cancel",
100+ "path": "v1beta1/operations/{+name}",
104 "scopes": [
101 "scopes": [
105 "https://www.googleapis.com/auth/cloud-platform"
102 "https://www.googleapis.com/auth/cloud-platform"
106 ]
103 ]
107 },
104 },
108− "delete": {
105+ "cancel": {
109− "id": "speech.operations.delete",
106+ "id": "speech.operations.cancel",
110 "response": {
107 "response": {
111 "$ref": "Empty"
108 "$ref": "Empty"
112 },
109 },
113 "parameterOrder": [
110 "parameterOrder": [
114 "name"
111 "name"
115 ],
112 ],
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`.",
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}",
117+ "flatPath": "v1beta1/operations/{operationsId}:cancel",
118− "httpMethod": "DELETE",
118+ "httpMethod": "POST",
119 "parameters": {
119 "parameters": {
120 "name": {
120 "name": {
121− "description": "The name of the operation resource to be deleted.",
121+ "description": "The name of the operation resource to be cancelled.",
122 "required": true,
122 "required": true,
123 "pattern": "^[^/]+$",
123 "pattern": "^[^/]+$",
124 "location": "path",
124 "location": "path",
125 "type": "string"
125 "type": "string"
126 }
126 }
127 },
127 },
128− "path": "v1beta1/operations/{+name}",
128+ "path": "v1beta1/operations/{+name}:cancel",
129 "scopes": [
129 "scopes": [
130 "https://www.googleapis.com/auth/cloud-platform"
130 "https://www.googleapis.com/auth/cloud-platform"
131 ]
131 ]
@@ -140,7 +140,7 @@
140 "$ref": "SyncRecognizeResponse"
140 "$ref": "SyncRecognizeResponse"
141 },
141 },
142 "parameterOrder": [],
142 "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.",
144 "request": {
144 "request": {
145 "$ref": "SyncRecognizeRequest"
145 "$ref": "SyncRecognizeRequest"
146 },
146 },
@@ -158,7 +158,7 @@
158 "$ref": "Operation"
158 "$ref": "Operation"
159 },
159 },
160 "parameterOrder": [],
160 "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.",
162 "request": {
162 "request": {
163 "$ref": "AsyncRecognizeRequest"
163 "$ref": "AsyncRecognizeRequest"
164 },
164 },
@@ -420,7 +420,7 @@
420 "id": "AsyncRecognizeRequest"
420 "id": "AsyncRecognizeRequest"
421 }
421 }
422 },
422 },
423− "revision": "20161017",
423+ "revision": "20170109",
424 "basePath": "",
424 "basePath": "",
425 "icons": {
425 "icons": {
426 "x32": "http://www.google.com/images/icons/product/search-32.gif",
426 "x32": "http://www.google.com/images/icons/product/search-32.gif",