PolicyTargetKey
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Klucz używany do identyfikowania środowiska docelowego, do którego zostanie zastosowana zasada.
Zapis JSON |
{
"targetResource": string,
"additionalTargetKeys": {
string: string,
...
}
} |
Pola |
targetResource |
string
Zasób docelowy, do którego stosowana jest ta zasada. Obsługiwane są te zasoby:
- Jednostka organizacyjna („orgunits/{orgunit_id}”)
- grupa („groups/{groupId}”)
|
additionalTargetKeys |
map (key: string, value: string)
Mapa zawierająca dodatkowe pary nazwy i wartości klucza docelowego używane do dokładniejszego określenia celu zasady. Obiekt zawierający listę par "key": value . Przykład: { "name": "wrench", "mass": "1.3kg", "count": "3" } .
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThe policy target is identified using a key, primarily focusing on a target resource.\u003c/p\u003e\n"],["\u003cp\u003eSupported target resources include organizational units and groups, specified with their respective IDs.\u003c/p\u003e\n"],["\u003cp\u003eFurther target specification can be achieved through additional key-value pairs provided in \u003ccode\u003eadditionalTargetKeys\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# PolicyTargetKey\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe key used to identify the target on which the policy will be applied.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------|\n| ``` { \"targetResource\": string, \"additionalTargetKeys\": { string: string, ... } } ``` |\n\n| Fields ||\n|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetResource` | `string` The target resource on which this policy is applied. The following resources are supported: - Organizational Unit (\"orgunits/{orgunit_id}\") - group (\"groups/{groupId}\") |\n| `additionalTargetKeys` | `map (key: string, value: string)` Map containing the additional target key name and value pairs used to further identify the target of the policy. An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |"]]