PolicyTargetKey
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คีย์ที่ใช้ระบุเป้าหมายที่จะใช้นโยบาย
การแสดง JSON |
{
"targetResource": string,
"additionalTargetKeys": {
string: string,
...
}
} |
ช่อง |
targetResource |
string
ทรัพยากรเป้าหมายที่ใช้นโยบายนี้ แหล่งข้อมูลที่รองรับมีดังนี้
- หน่วยขององค์กร ("orgunits/{orgunit_id}")
- กลุ่ม ("groups/{groupId}")
|
additionalTargetKeys |
map (key: string, value: string)
แผนที่ที่มีชื่อคีย์เป้าหมายและคู่คีย์ค่าเพิ่มเติมที่ใช้เพื่อระบุเป้าหมายของนโยบายเพิ่มเติม ออบเจ็กต์ที่มีรายการคู่ "key": value ตัวอย่างเช่น { "name": "wrench", "mass": "1.3kg", "count": "3" }
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 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\" }`. |"]]