Method: operations.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงรายการการดำเนินการที่ตรงกับตัวกรองที่ระบุในคำขอ หากเซิร์ฟเวอร์ไม่รองรับวิธีนี้ ระบบจะแสดงผลเป็น UNIMPLEMENTED
คำขอ HTTP
GET https://routeoptimization.googleapis.com/v1/{name=operations}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ชื่อทรัพยากรหลักของการดำเนินการ
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
filter |
string
ตัวกรองรายการมาตรฐาน
|
pageSize |
integer
ขนาดหน้ารายการมาตรฐาน
|
pageToken |
string
โทเค็นหน้ารายการมาตรฐาน
|
เนื้อความของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
ข้อความตอบกลับสำหรับ Operations.ListOperations
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"operations": [
{
object (Operation )
}
],
"nextPageToken": string
} |
ช่อง |
operations[] |
object (Operation )
รายการการดำเนินการที่ตรงกับตัวกรองที่ระบุในคำขอ
|
nextPageToken |
string
โทเค็นหน้าถัดไปของรายการมาตรฐาน
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/cloud-platform
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[[["\u003cp\u003eLists operations based on specified filters, returning \u003ccode\u003eUNIMPLEMENTED\u003c/code\u003e if unsupported.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a \u003ccode\u003eGET\u003c/code\u003e request with path and query parameters for filtering and pagination.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body and returns a response with a list of operations and a pagination token.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: operations.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListOperationsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.\n\n### HTTP request\n\n`GET https://routeoptimization.googleapis.com/v1/{name=operations}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------|\n| `name` | `string` The name of the operation's parent resource. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------|\n| `filter` | `string` The standard list filter. |\n| `pageSize` | `integer` The standard list page size. |\n| `pageToken` | `string` The standard list page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response message for [Operations.ListOperations](/maps/documentation/route-optimization/reference/rest/v1/operations/list#google.longrunning.Operations.ListOperations).\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"operations\": [ { object (/maps/documentation/route-optimization/reference/rest/v1/projects.locations.operations#Operation) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `operations[]` | `object (`[Operation](/maps/documentation/route-optimization/reference/rest/v1/projects.locations.operations#Operation)`)` A list of operations that matches the specified filter in the request. |\n| `nextPageToken` | `string` The standard List next-page token. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`"]]