Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
Para obtener más información sobre los métodos google.longrunning admitidos, consulta la documentación de RPC y REST.
ListOperations
Para devolver operaciones de la versión 2, sigue estos pasos:
Se debe llamar al RPC Operations.ListOperationsmethod
con el campo name definido como
projects/<project>/locations/<speech location>, con los términos entre corchetes
que indican texto variable.
El campo filter debe tener el valor is_v2(name) (literalmente, incluidos los paréntesis).
ID de operación
Todas las operaciones de Speech-to-Text V2 tienen un unique_id en el namecampo
que empieza por v2-. De esta forma, es fácil distinguir entre las operaciones de Speech-to-Text V2 y V1.
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-11 (UTC)."],[],[],null,["# Operations\n\nFor details on supported `google.longrunning` methods, see the\n[RPC](https://cloud.google.com/speech-to-text/v2/docs/reference/rpc/google.longrunning)\nand\n[REST](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.operations)\ndocumentation.\n\nListOperations\n--------------\n\nTo return V2 operations:\n\n- The RPC `Operations.ListOperations`\n [method](https://cloud.google.com/speech-to-text/v2/docs/reference/rpc/google.longrunning#google.longrunning.ListOperationsRequest)\n must be called with the `name` field set to\n `projects/\u003cproject\u003e/locations/\u003cspeech location\u003e`, with bracketed terms\n indicating variable text.\n\n- The `filter` field must be set to `is_v2(name)` (literally, including\n parentheses).\n\nOperation ID\n------------\n\nAll Speech-to-Text V2 operations have a `unique_id` in the `name`\n[field](https://cloud.google.com/speech-to-text/v2/docs/reference/rpc/google.longrunning#operation)\nthat starts with `v2-`. This makes it easy to discern between Speech-to-Text\nV2 and V1 operations."]]