Method: partners.vendors.list
HTTP リクエスト
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/vendors
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。partners/[PARTNER_ID] 形式のリソース名。
|
クエリ パラメータ
パラメータ |
pageSize |
integer
返される結果の最大件数です。
|
pageToken |
string
サーバーから返される結果のページを識別するトークン。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
パートナーのベンダーのリストに対するレスポンス メッセージ。
JSON 表現 |
{
"vendors": [
{
object (Company )
}
],
"nextPageToken": string,
"totalSize": integer
} |
フィールド |
vendors[] |
object (Company )
販売パートナーのベンダーのリスト。フィールド name 、companyId 、companyName は、Company オブジェクトに入力されます。
|
nextPageToken |
string
結果の次のページを取得するためのトークン。 これ以上の結果がない場合は省略されます。
|
totalSize |
integer
ページ設定に関係なく、リスト内のアイテムの合計数。
|
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidworkprovisioning
詳しくは、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-29 UTC。
[null,null,["最終更新日 2024-08-29 UTC。"],[[["This webpage details how to retrieve a list of vendors associated with a specific partner using the Android Device Provisioning API."],["The `GET` request requires a `parent` path parameter in the format `partners/[PARTNER_ID]` to identify the partner."],["The query parameters `pageSize` and `pageToken` are used to manage the pagination of the results, while the request body should be empty."],["The response body, when successful, will include a list of `vendors`, a `nextPageToken` for additional results if needed, and the `totalSize` of all vendors."],["Authorization for this request requires the OAuth scope `https://www.googleapis.com/auth/androidworkprovisioning`."]]],["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"]]