Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: discovery/googleapis_beta/speech__v1beta1.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://speech.googleapis.com/", 12 "baseUrl": "https://speech.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Cloud Speech API",
15 "description": "Google Cloud Speech API.", 14 "description": "Google Cloud Speech API.",
16 "discoveryVersion": "v1", 15 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/speech/", 16 "documentationLink": "https://cloud.google.com/speech/",
18 "icons": { 17 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 18 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 19 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 20 },
22 "id": "speech:v1beta1", 21 "id": "speech:v1beta1",
23 "kind": "discovery#restDescription", 22 "kind": "discovery#restDescription",
24 "name": "speech", 23 "name": "speech",
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 "type": "string" 106 "type": "string"
108 }, 107 },
109 "upload_protocol": { 108 "upload_protocol": {
110 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 109 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
111 "location": "query", 110 "location": "query",
112 "type": "string" 111 "type": "string"
113 } 112 }
114 }, 113 },
115 "protocol": "rest", 114 "protocol": "rest",
116 "resources": { 115 "resources": {
117 "speech": {
118 "methods": {
119 "syncrecognize": {
120 "description": "Perform synchronous speech-recognition: rece ive results after all audio\nhas been sent and processed.",
121 "httpMethod": "POST",
122 "id": "speech.speech.syncrecognize",
123 "parameterOrder": [],
124 "parameters": {},
125 "path": "v1beta1/speech:syncrecognize",
126 "request": {
127 "$ref": "SyncRecognizeRequest"
128 },
129 "response": {
130 "$ref": "SyncRecognizeResponse"
131 },
132 "scopes": [
133 "https://www.googleapis.com/auth/cloud-platform"
134 ]
135 },
136 "asyncrecognize": {
137 "description": "Perform asynchronous speech-recognition: rec eive results via the\ngoogle.longrunning.Operations interface. Returns either an \n`Operation.error` or an `Operation.response` which contains\nan `AsyncRecogniz eResponse` message.",
138 "httpMethod": "POST",
139 "id": "speech.speech.asyncrecognize",
140 "parameterOrder": [],
141 "parameters": {},
142 "path": "v1beta1/speech:asyncrecognize",
143 "request": {
144 "$ref": "AsyncRecognizeRequest"
145 },
146 "response": {
147 "$ref": "Operation"
148 },
149 "scopes": [
150 "https://www.googleapis.com/auth/cloud-platform"
151 ]
152 }
153 }
154 },
155 "operations": { 116 "operations": {
156 "methods": { 117 "methods": {
157 "get": { 118 "get": {
158 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.", 119 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.",
159 "httpMethod": "GET", 120 "httpMethod": "GET",
160 "id": "speech.operations.get", 121 "id": "speech.operations.get",
161 "parameterOrder": [ 122 "parameterOrder": [
162 "name" 123 "name"
163 ], 124 ],
164 "parameters": { 125 "parameters": {
165 "name": { 126 "name": {
166 "description": "The name of the operation resource." , 127 "description": "The name of the operation resource." ,
167 "location": "path", 128 "location": "path",
168 "pattern": "^[^/]*$", 129 "pattern": "^[^/]+$",
169 "required": true, 130 "required": true,
170 "type": "string" 131 "type": "string"
171 } 132 }
172 }, 133 },
173 "path": "v1beta1/operations/{+name}", 134 "path": "v1beta1/operations/{+name}",
174 "response": { 135 "response": {
175 "$ref": "Operation" 136 "$ref": "Operation"
176 }, 137 },
177 "scopes": [ 138 "scopes": [
178 "https://www.googleapis.com/auth/cloud-platform" 139 "https://www.googleapis.com/auth/cloud-platform"
(...skipping 28 matching lines...) Expand all
207 } 168 }
208 }, 169 },
209 "path": "v1beta1/operations", 170 "path": "v1beta1/operations",
210 "response": { 171 "response": {
211 "$ref": "ListOperationsResponse" 172 "$ref": "ListOperationsResponse"
212 }, 173 },
213 "scopes": [ 174 "scopes": [
214 "https://www.googleapis.com/auth/cloud-platform" 175 "https://www.googleapis.com/auth/cloud-platform"
215 ] 176 ]
216 }, 177 },
217 "cancel": { 178 "delete": {
218 "description": "Starts asynchronous cancellation on a long-r unning 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 retur ns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation o r\nother methods to check whether the cancellation succeeded or whether the\nope ration completed despite cancellation.", 179 "description": "Deletes a long-running operation. This metho d 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 r eturns\n`google.rpc.Code.UNIMPLEMENTED`.",
219 "httpMethod": "POST", 180 "httpMethod": "DELETE",
220 "id": "speech.operations.cancel", 181 "id": "speech.operations.delete",
221 "parameterOrder": [ 182 "parameterOrder": [
222 "name" 183 "name"
223 ], 184 ],
224 "parameters": { 185 "parameters": {
225 "name": { 186 "name": {
226 "description": "The name of the operation resource t o be cancelled.", 187 "description": "The name of the operation resource t o be deleted.",
227 "location": "path", 188 "location": "path",
228 "pattern": "^[^/]*$", 189 "pattern": "^[^/]+$",
229 "required": true, 190 "required": true,
230 "type": "string" 191 "type": "string"
231 } 192 }
232 }, 193 },
233 "path": "v1beta1/operations/{+name}:cancel", 194 "path": "v1beta1/operations/{+name}",
234 "request": {
235 "$ref": "CancelOperationRequest"
236 },
237 "response": { 195 "response": {
238 "$ref": "Empty" 196 "$ref": "Empty"
239 }, 197 },
240 "scopes": [ 198 "scopes": [
241 "https://www.googleapis.com/auth/cloud-platform" 199 "https://www.googleapis.com/auth/cloud-platform"
242 ] 200 ]
243 }, 201 },
244 "delete": { 202 "cancel": {
245 "description": "Deletes a long-running operation. This metho d 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 r eturns\n`google.rpc.Code.UNIMPLEMENTED`.", 203 "description": "Starts asynchronous cancellation on a long-r unning 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 retur ns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation o r\nother methods to check whether the cancellation succeeded or whether the\nope ration completed despite cancellation. On successful cancellation,\nthe operatio n is not deleted; instead, it becomes an operation with\nan Operation.error valu e with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.",
246 "httpMethod": "DELETE", 204 "httpMethod": "POST",
247 "id": "speech.operations.delete", 205 "id": "speech.operations.cancel",
248 "parameterOrder": [ 206 "parameterOrder": [
249 "name" 207 "name"
250 ], 208 ],
251 "parameters": { 209 "parameters": {
252 "name": { 210 "name": {
253 "description": "The name of the operation resource t o be deleted.", 211 "description": "The name of the operation resource t o be cancelled.",
254 "location": "path", 212 "location": "path",
255 "pattern": "^[^/]*$", 213 "pattern": "^[^/]+$",
256 "required": true, 214 "required": true,
257 "type": "string" 215 "type": "string"
258 } 216 }
259 }, 217 },
260 "path": "v1beta1/operations/{+name}", 218 "path": "v1beta1/operations/{+name}:cancel",
219 "request": {
220 "$ref": "CancelOperationRequest"
221 },
261 "response": { 222 "response": {
262 "$ref": "Empty" 223 "$ref": "Empty"
263 }, 224 },
264 "scopes": [ 225 "scopes": [
265 "https://www.googleapis.com/auth/cloud-platform" 226 "https://www.googleapis.com/auth/cloud-platform"
266 ] 227 ]
267 } 228 }
268 } 229 }
230 },
231 "speech": {
232 "methods": {
233 "syncrecognize": {
234 "description": "Performs synchronous speech recognition: rec eive results after all audio\nhas been sent and processed.",
235 "httpMethod": "POST",
236 "id": "speech.speech.syncrecognize",
237 "parameterOrder": [],
238 "parameters": {},
239 "path": "v1beta1/speech:syncrecognize",
240 "request": {
241 "$ref": "SyncRecognizeRequest"
242 },
243 "response": {
244 "$ref": "SyncRecognizeResponse"
245 },
246 "scopes": [
247 "https://www.googleapis.com/auth/cloud-platform"
248 ]
249 },
250 "asyncrecognize": {
251 "description": "Performs asynchronous speech recognition: re ceive results via the\ngoogle.longrunning.Operations interface. Returns either a n\n`Operation.error` or an `Operation.response` which contains\nan `AsyncRecogni zeResponse` message.",
252 "httpMethod": "POST",
253 "id": "speech.speech.asyncrecognize",
254 "parameterOrder": [],
255 "parameters": {},
256 "path": "v1beta1/speech:asyncrecognize",
257 "request": {
258 "$ref": "AsyncRecognizeRequest"
259 },
260 "response": {
261 "$ref": "Operation"
262 },
263 "scopes": [
264 "https://www.googleapis.com/auth/cloud-platform"
265 ]
266 }
267 }
269 } 268 }
270 }, 269 },
271 "revision": "20160824", 270 "revision": "20161031",
272 "rootUrl": "https://speech.googleapis.com/", 271 "rootUrl": "https://speech.googleapis.com/",
273 "schemas": { 272 "schemas": {
274 "Status": { 273 "Status": {
275 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.", 274 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.",
276 "id": "Status", 275 "id": "Status",
277 "properties": { 276 "properties": {
278 "code": { 277 "code": {
279 "description": "The status code, which should be an enum val ue of google.rpc.Code.", 278 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
280 "format": "int32", 279 "format": "int32",
281 "type": "integer" 280 "type": "integer"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 } 312 }
314 }, 313 },
315 "type": "object" 314 "type": "object"
316 }, 315 },
317 "Operation": { 316 "Operation": {
318 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.", 317 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
319 "id": "Operation", 318 "id": "Operation",
320 "properties": { 319 "properties": {
321 "error": { 320 "error": {
322 "$ref": "Status", 321 "$ref": "Status",
323 "description": "The error result of the operation in case of failure." 322 "description": "The error result of the operation in case of failure or cancellation."
324 }, 323 },
325 "done": { 324 "done": {
326 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.", 325 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
327 "type": "boolean" 326 "type": "boolean"
328 }, 327 },
329 "metadata": { 328 "metadata": {
330 "additionalProperties": { 329 "additionalProperties": {
331 "description": "Properties of the object. Contains field @type with type URL.", 330 "description": "Properties of the object. Contains field @type with type URL.",
332 "type": "any" 331 "type": "any"
333 }, 332 },
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 "RecognitionConfig": { 373 "RecognitionConfig": {
375 "description": "The `RecognitionConfig` message provides information to the recognizer\nthat specifies how to process the request.", 374 "description": "The `RecognitionConfig` message provides information to the recognizer\nthat specifies how to process the request.",
376 "id": "RecognitionConfig", 375 "id": "RecognitionConfig",
377 "properties": { 376 "properties": {
378 "maxAlternatives": { 377 "maxAlternatives": {
379 "description": "[Optional] Maximum number of recognition hyp otheses to be returned.\nSpecifically, the maximum number of `SpeechRecognitionA lternative` messages\nwithin each `SpeechRecognitionResult`.\nThe server may ret urn fewer than `max_alternatives`.\nValid values are `0`-`30`. A value of `0` or `1` will return a maximum of\n`1`. If omitted, defaults to `1`.", 378 "description": "[Optional] Maximum number of recognition hyp otheses to be returned.\nSpecifically, the maximum number of `SpeechRecognitionA lternative` messages\nwithin each `SpeechRecognitionResult`.\nThe server may ret urn fewer than `max_alternatives`.\nValid values are `0`-`30`. A value of `0` or `1` will return a maximum of\n`1`. If omitted, defaults to `1`.",
380 "format": "int32", 379 "format": "int32",
381 "type": "integer" 380 "type": "integer"
382 }, 381 },
383 "languageCode": { 382 "languageCode": {
384 "description": "[Optional] The language of the supplied audi o as a BCP-47 language tag.\nExample: \"en-GB\" https://www.rfc-editor.org/rfc/ bcp/bcp47.txt\nIf omitted, defaults to \"en-US\". See\n[Language Support](https: //cloud.google.com/speech/docs/best-practices#language_support)\nfor a list of t he currently supported language codes.", 383 "description": "[Optional] The language of the supplied audi o as a BCP-47 language tag.\nExample: \"en-GB\" https://www.rfc-editor.org/rfc/ bcp/bcp47.txt\nIf omitted, defaults to \"en-US\". See\n[Language Support](https: //cloud.google.com/speech/docs/languages)\nfor a list of the currently supported language codes.",
385 "type": "string" 384 "type": "string"
386 }, 385 },
387 "speechContext": { 386 "speechContext": {
388 "$ref": "SpeechContext", 387 "$ref": "SpeechContext",
389 "description": "[Optional] A means to provide context to ass ist the speech recognition." 388 "description": "[Optional] A means to provide context to ass ist the speech recognition."
390 }, 389 },
391 "encoding": { 390 "encoding": {
392 "description": "[Required] Encoding of audio data sent in al l `RecognitionAudio` messages.", 391 "description": "[Required] Encoding of audio data sent in al l `RecognitionAudio` messages.",
393 "enum": [ 392 "enum": [
394 "ENCODING_UNSPECIFIED", 393 "ENCODING_UNSPECIFIED",
395 "LINEAR16", 394 "LINEAR16",
396 "FLAC", 395 "FLAC",
397 "MULAW", 396 "MULAW",
398 "AMR", 397 "AMR",
399 "AMR_WB" 398 "AMR_WB"
400 ], 399 ],
401 "enumDescriptions": [ 400 "enumDescriptions": [
402 "Not specified. Will return result google.rpc.Code.INVAL ID_ARGUMENT.", 401 "Not specified. Will return result google.rpc.Code.INVAL ID_ARGUMENT.",
403 "Uncompressed 16-bit signed little-endian samples.\nThis is the only encoding that may be used by `AsyncRecognize`.", 402 "Uncompressed 16-bit signed little-endian samples (Linea r PCM).\nThis is the only encoding that may be used by `AsyncRecognize`.",
404 "This is the recommended encoding for `SyncRecognize` an d\n`StreamingRecognize` because it uses lossless compression; therefore\nrecogni tion accuracy is not compromised by a lossy codec.\n\nThe stream FLAC (Free Loss less Audio Codec) encoding is specified at:\nhttp://flac.sourceforge.net/documen tation.html.\nOnly 16-bit samples are supported.\nNot all fields in STREAMINFO a re supported.", 403 "This is the recommended encoding for `SyncRecognize` an d\n`StreamingRecognize` because it uses lossless compression; therefore\nrecogni tion accuracy is not compromised by a lossy codec.\n\nThe stream FLAC (Free Loss less Audio Codec) encoding is specified at:\nhttp://flac.sourceforge.net/documen tation.html.\n16-bit and 24-bit samples are supported.\nNot all fields in STREAM INFO are supported.",
405 "8-bit samples that compand 14-bit audio samples using G .711 PCMU/mu-law.", 404 "8-bit samples that compand 14-bit audio samples using G .711 PCMU/mu-law.",
406 "Adaptive Multi-Rate Narrowband codec. `sample_rate` mus t be 8000 Hz.", 405 "Adaptive Multi-Rate Narrowband codec. `sample_rate` mus t be 8000 Hz.",
407 "Adaptive Multi-Rate Wideband codec. `sample_rate` must be 16000 Hz." 406 "Adaptive Multi-Rate Wideband codec. `sample_rate` must be 16000 Hz."
408 ], 407 ],
409 "type": "string" 408 "type": "string"
410 }, 409 },
411 "profanityFilter": { 410 "profanityFilter": {
412 "description": "[Optional] If set to `true`, the server will attempt to filter out\nprofanities, replacing all but the initial character in each filtered word\nwith asterisks, e.g. \"f***\". If set to `false` or omitted, profanities\nwon't be filtered out.", 411 "description": "[Optional] If set to `true`, the server will attempt to filter out\nprofanities, replacing all but the initial character in each filtered word\nwith asterisks, e.g. \"f***\". If set to `false` or omitted, profanities\nwon't be filtered out.",
413 "type": "boolean" 412 "type": "boolean"
414 }, 413 },
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 "operations": { 459 "operations": {
461 "description": "A list of operations that matches the specif ied filter in the request.", 460 "description": "A list of operations that matches the specif ied filter in the request.",
462 "items": { 461 "items": {
463 "$ref": "Operation" 462 "$ref": "Operation"
464 }, 463 },
465 "type": "array" 464 "type": "array"
466 } 465 }
467 }, 466 },
468 "type": "object" 467 "type": "object"
469 }, 468 },
469 "Empty": {
470 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
471 "id": "Empty",
472 "properties": {},
473 "type": "object"
474 },
470 "SyncRecognizeResponse": { 475 "SyncRecognizeResponse": {
471 "description": "`SyncRecognizeResponse` is the only message returned to the client by\n`SyncRecognize`. It contains the result as zero or more seque ntial\n`SpeechRecognitionResult` messages.", 476 "description": "`SyncRecognizeResponse` is the only message returned to the client by\n`SyncRecognize`. It contains the result as zero or more seque ntial\n`SpeechRecognitionResult` messages.",
472 "id": "SyncRecognizeResponse", 477 "id": "SyncRecognizeResponse",
473 "properties": { 478 "properties": {
474 "results": { 479 "results": {
475 "description": "[Output-only] Sequential list of transcripti on results corresponding to\nsequential portions of audio.", 480 "description": "[Output-only] Sequential list of transcripti on results corresponding to\nsequential portions of audio.",
476 "items": { 481 "items": {
477 "$ref": "SpeechRecognitionResult" 482 "$ref": "SpeechRecognitionResult"
478 }, 483 },
479 "type": "array" 484 "type": "array"
480 } 485 }
481 }, 486 },
482 "type": "object" 487 "type": "object"
483 }, 488 },
484 "Empty": {
485 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
486 "id": "Empty",
487 "properties": {},
488 "type": "object"
489 },
490 "SpeechContext": { 489 "SpeechContext": {
491 "description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases\nin the results.", 490 "description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases\nin the results.",
492 "id": "SpeechContext", 491 "id": "SpeechContext",
493 "properties": { 492 "properties": {
494 "phrases": { 493 "phrases": {
495 "description": "[Optional] A list of strings containing word s and phrases \"hints\" so that\nthe speech recognition is more likely to recogn ize them. This can be used\nto improve the accuracy for specific words and phras es, for example, if\nspecific commands are typically spoken by the user. This ca n also be used\nto add additional words to the vocabulary of the recognizer. See \n[usage limits](https://cloud.google.com/speech/limits#content).", 494 "description": "[Optional] A list of strings containing word s and phrases \"hints\" so that\nthe speech recognition is more likely to recogn ize them. This can be used\nto improve the accuracy for specific words and phras es, for example, if\nspecific commands are typically spoken by the user. This ca n also be used\nto add additional words to the vocabulary of the recognizer. See \n[usage limits](https://cloud.google.com/speech/limits#content).",
496 "items": { 495 "items": {
497 "type": "string" 496 "type": "string"
498 }, 497 },
499 "type": "array" 498 "type": "array"
(...skipping 14 matching lines...) Expand all
514 "description": "[Required] The `config` message provides inf ormation to the recognizer\nthat specifies how to process the request." 513 "description": "[Required] The `config` message provides inf ormation to the recognizer\nthat specifies how to process the request."
515 } 514 }
516 }, 515 },
517 "type": "object" 516 "type": "object"
518 } 517 }
519 }, 518 },
520 "servicePath": "", 519 "servicePath": "",
521 "title": "Google Cloud Speech API", 520 "title": "Google Cloud Speech API",
522 "version": "v1beta1" 521 "version": "v1beta1"
523 } 522 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/runtimeconfig__v1beta1.json ('k') | discovery/googleapis_beta/sqladmin__v1beta3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698