Method: enterprises.policies.get
Richiesta HTTP
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Il nome del criterio nel formato enterprises/{enterpriseId}/policies/{policyId} .
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di Policy
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/androidmanagement
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-01-29 UTC.
[null,null,["Ultimo aggiornamento 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."]]],["This document outlines the process of retrieving a policy via an HTTP GET request. The request URL structure utilizes gRPC Transcoding and requires a `name` parameter, formatted as `enterprises/{enterpriseId}/policies/{policyId}`, specified in the path. The request body must be empty. A successful request returns a `Policy` instance. The operation requires authorization with the `https://www.googleapis.com/auth/androidmanagement` OAuth scope. You can try out this operation using the tool `Try it!`\n"]]