WaitOperationRequest
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
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 maksimal akan 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-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eThe content describes the JSON representation and fields for the \u003ccode\u003eOperations.WaitOperation\u003c/code\u003e request message.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field is a string representing the name of the operation resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etimeout\u003c/code\u003e field is a string in Duration format, specifying the maximum wait time, which defaults to the underlying protocol's time if left blank.\u003c/p\u003e\n"]]],["The core content defines the `Operations.WaitOperation` request, represented in JSON with two fields: `name` and `timeout`. `name` specifies the operation's resource name as a string. `timeout` is a string defining the maximum wait duration, formatted as a Duration, with an example given as `\"3.5s\"`. If `timeout` is left blank, the HTTP/RPC protocol determines the maximum wait time. The shorter of either the specified `timeout` or the RPC context deadline will be used.\n"],null,["# WaitOperationRequest\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe request message for `Operations.WaitOperation`.\n\n| JSON representation |\n|-----------------------------------------------|\n| ``` { \"name\": string, \"timeout\": string } ``` |\n\n| Fields ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The name of the operation resource to wait on. |\n| `timeout` | `string (`[Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)` format)` The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `\"3.5s\"`. |"]]