Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Untuk detail tentang metode google.longrunning yang didukung, lihat
dokumentasi
RPC
dan
REST.
ListOperations
Untuk menampilkan operasi V2:
Metode RPC Operations.ListOperations RPC harus dipanggil dengan kolom name yang ditetapkan ke projects/<project>/locations/<speech location>, dengan istilah dalam tanda kurung yang menunjukkan teks variabel.
Kolom filter harus ditetapkan ke is_v2(name) (secara harfiah, termasuk
tanda kurung).
ID Operasi
Semua operasi Speech-to-Text V2 memiliki unique_id di kolomname yang diawali dengan v2-. Hal ini memudahkan untuk membedakan antara operasi Speech-to-Text
V2 dan V1.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-18 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."]]