Method: customers.policySchemas.get
Stay organized with collections
Save and categorize content based on your preferences.
Get a specific policy schema for a customer by its resource name.
HTTP request
GET https://chromepolicy.googleapis.com/v1/{name=customers/*/policySchemas/**}
The URL uses gRPC Transcoding
syntax.
Path parameters
Parameters |
name
|
string
Required. The policy schema resource name to query.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of PolicySchema
.
Authorization scopes
Requires one of the following OAuth scopes:
-
https://www.googleapis.com/auth/chrome.management.policy.readonly
-
https://www.googleapis.com/auth/chrome.management.policy
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 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`"]]