Method: customers.policySchemas.list
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
指定した顧客のフィルタ値に一致するポリシー スキーマのリストを取得します。
HTTP リクエスト
GET https://chromepolicy.googleapis.com/v1/{parent=customers/*}/policySchemas
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。リスティング リクエストを適用する顧客。
|
クエリ パラメータ
パラメータ |
filter |
string
リソース名、説明、additionalTargetKeyNames などのフィールドに基づいて特定のスキーマを検索するために使用するスキーマ フィルタ。
|
pageSize |
integer
返されるポリシー スキーマの最大数。デフォルトは 100 で、最大値は 1, 000 です。
|
pageToken |
string
リスティング リクエストの特定のページを取得するために使用されるページトークン。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
フィルタに一致するポリシー スキーマを一覧表示するためのレスポンス メッセージ。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
JSON 表現 |
{
"policySchemas": [
{
object (PolicySchema )
}
],
"nextPageToken": string
} |
フィールド |
policySchemas[] |
object (PolicySchema )
クエリに一致するポリシー スキーマのリスト。
|
nextPageToken |
string
ポリシー スキーマの次のページを取得するために使用されるページトークン。
|
認可スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/chrome.management.policy.readonly
https://www.googleapis.com/auth/chrome.management.policy
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eRetrieves a list of policy schemas for a specific customer based on filter criteria.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by resource name, description, and additional target key names.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination to retrieve large result sets.\u003c/p\u003e\n"],["\u003cp\u003eResponse includes a list of matching policy schemas and a token for accessing the next page.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific OAuth scopes for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: customers.policySchemas.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListPolicySchemasResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets a list of policy schemas that match a specified filter value for a given customer.\n\n### HTTP request\n\n`GET https://chromepolicy.googleapis.com/v1/{parent=customers/*}/policySchemas`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|---------------------------------------------------------------------------|\n| `parent` | `string` Required. The customer for which the listing request will apply. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `filter` | `string` The schema filter used to find a particular schema based on fields like its resource name, description and `additionalTargetKeyNames`. |\n| `pageSize` | `integer` The maximum number of policy schemas to return, defaults to 100 and has a maximum of 1000. |\n| `pageToken` | `string` The page token used to retrieve a specific page of the listing request. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for listing policy schemas that match a filter.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"policySchemas\": [ { object (/chrome/policy/reference/rest/v1/customers.policySchemas#PolicySchema) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `policySchemas[]` | `object (`[PolicySchema](/chrome/policy/reference/rest/v1/customers.policySchemas#PolicySchema)`)` The list of policy schemas that match the query. |\n| `nextPageToken` | `string` The page token used to get the next page of policy schemas. |\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`"]]