Method: customers.policySchemas.list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
지정된 고객의 지정된 필터 값과 일치하는 정책 스키마 목록을 가져옵니다.
HTTP 요청
GET https://chromepolicy.googleapis.com/v1/{parent=customers/*}/policySchemas
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
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
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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`"]]