AI-generated Key Takeaways
-
This document outlines how to retrieve a policy using an HTTP GET request to the specified URL.
-
The request uses a path parameter named
nameto identify the policy, following the formatenterprises/{enterpriseId}/policies/{policyId}. -
The request body is empty, and a successful response contains a
Policyinstance in the response body. -
Authorization requires the
https://www.googleapis.com/auth/androidmanagementOAuth scope.
Gets a policy.
HTTP request
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
The name of the policy in the form |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Policy.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidmanagement
For more information, see the OAuth 2.0 Overview.