Stay organized with collectionsSave and categorize content based on your preferences.
For details on supportedgoogle.longrunningmethods, see theRPCandRESTdocumentation.
ListOperations
To return V2 operations:
The RPCOperations.ListOperationsmethodmust be called with thenamefield set toprojects/<project>/locations/<speech location>, with bracketed terms
indicating variable text.
Thefilterfield must be set tois_v2(name)(literally, including
parentheses).
Operation ID
All Speech-to-Text V2 operations have aunique_idin thenamefieldthat starts withv2-. This makes it easy to discern between Speech-to-Text
V2 and V1 operations.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 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."]]