Method: customers.policySchemas.get
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir müşteri için kaynak adına göre belirli bir politika şeması alın.
HTTP isteği
GET https://chromepolicy.googleapis.com/v1/{name=customers/*/policySchemas/**}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Zorunlu. Sorgulanacak politika şeması kaynağı adı.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, PolicySchema
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
https://www.googleapis.com/auth/chrome.management.policy.readonly
https://www.googleapis.com/auth/chrome.management.policy
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-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eRetrieve a specific customer's policy schema using its resource name via a GET request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the policy schema's resource name as a path parameter and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eA successful response provides the requested PolicySchema in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires specific OAuth scopes related to Chrome management policy.\u003c/p\u003e\n"]]],[],null,["# Method: customers.policySchemas.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGet a specific policy schema for a customer by its resource name.\n\n### HTTP request\n\n`GET https://chromepolicy.googleapis.com/v1/{name=customers/*/policySchemas/**}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------|\n| `name` | `string` Required. The policy schema resource name to query. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [PolicySchema](/chrome/policy/reference/rest/v1/customers.policySchemas#PolicySchema).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/chrome.management.policy.readonly`\n- `https://www.googleapis.com/auth/chrome.management.policy`"]]