Il Operations.ListOperationsmetodo RPC deve essere chiamato con il campo name impostato su
projects/<project>/locations/<speech location>, con i termini tra parentesi che indicano il testo variabile.
Il campo filter deve essere impostato su is_v2(name) (ovvero, incluse le parentesi).
ID operazione
Tutte le operazioni di Speech-to-Text V2 hanno un unique_id nel namecampo
che inizia con v2-. In questo modo è facile distinguere tra le operazioni di Speech-to-Text v2 e v1.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-09 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."]]