Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Sie können unterstützte Richtlinienschemas auflisten,
Schemas in einem Namespace oder rufen Sie ein bestimmtes Schema direkt nach Namen ab, wobei
filter des Parameters
customers.policySchemas.list
. Wenn Sie den Parameter filter weglassen, werden alle unterstützten Schemas zurückgegeben.
Weitere Informationen finden Sie in der
Codebeispiele.
GLOBAL_STRING_LITERAL: stimmt überein, wenn der Name und/oder
description enthält den String (Teilübereinstimmung)
PARTIAL_NAME_MATCH: stimmt überein, wenn der Name eines Richtlinienschemas den String enthält
(Teilübereinstimmung)
EXACT_NAMESPACE_MATCH: stimmt überein, wenn ein Richtlinienschema zu dem angegebenen gehört.
Namespace
PARTIAL_DESCRIPTION_MATCH: stimmt mit der Beschreibung eines Richtlinienschemas überein
enthält den String (Teilübereinstimmung)
PARTIAL_ACCESS_RESTRICTION_MATCH: stimmt überein, wenn der Zugriff eines Richtlinienschemas erfolgt
Einschränkungen enthalten den String (Teilübereinstimmung)
EXACT_LIFECYCLE_STAGE_MATCH: stimmt mit der Lebenszyklusphase eines Richtlinienschemas überein
ist eine genaue Übereinstimmung mit dem angegebenen String.
EXACT_FIELD_NAME_MATCH: stimmt überein, wenn der Feldname eines Richtlinienschemas ein
genaue Übereinstimmung mit dem angegebenen String
EXACT_INPUT_CONSTRAINT_MATCH: stimmt mit der Eingabe eines Richtlinienschemas überein
Einschränkung ist eine genaue Übereinstimmung mit dem angegebenen String
PARTIAL_FIELD_DESCRIPTION_MATCH: stimmt überein, wenn das Feld eines Richtlinienschemas übereinstimmt
description enthält den String (Teilübereinstimmung)
EXACT_KEY_MATCH_IN_COLLECTION: stimmt überein, wenn die zusätzlichen Bedingungen eines Richtlinienschemas
Indexschlüssel enthalten eine genaue Übereinstimmung für den angegebenen String
Beispiele für Filterwerte
URL-codierter Filter
Wert und Beschreibung des Literalfilters
filter=name%3Dchrome%2Eusers
name=chrome.users
Filter für Namen, die „chrome.users“ enthalten, z. B. „chrome.users.*“ und „chrome.users.apps.*“
filter=namespace%3Dchrome%2Enetworks%2Ewifi
namespace=chrome.networks.wifi
Filtert nach Namespace „chrome.networks.wifi“
filter=description%3Dcookies
description=cookies
Filter für Beschreibungen, die „Cookies“ enthalten
filter=policy_api_lifecycle%3DAPI_DEPRECATED
policy_api_lifecycle=API_DEPRECATED
Filter für Lebenszyklusphasen der Richtlinien-API, die mit „API_DEPRECATED“ übereinstimmen
[null,null,["Zuletzt aktualisiert: 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\" |"]]