Method: projects.locations.operations.get
รับสถานะล่าสุดของการดำเนินการที่ใช้เวลานาน ไคลเอ็นต์จะใช้เมธอดนี้เพื่อสำรวจผลลัพธ์การดำเนินการตามช่วงเวลาตามที่บริการ API แนะนำได้
คำขอ HTTP
GET https://routeoptimization.googleapis.com/v1/{name=projects/*/locations/*/operations/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ชื่อของทรัพยากรการดำเนินการ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Operation
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/cloud-platform
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-04-08 UTC
[null,null,["อัปเดตล่าสุด 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."]]],[]]