Method: enterprises.policies.get
Permintaan HTTP
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Nama kebijakan dalam bentuk enterprises/{enterpriseId}/policies/{policyId} .
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat instance Policy
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/androidmanagement
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-29 UTC.
[null,null,["Terakhir diperbarui pada 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"]]