Method: enterprises.devices.operations.list
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
عملیاتی را فهرست می کند که با فیلتر مشخص شده در درخواست مطابقت دارند. اگر سرور از این روش پشتیبانی نکند، UNIMPLEMENTED
برمیگرداند.
درخواست HTTP
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*/operations}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
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/androidmanagement
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eLists operations matching specified filter, returning \u003ccode\u003eUNIMPLEMENTED\u003c/code\u003e if unsupported.\u003c/p\u003e\n"],["\u003cp\u003eEmploys \u003ccode\u003eGET\u003c/code\u003e request with path and query parameters to refine operation retrieval.\u003c/p\u003e\n"],["\u003cp\u003eResponse provides a list of operations and a token for further page navigation.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003ehttps://www.googleapis.com/auth/androidmanagement\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],["This describes how to list operations via an HTTP GET request to a specific URL (`https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*/operations}`). The request URL uses path parameters (`name`) and supports query parameters like `filter`, `pageSize`, and `pageToken`. The request body must be empty. The successful response includes a list of `operations` and an optional `nextPageToken`, using a defined JSON format. Authentication requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope.\n"],null,["# Method: enterprises.devices.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://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*/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](/android/management/reference/rest/v1/enterprises.devices.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 (/android/management/reference/rest/v1/enterprises.devices.operations#Operation) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `operations[]` | `object (`[Operation](/android/management/reference/rest/v1/enterprises.devices.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/androidmanagement`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]