Method: enterprises.policies.get
HTTP isteği
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Politikanın enterprises/{enterpriseId}/policies/{policyId} biçimindeki adı.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, Policy
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidmanagement
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-01-29 UTC.
[null,null,["Son güncelleme tarihi: 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"]]