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 }, |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 "$ref": "SyncRecognizeRequest" | 241 "$ref": "SyncRecognizeRequest" |
242 }, | 242 }, |
243 "response": { | 243 "response": { |
244 "$ref": "SyncRecognizeResponse" | 244 "$ref": "SyncRecognizeResponse" |
245 }, | 245 }, |
246 "scopes": [ | 246 "scopes": [ |
247 "https://www.googleapis.com/auth/cloud-platform" | 247 "https://www.googleapis.com/auth/cloud-platform" |
248 ] | 248 ] |
249 }, | 249 }, |
250 "asyncrecognize": { | 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.", | 251 "description": "Performs asynchronous speech recognition: re
ceive results via the\n[google.longrunning.Operations]\n(/speech/reference/rest/
v1beta1/operations#Operation)\ninterface. Returns either an\n`Operation.error` o
r an `Operation.response` which contains\nan `AsyncRecognizeResponse` message.", |
252 "httpMethod": "POST", | 252 "httpMethod": "POST", |
253 "id": "speech.speech.asyncrecognize", | 253 "id": "speech.speech.asyncrecognize", |
254 "parameterOrder": [], | 254 "parameterOrder": [], |
255 "parameters": {}, | 255 "parameters": {}, |
256 "path": "v1beta1/speech:asyncrecognize", | 256 "path": "v1beta1/speech:asyncrecognize", |
257 "request": { | 257 "request": { |
258 "$ref": "AsyncRecognizeRequest" | 258 "$ref": "AsyncRecognizeRequest" |
259 }, | 259 }, |
260 "response": { | 260 "response": { |
261 "$ref": "Operation" | 261 "$ref": "Operation" |
262 }, | 262 }, |
263 "scopes": [ | 263 "scopes": [ |
264 "https://www.googleapis.com/auth/cloud-platform" | 264 "https://www.googleapis.com/auth/cloud-platform" |
265 ] | 265 ] |
266 } | 266 } |
267 } | 267 } |
268 } | 268 } |
269 }, | 269 }, |
270 "revision": "20161031", | 270 "revision": "20161206", |
271 "rootUrl": "https://speech.googleapis.com/", | 271 "rootUrl": "https://speech.googleapis.com/", |
272 "schemas": { | 272 "schemas": { |
273 "Status": { | 273 "Status": { |
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.", | 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.", |
275 "id": "Status", | 275 "id": "Status", |
276 "properties": { | 276 "properties": { |
277 "code": { | 277 "code": { |
278 "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.", |
279 "format": "int32", | 279 "format": "int32", |
280 "type": "integer" | 280 "type": "integer" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 "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." |
514 } | 514 } |
515 }, | 515 }, |
516 "type": "object" | 516 "type": "object" |
517 } | 517 } |
518 }, | 518 }, |
519 "servicePath": "", | 519 "servicePath": "", |
520 "title": "Google Cloud Speech API", | 520 "title": "Google Cloud Speech API", |
521 "version": "v1beta1" | 521 "version": "v1beta1" |
522 } | 522 } |
OLD | NEW |