Method: customers.dpcs.list
Lista kontrolerów zasad dotyczących urządzeń (DPC), które obsługują rejestrację typu zero-touch.
Żądanie HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/dpcs
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Klient, który może używać DPC w konfiguracjach. Nazwa zasobu interfejsu API w formacie customers/[CUSTOMER_ID] .
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Komunikat z odpowiedzią na identyfikatory DPC produktu.
Zapis JSON |
{
"dpcs": [
{
object (Dpc )
}
]
} |
Pola |
dpcs[] |
object (Dpc )
Lista usług DPC dostępnych dla klienta, które obsługują rejestrację typu zero-touch.
|
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/androidworkzerotouchemm
Więcej informacji znajdziesz w artykule Omówienie OAuth 2.0.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-08 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-08 UTC."],[[["This webpage details how to list Device Policy Controllers (DPCs) that support zero-touch enrollment via an HTTP GET request."],["The request URL structure requires a `parent` path parameter, representing the customer's ID in the format `customers/[CUSTOMER_ID]`."],["The request body for listing DPCs must be empty, and the response will contain a list of DPCs in JSON format."],["Successful responses return a JSON object, with the `dpcs[]` field containing an array of DPC objects."],["Authorisation to perform the request requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope."]]],["This document details retrieving a list of Device Policy Controllers (DPCs) supporting zero-touch enrollment. A `GET` request is sent to a specific URL using gRPC Transcoding, including the customer ID as a required `parent` path parameter. The request body must be empty. A successful response contains a JSON object with a `dpcs[]` field, listing available DPCs. The process requires `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope for authorization.\n"]]