PolicyTargetKey
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
A chave usada para identificar o destino em que a política será aplicada.
Representação JSON |
{
"targetResource": string,
"additionalTargetKeys": {
string: string,
...
}
} |
Campos |
targetResource |
string
O recurso de destino em que esta política é aplicada. Há suporte para os seguintes recursos:
- Unidade organizacional ("orgunits/{orgunit_id}")
- grupo ("groups/{groupId}")
|
additionalTargetKeys |
map (key: string, value: string)
Mapa contendo outros pares de nome de chave e valor de destino usados para identificar melhor o destino da política. Um objeto com uma lista de pares "key": value . Exemplo: { "name": "wrench", "mass": "1.3kg", "count": "3" } .
|
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 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\" }`. |"]]