Method: customers.policySchemas.list

  • 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 or https://www.googleapis.com/auth/chrome.management.policy OAuth scope for authorization.

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

string

Required. The customer for which the listing request will apply.

Query parameters

Parameters
filter

string

The schema filter used to find a particular schema based on fields like its resource name, description and additionalTargetKeyNames.

pageSize

integer

The maximum number of policy schemas to return, defaults to 100 and has a maximum of 1000.

pageToken

string

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 (PolicySchema)
    }
  ],
  "nextPageToken": string
}
Fields
policySchemas[]

object (PolicySchema)

The list of policy schemas that match the query.

nextPageToken

string

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