Method: customers.policySchemas.get
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
קבלת סכימת מדיניות ספציפית של לקוח לפי שם המשאב שלו.
בקשת HTTP
GET https://chromepolicy.googleapis.com/v1/{name=customers/*/policySchemas/**}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם המשאב של סכימת המדיניות לשאילתה.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של PolicySchema
.
היקפי ההרשאות
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
https://www.googleapis.com/auth/chrome.management.policy.readonly
https://www.googleapis.com/auth/chrome.management.policy
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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`"]]