OLD | NEW |
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": "Speech", | 14 "canonicalName": "Speech", |
15 "description": "Converts audio to text by applying powerful neural network m
odels.", | 15 "description": "Converts audio to text by applying powerful neural network m
odels.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://cloud.google.com/speech/", | 17 "documentationLink": "https://cloud.google.com/speech/", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "speech:v1", | 22 "id": "speech:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "speech", | 24 "name": "speech", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
| 28 "uploadType": { |
| 29 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 30 "location": "query", |
| 31 "type": "string" |
| 32 }, |
| 33 "fields": { |
| 34 "description": "Selector specifying which fields to include in a par
tial response.", |
| 35 "location": "query", |
| 36 "type": "string" |
| 37 }, |
| 38 "callback": { |
| 39 "description": "JSONP", |
| 40 "location": "query", |
| 41 "type": "string" |
| 42 }, |
| 43 "$.xgafv": { |
| 44 "description": "V1 error format.", |
| 45 "enum": [ |
| 46 "1", |
| 47 "2" |
| 48 ], |
| 49 "enumDescriptions": [ |
| 50 "v1 error format", |
| 51 "v2 error format" |
| 52 ], |
| 53 "location": "query", |
| 54 "type": "string" |
| 55 }, |
28 "alt": { | 56 "alt": { |
29 "default": "json", | 57 "default": "json", |
30 "description": "Data format for response.", | 58 "description": "Data format for response.", |
31 "enum": [ | 59 "enum": [ |
32 "json", | 60 "json", |
33 "media", | 61 "media", |
34 "proto" | 62 "proto" |
35 ], | 63 ], |
36 "enumDescriptions": [ | 64 "enumDescriptions": [ |
37 "Responses with Content-Type of application/json", | 65 "Responses with Content-Type of application/json", |
(...skipping 17 matching lines...) Expand all Loading... |
55 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 83 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
56 "location": "query", | 84 "location": "query", |
57 "type": "string" | 85 "type": "string" |
58 }, | 86 }, |
59 "pp": { | 87 "pp": { |
60 "default": "true", | 88 "default": "true", |
61 "description": "Pretty-print response.", | 89 "description": "Pretty-print response.", |
62 "location": "query", | 90 "location": "query", |
63 "type": "boolean" | 91 "type": "boolean" |
64 }, | 92 }, |
| 93 "oauth_token": { |
| 94 "description": "OAuth 2.0 token for the current user.", |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
65 "bearer_token": { | 98 "bearer_token": { |
66 "description": "OAuth bearer token.", | 99 "description": "OAuth bearer token.", |
67 "location": "query", | 100 "location": "query", |
68 "type": "string" | 101 "type": "string" |
69 }, | 102 }, |
70 "oauth_token": { | |
71 "description": "OAuth 2.0 token for the current user.", | |
72 "location": "query", | |
73 "type": "string" | |
74 }, | |
75 "upload_protocol": { | 103 "upload_protocol": { |
76 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 104 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
77 "location": "query", | 105 "location": "query", |
78 "type": "string" | 106 "type": "string" |
79 }, | 107 }, |
80 "prettyPrint": { | 108 "prettyPrint": { |
81 "default": "true", | 109 "default": "true", |
82 "description": "Returns response with indentations and line breaks."
, | 110 "description": "Returns response with indentations and line breaks."
, |
83 "location": "query", | 111 "location": "query", |
84 "type": "boolean" | 112 "type": "boolean" |
85 }, | |
86 "uploadType": { | |
87 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
88 "location": "query", | |
89 "type": "string" | |
90 }, | |
91 "fields": { | |
92 "description": "Selector specifying which fields to include in a par
tial response.", | |
93 "location": "query", | |
94 "type": "string" | |
95 }, | |
96 "$.xgafv": { | |
97 "description": "V1 error format.", | |
98 "enum": [ | |
99 "1", | |
100 "2" | |
101 ], | |
102 "enumDescriptions": [ | |
103 "v1 error format", | |
104 "v2 error format" | |
105 ], | |
106 "location": "query", | |
107 "type": "string" | |
108 }, | |
109 "callback": { | |
110 "description": "JSONP", | |
111 "location": "query", | |
112 "type": "string" | |
113 } | 113 } |
114 }, | 114 }, |
115 "protocol": "rest", | 115 "protocol": "rest", |
116 "resources": { | 116 "resources": { |
117 "operations": { | 117 "operations": { |
118 "methods": { | 118 "methods": { |
119 "cancel": { | |
120 "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`.", | |
121 "httpMethod": "POST", | |
122 "id": "speech.operations.cancel", | |
123 "parameterOrder": [ | |
124 "name" | |
125 ], | |
126 "parameters": { | |
127 "name": { | |
128 "description": "The name of the operation resource t
o be cancelled.", | |
129 "location": "path", | |
130 "pattern": "^[^/]+$", | |
131 "required": true, | |
132 "type": "string" | |
133 } | |
134 }, | |
135 "path": "v1/operations/{+name}:cancel", | |
136 "request": { | |
137 "$ref": "CancelOperationRequest" | |
138 }, | |
139 "response": { | |
140 "$ref": "Empty" | |
141 }, | |
142 "scopes": [ | |
143 "https://www.googleapis.com/auth/cloud-platform" | |
144 ] | |
145 }, | |
146 "delete": { | |
147 "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`.", | |
148 "httpMethod": "DELETE", | |
149 "id": "speech.operations.delete", | |
150 "parameterOrder": [ | |
151 "name" | |
152 ], | |
153 "parameters": { | |
154 "name": { | |
155 "description": "The name of the operation resource t
o be deleted.", | |
156 "location": "path", | |
157 "pattern": "^[^/]+$", | |
158 "required": true, | |
159 "type": "string" | |
160 } | |
161 }, | |
162 "path": "v1/operations/{+name}", | |
163 "response": { | |
164 "$ref": "Empty" | |
165 }, | |
166 "scopes": [ | |
167 "https://www.googleapis.com/auth/cloud-platform" | |
168 ] | |
169 }, | |
170 "get": { | 119 "get": { |
171 "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.", | 120 "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.", |
172 "httpMethod": "GET", | 121 "httpMethod": "GET", |
173 "id": "speech.operations.get", | 122 "id": "speech.operations.get", |
174 "parameterOrder": [ | 123 "parameterOrder": [ |
175 "name" | 124 "name" |
176 ], | 125 ], |
177 "parameters": { | 126 "parameters": { |
178 "name": { | 127 "name": { |
179 "description": "The name of the operation resource."
, | 128 "description": "The name of the operation resource."
, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 "type": "integer" | 168 "type": "integer" |
220 } | 169 } |
221 }, | 170 }, |
222 "path": "v1/operations", | 171 "path": "v1/operations", |
223 "response": { | 172 "response": { |
224 "$ref": "ListOperationsResponse" | 173 "$ref": "ListOperationsResponse" |
225 }, | 174 }, |
226 "scopes": [ | 175 "scopes": [ |
227 "https://www.googleapis.com/auth/cloud-platform" | 176 "https://www.googleapis.com/auth/cloud-platform" |
228 ] | 177 ] |
| 178 }, |
| 179 "cancel": { |
| 180 "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`.", |
| 181 "httpMethod": "POST", |
| 182 "id": "speech.operations.cancel", |
| 183 "parameterOrder": [ |
| 184 "name" |
| 185 ], |
| 186 "parameters": { |
| 187 "name": { |
| 188 "description": "The name of the operation resource t
o be cancelled.", |
| 189 "location": "path", |
| 190 "pattern": "^[^/]+$", |
| 191 "required": true, |
| 192 "type": "string" |
| 193 } |
| 194 }, |
| 195 "path": "v1/operations/{+name}:cancel", |
| 196 "request": { |
| 197 "$ref": "CancelOperationRequest" |
| 198 }, |
| 199 "response": { |
| 200 "$ref": "Empty" |
| 201 }, |
| 202 "scopes": [ |
| 203 "https://www.googleapis.com/auth/cloud-platform" |
| 204 ] |
| 205 }, |
| 206 "delete": { |
| 207 "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`.", |
| 208 "httpMethod": "DELETE", |
| 209 "id": "speech.operations.delete", |
| 210 "parameterOrder": [ |
| 211 "name" |
| 212 ], |
| 213 "parameters": { |
| 214 "name": { |
| 215 "description": "The name of the operation resource t
o be deleted.", |
| 216 "location": "path", |
| 217 "pattern": "^[^/]+$", |
| 218 "required": true, |
| 219 "type": "string" |
| 220 } |
| 221 }, |
| 222 "path": "v1/operations/{+name}", |
| 223 "response": { |
| 224 "$ref": "Empty" |
| 225 }, |
| 226 "scopes": [ |
| 227 "https://www.googleapis.com/auth/cloud-platform" |
| 228 ] |
229 } | 229 } |
230 } | 230 } |
231 }, | 231 }, |
232 "speech": { | 232 "speech": { |
233 "methods": { | 233 "methods": { |
234 "longrunningrecognize": { | 234 "longrunningrecognize": { |
235 "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\na `LongRunningRe
cognizeResponse` message.", | 235 "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\na `LongRunningRe
cognizeResponse` message.", |
236 "httpMethod": "POST", | 236 "httpMethod": "POST", |
237 "id": "speech.speech.longrunningrecognize", | 237 "id": "speech.speech.longrunningrecognize", |
238 "parameterOrder": [], | 238 "parameterOrder": [], |
(...skipping 22 matching lines...) Expand all Loading... |
261 "response": { | 261 "response": { |
262 "$ref": "RecognizeResponse" | 262 "$ref": "RecognizeResponse" |
263 }, | 263 }, |
264 "scopes": [ | 264 "scopes": [ |
265 "https://www.googleapis.com/auth/cloud-platform" | 265 "https://www.googleapis.com/auth/cloud-platform" |
266 ] | 266 ] |
267 } | 267 } |
268 } | 268 } |
269 } | 269 } |
270 }, | 270 }, |
271 "revision": "20170728", | 271 "revision": "20170814", |
272 "rootUrl": "https://speech.googleapis.com/", | 272 "rootUrl": "https://speech.googleapis.com/", |
273 "schemas": { | 273 "schemas": { |
| 274 "RecognitionAudio": { |
| 275 "description": "Contains audio data in the encoding specified in the
`RecognitionConfig`.\nEither `content` or `uri` must be supplied. Supplying bot
h or neither\nreturns google.rpc.Code.INVALID_ARGUMENT. See\n[audio limits](http
s://cloud.google.com/speech/limits#content).", |
| 276 "id": "RecognitionAudio", |
| 277 "properties": { |
| 278 "content": { |
| 279 "description": "The audio data bytes encoded as specified in
\n`RecognitionConfig`. Note: as with all bytes fields, protobuffers use a\npure
binary representation, whereas JSON representations use base64.", |
| 280 "format": "byte", |
| 281 "type": "string" |
| 282 }, |
| 283 "uri": { |
| 284 "description": "URI that points to a file that contains audi
o data bytes as specified in\n`RecognitionConfig`. Currently, only Google Cloud
Storage URIs are\nsupported, which must be specified in the following format:\n`
gs://bucket_name/object_name` (other URI formats return\ngoogle.rpc.Code.INVALID
_ARGUMENT). For more information, see\n[Request URIs](https://cloud.google.com/s
torage/docs/reference-uris).", |
| 285 "type": "string" |
| 286 } |
| 287 }, |
| 288 "type": "object" |
| 289 }, |
| 290 "LongRunningRecognizeRequest": { |
| 291 "description": "The top-level message sent by the client for the `Lo
ngRunningRecognize`\nmethod.", |
| 292 "id": "LongRunningRecognizeRequest", |
| 293 "properties": { |
| 294 "audio": { |
| 295 "$ref": "RecognitionAudio", |
| 296 "description": "*Required* The audio data to be recognized." |
| 297 }, |
| 298 "config": { |
| 299 "$ref": "RecognitionConfig", |
| 300 "description": "*Required* Provides information to the recog
nizer that specifies how to\nprocess the request." |
| 301 } |
| 302 }, |
| 303 "type": "object" |
| 304 }, |
| 305 "RecognizeResponse": { |
| 306 "description": "The only message returned to the client by the `Reco
gnize` method. It\ncontains the result as zero or more sequential `SpeechRecogni
tionResult`\nmessages.", |
| 307 "id": "RecognizeResponse", |
| 308 "properties": { |
| 309 "results": { |
| 310 "description": "*Output-only* Sequential list of transcripti
on results corresponding to\nsequential portions of audio.", |
| 311 "items": { |
| 312 "$ref": "SpeechRecognitionResult" |
| 313 }, |
| 314 "type": "array" |
| 315 } |
| 316 }, |
| 317 "type": "object" |
| 318 }, |
| 319 "CancelOperationRequest": { |
| 320 "description": "The request message for Operations.CancelOperation."
, |
| 321 "id": "CancelOperationRequest", |
| 322 "properties": {}, |
| 323 "type": "object" |
| 324 }, |
274 "Operation": { | 325 "Operation": { |
275 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 326 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
276 "id": "Operation", | 327 "id": "Operation", |
277 "properties": { | 328 "properties": { |
278 "response": { | |
279 "additionalProperties": { | |
280 "description": "Properties of the object. Contains field
@type with type URL.", | |
281 "type": "any" | |
282 }, | |
283 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", | |
284 "type": "object" | |
285 }, | |
286 "name": { | |
287 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", | |
288 "type": "string" | |
289 }, | |
290 "error": { | 329 "error": { |
291 "$ref": "Status", | 330 "$ref": "Status", |
292 "description": "The error result of the operation in case of
failure or cancellation." | 331 "description": "The error result of the operation in case of
failure or cancellation." |
293 }, | 332 }, |
294 "metadata": { | 333 "metadata": { |
295 "additionalProperties": { | 334 "additionalProperties": { |
296 "description": "Properties of the object. Contains field
@type with type URL.", | 335 "description": "Properties of the object. Contains field
@type with type URL.", |
297 "type": "any" | 336 "type": "any" |
298 }, | 337 }, |
299 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", | 338 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", |
300 "type": "object" | 339 "type": "object" |
301 }, | 340 }, |
302 "done": { | 341 "done": { |
303 "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.", | 342 "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.", |
304 "type": "boolean" | 343 "type": "boolean" |
| 344 }, |
| 345 "response": { |
| 346 "additionalProperties": { |
| 347 "description": "Properties of the object. Contains field
@type with type URL.", |
| 348 "type": "any" |
| 349 }, |
| 350 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", |
| 351 "type": "object" |
| 352 }, |
| 353 "name": { |
| 354 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", |
| 355 "type": "string" |
305 } | 356 } |
306 }, | 357 }, |
307 "type": "object" | 358 "type": "object" |
308 }, | 359 }, |
309 "RecognitionConfig": { | 360 "RecognitionConfig": { |
310 "description": "Provides information to the recognizer that specifie
s how to process the\nrequest.", | 361 "description": "Provides information to the recognizer that specifie
s how to process the\nrequest.", |
311 "id": "RecognitionConfig", | 362 "id": "RecognitionConfig", |
312 "properties": { | 363 "properties": { |
| 364 "sampleRateHertz": { |
| 365 "description": "*Required* Sample rate in Hertz of the audio
data sent in all\n`RecognitionAudio` messages. Valid values are: 8000-48000.\n1
6000 is optimal. For best results, set the sampling rate of the audio\nsource to
16000 Hz. If that's not possible, use the native sample rate of\nthe audio sour
ce (instead of re-sampling).", |
| 366 "format": "int32", |
| 367 "type": "integer" |
| 368 }, |
313 "enableWordTimeOffsets": { | 369 "enableWordTimeOffsets": { |
314 "description": "*Optional* If `true`, a list of `words` are
returned in the top result,\ncontaining the start and end timestamps for those w
ords. The default value,\n'false' does not return any word-level timing informat
ion.", | 370 "description": "*Optional* If `true`, the top result include
s a list of words and\nthe start and end time offsets (timestamps) for those wor
ds. If\n`false`, no word-level time offset information is returned. The default
is\n`false`.", |
315 "type": "boolean" | 371 "type": "boolean" |
316 }, | 372 }, |
317 "maxAlternatives": { | 373 "maxAlternatives": { |
318 "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\none. If omitted, will return a maximum of one.", | 374 "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\none. If omitted, will return a maximum of one.", |
319 "format": "int32", | 375 "format": "int32", |
320 "type": "integer" | 376 "type": "integer" |
321 }, | 377 }, |
322 "languageCode": { | 378 "languageCode": { |
323 "description": "*Required* The language of the supplied audi
o as a\n[BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.\nEx
ample: \"en-US\".\nSee [Language Support](https://cloud.google.com/speech/docs/l
anguages)\nfor a list of the currently supported language codes.", | 379 "description": "*Required* The language of the supplied audi
o as a\n[BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.\nEx
ample: \"en-US\".\nSee [Language Support](https://cloud.google.com/speech/docs/l
anguages)\nfor a list of the currently supported language codes.", |
324 "type": "string" | 380 "type": "string" |
325 }, | 381 }, |
| 382 "profanityFilter": { |
| 383 "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.", |
| 384 "type": "boolean" |
| 385 }, |
326 "speechContexts": { | 386 "speechContexts": { |
327 "description": "*Optional* A means to provide context to ass
ist the speech recognition.", | 387 "description": "*Optional* A means to provide context to ass
ist the speech recognition.", |
328 "items": { | 388 "items": { |
329 "$ref": "SpeechContext" | 389 "$ref": "SpeechContext" |
330 }, | 390 }, |
331 "type": "array" | 391 "type": "array" |
332 }, | 392 }, |
333 "profanityFilter": { | |
334 "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.", | |
335 "type": "boolean" | |
336 }, | |
337 "encoding": { | 393 "encoding": { |
338 "description": "*Required* Encoding of audio data sent in al
l `RecognitionAudio` messages.", | 394 "description": "*Required* Encoding of audio data sent in al
l `RecognitionAudio` messages.", |
339 "enum": [ | 395 "enum": [ |
340 "ENCODING_UNSPECIFIED", | 396 "ENCODING_UNSPECIFIED", |
341 "LINEAR16", | 397 "LINEAR16", |
342 "FLAC", | 398 "FLAC", |
343 "MULAW", | 399 "MULAW", |
344 "AMR", | 400 "AMR", |
345 "AMR_WB", | 401 "AMR_WB", |
346 "OGG_OPUS", | 402 "OGG_OPUS", |
347 "SPEEX_WITH_HEADER_BYTE" | 403 "SPEEX_WITH_HEADER_BYTE" |
348 ], | 404 ], |
349 "enumDescriptions": [ | 405 "enumDescriptions": [ |
350 "Not specified. Will return result google.rpc.Code.INVAL
ID_ARGUMENT.", | 406 "Not specified. Will return result google.rpc.Code.INVAL
ID_ARGUMENT.", |
351 "Uncompressed 16-bit signed little-endian samples (Linea
r PCM).", | 407 "Uncompressed 16-bit signed little-endian samples (Linea
r PCM).", |
352 "[`FLAC`](https://xiph.org/flac/documentation.html) (Fre
e Lossless Audio\nCodec) is the recommended encoding because it is\nlossless--th
erefore recognition is not compromised--and\nrequires only about half the bandwi
dth of `LINEAR16`. `FLAC` stream\nencoding supports 16-bit and 24-bit samples, h
owever, not all fields in\n`STREAMINFO` are supported.", | 408 "[`FLAC`](https://xiph.org/flac/documentation.html) (Fre
e Lossless Audio\nCodec) is the recommended encoding because it is\nlossless--th
erefore recognition is not compromised--and\nrequires only about half the bandwi
dth of `LINEAR16`. `FLAC` stream\nencoding supports 16-bit and 24-bit samples, h
owever, not all fields in\n`STREAMINFO` are supported.", |
353 "8-bit samples that compand 14-bit audio samples using G
.711 PCMU/mu-law.", | 409 "8-bit samples that compand 14-bit audio samples using G
.711 PCMU/mu-law.", |
354 "Adaptive Multi-Rate Narrowband codec. `sample_rate_hert
z` must be 8000.", | 410 "Adaptive Multi-Rate Narrowband codec. `sample_rate_hert
z` must be 8000.", |
355 "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz`
must be 16000.", | 411 "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz`
must be 16000.", |
356 "Opus encoded audio frames in Ogg container\n([OggOpus](
https://wiki.xiph.org/OggOpus)).\n`sample_rate_hertz` must be 16000.", | 412 "Opus encoded audio frames in Ogg container\n([OggOpus](
https://wiki.xiph.org/OggOpus)).\n`sample_rate_hertz` must be 16000.", |
357 "Although the use of lossy encodings is not recommended,
if a very low\nbitrate encoding is required, `OGG_OPUS` is highly preferred ove
r\nSpeex encoding. The [Speex](https://speex.org/) encoding supported by\nCloud
Speech API has a header byte in each block, as in MIME type\n`audio/x-speex-wit
h-header-byte`.\nIt is a variant of the RTP Speex encoding defined in\n[RFC 5574
](https://tools.ietf.org/html/rfc5574).\nThe stream is a sequence of blocks, one
block per RTP packet. Each block\nstarts with a byte containing the length of t
he block, in bytes, followed\nby one or more frames of Speex data, padded to an
integral number of\nbytes (octets) as specified in RFC 5574. In other words, eac
h RTP header\nis replaced with a single byte containing the block length. Only S
peex\nwideband is supported. `sample_rate_hertz` must be 16000." | 413 "Although the use of lossy encodings is not recommended,
if a very low\nbitrate encoding is required, `OGG_OPUS` is highly preferred ove
r\nSpeex encoding. The [Speex](https://speex.org/) encoding supported by\nCloud
Speech API has a header byte in each block, as in MIME type\n`audio/x-speex-wit
h-header-byte`.\nIt is a variant of the RTP Speex encoding defined in\n[RFC 5574
](https://tools.ietf.org/html/rfc5574).\nThe stream is a sequence of blocks, one
block per RTP packet. Each block\nstarts with a byte containing the length of t
he block, in bytes, followed\nby one or more frames of Speex data, padded to an
integral number of\nbytes (octets) as specified in RFC 5574. In other words, eac
h RTP header\nis replaced with a single byte containing the block length. Only S
peex\nwideband is supported. `sample_rate_hertz` must be 16000." |
358 ], | 414 ], |
359 "type": "string" | 415 "type": "string" |
360 }, | |
361 "sampleRateHertz": { | |
362 "description": "*Required* Sample rate in Hertz of the audio
data sent in all\n`RecognitionAudio` messages. Valid values are: 8000-48000.\n1
6000 is optimal. For best results, set the sampling rate of the audio\nsource to
16000 Hz. If that's not possible, use the native sample rate of\nthe audio sour
ce (instead of re-sampling).", | |
363 "format": "int32", | |
364 "type": "integer" | |
365 } | 416 } |
366 }, | 417 }, |
367 "type": "object" | 418 "type": "object" |
368 }, | 419 }, |
369 "WordInfo": { | 420 "WordInfo": { |
370 "description": "Word-specific information detected along with speech
recognition when certain\nrequest parameters are set.", | 421 "description": "Word-specific information for recognized words. Word
information is only\nincluded in the response when certain request parameters a
re set, such\nas `enable_word_time_offsets`.", |
371 "id": "WordInfo", | 422 "id": "WordInfo", |
372 "properties": { | 423 "properties": { |
373 "startTime": { | |
374 "description": "*Output-only* Time offset relative to the be
ginning of the audio,\nand corresponding to the start of the spoken word.\nThis
field is only set if `enable_word_time_offsets=true` and only\nin the top hypoth
esis.\nThis is an experimental feature and the accuracy of the time offset can\n
vary.", | |
375 "format": "google-duration", | |
376 "type": "string" | |
377 }, | |
378 "word": { | 424 "word": { |
379 "description": "*Output-only* The word corresponding to this
set of information.", | 425 "description": "*Output-only* The word corresponding to this
set of information.", |
380 "type": "string" | 426 "type": "string" |
381 }, | 427 }, |
382 "endTime": { | 428 "endTime": { |
383 "description": "*Output-only* Time offset relative to the be
ginning of the audio,\nand corresponding to the end of the spoken word.\nThis fi
eld is only set if `enable_word_time_offsets=true` and only\nin the top hypothes
is.\nThis is an experimental feature and the accuracy of the time offset can\nva
ry.", | 429 "description": "*Output-only* Time offset relative to the be
ginning of the audio,\nand corresponding to the end of the spoken word.\nThis fi
eld is only set if `enable_word_time_offsets=true` and only\nin the top hypothes
is.\nThis is an experimental feature and the accuracy of the time offset can\nva
ry.", |
384 "format": "google-duration", | 430 "format": "google-duration", |
385 "type": "string" | 431 "type": "string" |
| 432 }, |
| 433 "startTime": { |
| 434 "description": "*Output-only* Time offset relative to the be
ginning of the audio,\nand corresponding to the start of the spoken word.\nThis
field is only set if `enable_word_time_offsets=true` and only\nin the top hypoth
esis.\nThis is an experimental feature and the accuracy of the time offset can\n
vary.", |
| 435 "format": "google-duration", |
| 436 "type": "string" |
386 } | 437 } |
387 }, | 438 }, |
388 "type": "object" | 439 "type": "object" |
389 }, | 440 }, |
390 "Status": { | 441 "Status": { |
391 "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` that can be used for common error conditions.\n\n# Lang
uage 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` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\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\nenvironm
ents, either with or without APIs, to provide a\nconsistent developer experience
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 m
ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a
client uses batch request and batch response, the\n `Status` message should
be used directly inside batch response, one for\n each error sub-response.\n\
n- Asynchronous operations. If an API call embeds asynchronous operation\n re
sults in its response, the status of those operations should be\n represented
directly using the `Status` message.\n\n- Logging. If some API errors are store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", | 442 "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` that can be used for common error conditions.\n\n# Lang
uage 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` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\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\nenvironm
ents, either with or without APIs, to provide a\nconsistent developer experience
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 m
ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a
client uses batch request and batch response, the\n `Status` message should
be used directly inside batch response, one for\n each error sub-response.\n\
n- Asynchronous operations. If an API call embeds asynchronous operation\n re
sults in its response, the status of those operations should be\n represented
directly using the `Status` message.\n\n- Logging. If some API errors are store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", |
392 "id": "Status", | 443 "id": "Status", |
393 "properties": { | 444 "properties": { |
| 445 "code": { |
| 446 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 447 "format": "int32", |
| 448 "type": "integer" |
| 449 }, |
| 450 "message": { |
| 451 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", |
| 452 "type": "string" |
| 453 }, |
394 "details": { | 454 "details": { |
395 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", | 455 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", |
396 "items": { | 456 "items": { |
397 "additionalProperties": { | 457 "additionalProperties": { |
398 "description": "Properties of the object. Contains f
ield @type with type URL.", | 458 "description": "Properties of the object. Contains f
ield @type with type URL.", |
399 "type": "any" | 459 "type": "any" |
400 }, | 460 }, |
401 "type": "object" | 461 "type": "object" |
402 }, | 462 }, |
403 "type": "array" | 463 "type": "array" |
404 }, | |
405 "code": { | |
406 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
407 "format": "int32", | |
408 "type": "integer" | |
409 }, | |
410 "message": { | |
411 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", | |
412 "type": "string" | |
413 } | 464 } |
414 }, | 465 }, |
415 "type": "object" | 466 "type": "object" |
416 }, | 467 }, |
417 "Empty": { | 468 "Empty": { |
418 "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 `{}`.", | 469 "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 `{}`.", |
419 "id": "Empty", | 470 "id": "Empty", |
420 "properties": {}, | 471 "properties": {}, |
421 "type": "object" | 472 "type": "object" |
422 }, | 473 }, |
423 "RecognizeRequest": { | 474 "RecognizeRequest": { |
424 "description": "The top-level message sent by the client for the `Re
cognize` method.", | 475 "description": "The top-level message sent by the client for the `Re
cognize` method.", |
425 "id": "RecognizeRequest", | 476 "id": "RecognizeRequest", |
426 "properties": { | 477 "properties": { |
427 "audio": { | 478 "audio": { |
428 "$ref": "RecognitionAudio", | 479 "$ref": "RecognitionAudio", |
429 "description": "*Required* The audio data to be recognized." | 480 "description": "*Required* The audio data to be recognized." |
430 }, | 481 }, |
431 "config": { | 482 "config": { |
432 "$ref": "RecognitionConfig", | 483 "$ref": "RecognitionConfig", |
433 "description": "*Required* Provides information to the recog
nizer that specifies how to\nprocess the request." | 484 "description": "*Required* Provides information to the recog
nizer that specifies how to\nprocess the request." |
434 } | 485 } |
435 }, | 486 }, |
436 "type": "object" | 487 "type": "object" |
437 }, | 488 }, |
438 "SpeechRecognitionAlternative": { | 489 "SpeechContext": { |
439 "description": "Alternative hypotheses (a.k.a. n-best list).", | 490 "description": "Provides \"hints\" to the speech recognizer to favor
specific words and phrases\nin the results.", |
440 "id": "SpeechRecognitionAlternative", | 491 "id": "SpeechContext", |
441 "properties": { | 492 "properties": { |
442 "confidence": { | 493 "phrases": { |
443 "description": "*Output-only* The confidence estimate betwee
n 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that t
he recognized words are\ncorrect. This field is typically provided only for the
top hypothesis, and\nonly for `is_final=true` results. Clients should not rely o
n the\n`confidence` field as it is not guaranteed to be accurate or consistent.\
nThe default of 0.0 is a sentinel value indicating `confidence` was not set.", | 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).", |
444 "format": "float", | |
445 "type": "number" | |
446 }, | |
447 "words": { | |
448 "description": "*Output-only* List of word-specific informat
ion for each recognized word.", | |
449 "items": { | 495 "items": { |
450 "$ref": "WordInfo" | 496 "type": "string" |
451 }, | 497 }, |
452 "type": "array" | 498 "type": "array" |
453 }, | |
454 "transcript": { | |
455 "description": "*Output-only* Transcript text representing t
he words that the user spoke.", | |
456 "type": "string" | |
457 } | 499 } |
458 }, | 500 }, |
459 "type": "object" | 501 "type": "object" |
460 }, | 502 }, |
461 "ListOperationsResponse": { | 503 "ListOperationsResponse": { |
462 "description": "The response message for Operations.ListOperations."
, | 504 "description": "The response message for Operations.ListOperations."
, |
463 "id": "ListOperationsResponse", | 505 "id": "ListOperationsResponse", |
464 "properties": { | 506 "properties": { |
465 "nextPageToken": { | 507 "nextPageToken": { |
466 "description": "The standard List next-page token.", | 508 "description": "The standard List next-page token.", |
467 "type": "string" | 509 "type": "string" |
468 }, | 510 }, |
469 "operations": { | 511 "operations": { |
470 "description": "A list of operations that matches the specif
ied filter in the request.", | 512 "description": "A list of operations that matches the specif
ied filter in the request.", |
471 "items": { | 513 "items": { |
472 "$ref": "Operation" | 514 "$ref": "Operation" |
473 }, | 515 }, |
474 "type": "array" | 516 "type": "array" |
475 } | 517 } |
476 }, | 518 }, |
477 "type": "object" | 519 "type": "object" |
478 }, | 520 }, |
479 "SpeechContext": { | 521 "SpeechRecognitionAlternative": { |
480 "description": "Provides \"hints\" to the speech recognizer to favor
specific words and phrases\nin the results.", | 522 "description": "Alternative hypotheses (a.k.a. n-best list).", |
481 "id": "SpeechContext", | 523 "id": "SpeechRecognitionAlternative", |
482 "properties": { | 524 "properties": { |
483 "phrases": { | 525 "confidence": { |
484 "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).", | 526 "description": "*Output-only* The confidence estimate betwee
n 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that t
he recognized words are\ncorrect. This field is typically provided only for the
top hypothesis, and\nonly for `is_final=true` results. Clients should not rely o
n the\n`confidence` field as it is not guaranteed to be accurate or consistent.\
nThe default of 0.0 is a sentinel value indicating `confidence` was not set.", |
| 527 "format": "float", |
| 528 "type": "number" |
| 529 }, |
| 530 "words": { |
| 531 "description": "*Output-only* A list of word-specific inform
ation for each recognized word.", |
485 "items": { | 532 "items": { |
486 "type": "string" | 533 "$ref": "WordInfo" |
487 }, | 534 }, |
488 "type": "array" | 535 "type": "array" |
| 536 }, |
| 537 "transcript": { |
| 538 "description": "*Output-only* Transcript text representing t
he words that the user spoke.", |
| 539 "type": "string" |
489 } | 540 } |
490 }, | 541 }, |
491 "type": "object" | 542 "type": "object" |
492 }, | 543 }, |
493 "SpeechRecognitionResult": { | 544 "SpeechRecognitionResult": { |
494 "description": "A speech recognition result corresponding to a porti
on of the audio.", | 545 "description": "A speech recognition result corresponding to a porti
on of the audio.", |
495 "id": "SpeechRecognitionResult", | 546 "id": "SpeechRecognitionResult", |
496 "properties": { | 547 "properties": { |
497 "alternatives": { | 548 "alternatives": { |
498 "description": "*Output-only* May contain one or more recogn
ition hypotheses (up to the\nmaximum specified in `max_alternatives`).\nThese al
ternatives are ordered in terms of accuracy, with the first/top\nalternative bei
ng the most probable, as ranked by the recognizer.", | 549 "description": "*Output-only* May contain one or more recogn
ition hypotheses (up to the\nmaximum specified in `max_alternatives`).\nThese al
ternatives are ordered in terms of accuracy, with the top (first)\nalternative b
eing the most probable, as ranked by the recognizer.", |
499 "items": { | 550 "items": { |
500 "$ref": "SpeechRecognitionAlternative" | 551 "$ref": "SpeechRecognitionAlternative" |
501 }, | 552 }, |
502 "type": "array" | 553 "type": "array" |
503 } | 554 } |
504 }, | 555 }, |
505 "type": "object" | 556 "type": "object" |
506 }, | |
507 "RecognitionAudio": { | |
508 "description": "Contains audio data in the encoding specified in the
`RecognitionConfig`.\nEither `content` or `uri` must be supplied. Supplying bot
h or neither\nreturns google.rpc.Code.INVALID_ARGUMENT. See\n[audio limits](http
s://cloud.google.com/speech/limits#content).", | |
509 "id": "RecognitionAudio", | |
510 "properties": { | |
511 "content": { | |
512 "description": "The audio data bytes encoded as specified in
\n`RecognitionConfig`. Note: as with all bytes fields, protobuffers use a\npure
binary representation, whereas JSON representations use base64.", | |
513 "format": "byte", | |
514 "type": "string" | |
515 }, | |
516 "uri": { | |
517 "description": "URI that points to a file that contains audi
o data bytes as specified in\n`RecognitionConfig`. Currently, only Google Cloud
Storage URIs are\nsupported, which must be specified in the following format:\n`
gs://bucket_name/object_name` (other URI formats return\ngoogle.rpc.Code.INVALID
_ARGUMENT). For more information, see\n[Request URIs](https://cloud.google.com/s
torage/docs/reference-uris).", | |
518 "type": "string" | |
519 } | |
520 }, | |
521 "type": "object" | |
522 }, | |
523 "LongRunningRecognizeRequest": { | |
524 "description": "The top-level message sent by the client for the `Lo
ngRunningRecognize`\nmethod.", | |
525 "id": "LongRunningRecognizeRequest", | |
526 "properties": { | |
527 "audio": { | |
528 "$ref": "RecognitionAudio", | |
529 "description": "*Required* The audio data to be recognized." | |
530 }, | |
531 "config": { | |
532 "$ref": "RecognitionConfig", | |
533 "description": "*Required* Provides information to the recog
nizer that specifies how to\nprocess the request." | |
534 } | |
535 }, | |
536 "type": "object" | |
537 }, | |
538 "RecognizeResponse": { | |
539 "description": "The only message returned to the client by the `Reco
gnize` method. It\ncontains the result as zero or more sequential `SpeechRecogni
tionResult`\nmessages.", | |
540 "id": "RecognizeResponse", | |
541 "properties": { | |
542 "results": { | |
543 "description": "*Output-only* Sequential list of transcripti
on results corresponding to\nsequential portions of audio.", | |
544 "items": { | |
545 "$ref": "SpeechRecognitionResult" | |
546 }, | |
547 "type": "array" | |
548 } | |
549 }, | |
550 "type": "object" | |
551 }, | |
552 "CancelOperationRequest": { | |
553 "description": "The request message for Operations.CancelOperation."
, | |
554 "id": "CancelOperationRequest", | |
555 "properties": {}, | |
556 "type": "object" | |
557 } | 557 } |
558 }, | 558 }, |
559 "servicePath": "", | 559 "servicePath": "", |
560 "title": "Google Cloud Speech API", | 560 "title": "Google Cloud Speech API", |
561 "version": "v1" | 561 "version": "v1" |
562 } | 562 } |
OLD | NEW |