AI-generated Key Takeaways
-
Retrieves a list of policy schemas for a specific customer based on filter criteria.
-
Allows filtering by resource name, description, and additional target key names.
-
Supports pagination to retrieve large result sets.
-
Response includes a list of matching policy schemas and a token for accessing the next page.
-
Requires specific OAuth scopes for authorization.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Gets a list of policy schemas that match a specified filter value for a given customer.
HTTP request
GET https://chromepolicy.googleapis.com/v1/{parent=customers/*}/policySchemas
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The customer for which the listing request will apply. |
Query parameters
Parameters | |
---|---|
filter |
The schema filter used to find a particular schema based on fields like its resource name, description and |
pageSize |
The maximum number of policy schemas to return, defaults to 100 and has a maximum of 1000. |
pageToken |
The page token used to retrieve a specific page of the listing request. |
Request body
The request body must be empty.
Response body
Response message for listing policy schemas that match a filter.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"policySchemas": [
{
object ( |
Fields | |
---|---|
policySchemas[] |
The list of policy schemas that match the query. |
nextPageToken |
The page token used to get the next page of policy schemas. |
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