AI-generated Key Takeaways
-
This operation retrieves a list of policy schemas for a specific customer based on an optional filter value.
-
The request uses an HTTP GET method to the specified URL with a required parent parameter and optional filter, pageSize, and pageToken query parameters.
-
The request body is empty, and the response body contains a list of matching policy schemas and an optional next page token.
-
This operation requires either the
https://www.googleapis.com/auth/chrome.management.policy.readonly
orhttps://www.googleapis.com/auth/chrome.management.policy
OAuth scope 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