Method: partners.vendors.list
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
طلب HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/vendors
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
parent |
string
مطلوب. اسم المورد بتنسيق partners/[PARTNER_ID] .
|
معامِلات طلب البحث
المعلمات |
pageSize |
integer
الحد الأقصى لعدد النتائج التي سيتم عرضها.
|
pageToken |
string
يشير هذا المصطلح إلى رمز مميّز يحدّد صفحة من النتائج التي عرضها الخادم.
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، سيحتوي نص الاستجابة على بيانات بالبنية التالية:
رسالة ردّ لإدراج مورّدي الشريك
تمثيل JSON |
{
"vendors": [
{
object (Company )
}
],
"nextPageToken": string,
"totalSize": integer
} |
الحقول |
vendors[] |
object (Company )
قائمة بمورّدي شريك المورِّد تتم تعبئة الحقول name وcompanyId وcompanyName في عنصر الشركة.
|
nextPageToken |
string
رمز مميز لاسترداد الصفحة التالية من النتائج. يتم حذفها في حال عدم توفُّر نتائج إضافية.
|
totalSize |
integer
إجمالي عدد العناصر في القائمة بغض النظر عن التقسيم على صفحات.
|
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/androidworkprovisioning
لمزيد من المعلومات، يُرجى الاطِّلاع على نظرة عامة على OAuth 2.0.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThis webpage details how to retrieve a list of vendors associated with a specific partner using the Android Device Provisioning API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGET\u003c/code\u003e request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter in the format \u003ccode\u003epartners/[PARTNER_ID]\u003c/code\u003e to identify the partner.\u003c/p\u003e\n"],["\u003cp\u003eThe query parameters \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e are used to manage the pagination of the results, while the request body should be empty.\u003c/p\u003e\n"],["\u003cp\u003eThe response body, when successful, will include a list of \u003ccode\u003evendors\u003c/code\u003e, a \u003ccode\u003enextPageToken\u003c/code\u003e for additional results if needed, and the \u003ccode\u003etotalSize\u003c/code\u003e of all vendors.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/androidworkprovisioning\u003c/code\u003e.\u003c/p\u003e\n"]]],["This outlines the process of retrieving a list of vendors associated with a partner. It uses a `GET` request to the specified URL, including the `parent` path parameter (partner ID). Optional `pageSize` and `pageToken` query parameters manage pagination. The request body is empty. A successful response contains a JSON structure with a list of vendor objects (`vendors`), a `nextPageToken` for pagination, and `totalSize`. This operation requires the `androidworkprovisioning` authorization scope.\n"],null,["# Method: partners.vendors.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.ListVendorsResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n\nLists the vendors of the partner.\n\n### HTTP request\n\n`GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/vendors`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------|\n| `parent` | `string` Required. The resource name in the format `partners/[PARTNER_ID]`. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of results to be returned. |\n| `pageToken` | `string` A token identifying a page of results returned by the server. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse message to list vendors of the partner.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"vendors\": [ { object (/zero-touch/reference/reseller/rest/v1/partners.customers#Company) } ], \"nextPageToken\": string, \"totalSize\": integer } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `vendors[]` | `object (`[Company](/zero-touch/reference/reseller/rest/v1/partners.customers#Company)`)` List of vendors of the reseller partner. Fields `name`, `companyId` and `companyName` are populated to the Company object. |\n| `nextPageToken` | `string` A token to retrieve the next page of results. Omitted if no further results are available. |\n| `totalSize` | `integer` The total count of items in the list irrespective of pagination. |\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidworkprovisioning`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]