Method: projects.locations.operations.get
Mendapatkan status terbaru dari operasi yang berjalan lama. Klien dapat menggunakan metode ini untuk polling hasil operasi pada interval seperti yang direkomendasikan oleh layanan API.
Permintaan HTTP
GET https://routeoptimization.googleapis.com/v1/{name=projects/*/locations/*/operations/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Nama resource operasi.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance Operation
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/cloud-platform
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 2024-04-08 UTC.
[null,null,["Terakhir diperbarui pada 2024-04-08 UTC."],[[["This method allows clients to retrieve the latest status of a long-running operation by polling at intervals."],["It uses an HTTP GET request to a specific URL containing the operation resource name."],["An empty request body is required, and the response provides an Operation object detailing the operation's status."],["Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and the `routeoptimization.operations.get` IAM permission on the operation resource."]]],[]]