Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bạn có thể liệt kê các giản đồ chính sách được hỗ trợ,
các giản đồ trong một không gian tên hoặc tìm nạp một giản đồ cụ thể trực tiếp theo tên, với
tham số filter của
customers.policySchemas.list
. Nếu bạn bỏ qua tham số filter, hệ thống sẽ trả về mọi giản đồ được hỗ trợ.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eYou can search for supported policy schemas by name, namespace, or other criteria using the \u003ccode\u003ecustomers.policySchemas.list\u003c/code\u003e method and its \u003ccode\u003efilter\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003efilter\u003c/code\u003e parameter supports various search operators and fields to refine your query, including partial and exact matching.\u003c/p\u003e\n"],["\u003cp\u003eCombine filters using \u003ccode\u003eAND\u003c/code\u003e, \u003ccode\u003eOR\u003c/code\u003e, and \u003ccode\u003eNOT\u003c/code\u003e operators with parentheses for complex queries to narrow down your results.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided filter syntax and sample values for constructing effective search queries.\u003c/p\u003e\n"],["\u003cp\u003eIf the \u003ccode\u003efilter\u003c/code\u003e parameter is omitted, the method returns all supported policy schemas.\u003c/p\u003e\n"]]],[],null,["# List policy schemas\n\nYou can list supported [policy schemas](/chrome/policy/guides/policy-schemas),\nschemas within a namespace, or fetch a particular schema directly by name, with\nthe `filter` parameter of the\n[`customers.policySchemas.list`](/chrome/policy/reference/rest/v1/customers.policySchemas/list)\nmethod. If you omit the `filter` parameter, all supported schemas are returned.\n\nFor more details, see the\n[code samples](/chrome/policy/guides/samples_policyapi#search_for_schemas).\n| **Note:** The filter parameter value must be URL escaped. You can combine filters with `AND`, `OR`, and `NOT` clauses. Parentheses are required when more than one filter is provided in the same filter. Filter strings are case-insensitive.\n\nFilter syntax\n-------------\n\n```\n GLOBAL_STRING_LITERAL|\n name=PARTIAL_NAME_MATCH|\n namespace=EXACT_NAMESPACE_MATCH|\n description=PARTIAL_DESCRIPTION_MATCH|\n access_restrictions=PARTIAL_ACCESS_RESTRICTIONS_MATCH|\n policy_api_lifecycle=EXACT_LIFECYCLE_STAGE_MATCH|\n field_descriptions.field=EXACT_FIELD_NAME_MATCH|\n field_descriptions.input_constraint=EXACT_INPUT_CONSTRAINT_MATCH|\n field_descriptions.description=PARTIAL_FIELD_DESCRIPTION_MATCH|\n additional_target_keys:EXACT_KEY_MATCH_IN_COLLECTION\n```\n\n- `GLOBAL_STRING_LITERAL`: matches if a policy schema's name and/or description contains the string (partial match)\n- `PARTIAL_NAME_MATCH`: matches if a policy schema's name contains the string (partial match)\n- `EXACT_NAMESPACE_MATCH`: matches if a policy schema belongs to the provided [namespace](/chrome/policy/guides/policy-schemas#namespaces)\n- `PARTIAL_DESCRIPTION_MATCH`: matches if a policy schema's description contains the string (partial match)\n- `PARTIAL_ACCESS_RESTRICTION_MATCH`: matches if a policy schema's access restrictions contain the string (partial match)\n- `EXACT_LIFECYCLE_STAGE_MATCH`: matches if a policy schema's lifecycle stage is an exact match for the provided string\n- `EXACT_FIELD_NAME_MATCH`: matches if a policy schema's field name is an exact match for the provided string\n- `EXACT_INPUT_CONSTRAINT_MATCH`: matches if a policy schema's input constraint is an exact match for the provided string\n- `PARTIAL_FIELD_DESCRIPTION_MATCH`: matches if a policy schema's field description contains the string (partial match)\n- `EXACT_KEY_MATCH_IN_COLLECTION`: matches if a policy schema's additional index keys contain an exact match for the provided string\n\nSample filter values\n--------------------\n\n| URL-encoded filter | Literal filter value and description |\n|------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `filter=`\u003cvar translate=\"no\"\u003ename%3Dchrome%2Eusers\u003c/var\u003e | `name=chrome.users` Filters for names that contain \"chrome.users\", for example \"chrome.users.\\* and \"chrome.users.apps.\\*\" |\n| `filter=`\u003cvar translate=\"no\"\u003enamespace%3Dchrome%2Enetworks%2Ewifi\u003c/var\u003e | `namespace=chrome.networks.wifi` Filters by namespace \"chrome.networks.wifi\" |\n| `filter=`\u003cvar translate=\"no\"\u003edescription%3Dcookies\u003c/var\u003e | `description=cookies` Filters for descriptions that contain \"cookies\" |\n| `filter=`\u003cvar translate=\"no\"\u003epolicy_api_lifecycle%3DAPI_DEPRECATED\u003c/var\u003e | `policy_api_lifecycle=API_DEPRECATED` Filters for policy api lifecycle stages that match \"API_DEPRECATED\" |\n| `filter=`\u003cvar translate=\"no\"\u003ename%3Dprinters%20AND%20description%3Ddevices\u003c/var\u003e | `name=printers AND description=devices` Filters for names that contain \"printers\" and descriptions that contain \"devices\" |\n| `filter=`\u003cvar translate=\"no\"\u003e(name%3Dblock%20OR%20name%3Dlist)%20AND%20NOT%20description%3Durl\u003c/var\u003e | `filter=(name=block OR name=list) AND NOT description=url` Filters for names that contain \"block\" or \"list\", but excludes descriptions that contain \"url\" |"]]