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
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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`"]]