Method: operations.list
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Liệt kê các thao tác khớp với bộ lọc đã chỉ định trong yêu cầu. Nếu không hỗ trợ phương thức này, máy chủ sẽ trả về UNIMPLEMENTED
.
Yêu cầu HTTP
GET https://vault.googleapis.com/v1/{name=operations}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Tên của tài nguyên mẹ của thao tác.
|
Tham số truy vấn
Thông số |
filter |
string
Bộ lọc danh sách chuẩn.
|
pageSize |
integer
Kích thước trang danh sách chuẩn.
|
pageToken |
string
Mã thông báo trang danh sách chuẩn.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Thông báo phản hồi cho Operations.ListOperations
.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"operations": [
{
object (Operation )
}
],
"nextPageToken": string
} |
Trường |
operations[] |
object (Operation )
Danh sách các thao tác khớp với bộ lọc đã chỉ định trong yêu cầu.
|
nextPageToken |
string
Mã thông báo trang tiếp theo của Danh sách chuẩn.
|
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/ediscovery.readonly
https://www.googleapis.com/auth/ediscovery
Để biết thêm thông tin, hãy xem Hướng dẫn uỷ quyền.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],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- [Try it!](#try-it)\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://vault.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](/workspace/vault/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 (/workspace/vault/reference/rest/v1/operations#Operation) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `operations[]` | `object (`[Operation](/workspace/vault/reference/rest/v1/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 one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/ediscovery.readonly`\n- `https://www.googleapis.com/auth/ediscovery`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]