Method: enterprises.policies.get
Żądanie HTTP
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Nazwa zasady w formacie enterprises/{enterpriseId}/policies/{policyId} .
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Policy
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/androidmanagement
Więcej informacji znajdziesz w OAuth 2.0 Overview.
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: 2025-01-29 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-29 UTC."],[[["Retrieves a specific policy using its unique identifier within an enterprise."],["Requires authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."],["Uses a `GET` request to the specified URL with the policy's name as a path parameter."],["Returns the details of the requested policy if successful."],["Request body should be empty."]]],[]]