WaitOperationRequest
Pesan permintaan untuk Operations.WaitOperation
.
Representasi JSON |
{
"name": string,
"timeout": string
} |
Kolom |
name |
string
Nama resource operasi untuk ditunggu.
|
timeout |
string (Duration format)
Durasi maksimum untuk menunggu sebelum waktu habis. Jika dibiarkan kosong, waktu tunggu akan maksimal sesuai waktu yang diizinkan oleh protokol HTTP/RPC yang mendasarinya. Jika batas waktu RPC juga ditentukan, yang lebih singkat akan digunakan. Durasi dalam detik dengan maksimal sembilan digit pecahan, yang diakhiri dengan 's '. Contoh: "3.5s" .
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-02-06 UTC.
[null,null,["Terakhir diperbarui pada 2025-02-06 UTC."],[[["The `Operations.WaitOperation` request message is used to wait for the completion of a long-running operation."],["The request message includes the `name` of the operation to wait on and an optional `timeout` duration."],["The `timeout` is specified using the `Duration` format and determines the maximum waiting time before the request times out."]]],["The `Operations.WaitOperation` request requires two fields: `name` and `timeout`. The `name` field, a string, specifies the operation resource to monitor. The `timeout` field, also a string in duration format (e.g., \"3.5s\"), sets the maximum wait time. If `timeout` is not specified, the default is the HTTP/RPC protocol's maximum. The shorter duration between `timeout` and any specified RPC context deadline is applied.\n"]]