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" } . |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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\" }`. |"]]