PolicyModificationError
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資訊:針對特定目標的特定政策修改要求相關錯誤資訊。
欄位 |
policyTargetKey |
object (PolicyTargetKey )
僅供輸出。發生錯誤的特定政策目標修改內容。
|
policySchema |
string
僅供輸出。發生錯誤的特定政策結構定義修改內容。
|
fieldErrors[] |
object (PolicyModificationFieldError )
僅供輸出。與修改作業相關的錯誤訊息。
|
errors[] |
string
僅供輸出。與修改作業相關的非欄位錯誤。
|
PolicyModificationFieldError
JSON 表示法 |
{
"field": string,
"error": string
} |
欄位 |
field |
string
僅供輸出。含有錯誤的欄位名稱。
|
error |
string
僅供輸出。與欄位相關的錯誤訊息。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThis documentation details error information for policy modification requests, including specific errors for target policies and policy fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePolicyModificationError\u003c/code\u003e provides information about errors at the policy target and schema level, including field and non-field errors.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePolicyModificationFieldError\u003c/code\u003e provides details on errors encountered within specific fields during policy modification.\u003c/p\u003e\n"],["\u003cp\u003eJSON representations are provided for both \u003ccode\u003ePolicyModificationError\u003c/code\u003e and \u003ccode\u003ePolicyModificationFieldError\u003c/code\u003e to illustrate their structure and data fields.\u003c/p\u003e\n"]]],[],null,["# PolicyModificationError\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [PolicyModificationFieldError](#PolicyModificationFieldError)\n - [JSON representation](#PolicyModificationFieldError.SCHEMA_REPRESENTATION)\n\nError information for a modification request of a specific policy on a specific target.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"policyTargetKey\": { object (/chrome/policy/reference/rest/v1/PolicyTargetKey) }, \"policySchema\": string, \"fieldErrors\": [ { object (/chrome/policy/reference/rest/v1/PolicyModificationError#PolicyModificationFieldError) } ], \"errors\": [ string ] } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `policyTargetKey` | `object (`[PolicyTargetKey](/chrome/policy/reference/rest/v1/PolicyTargetKey)`)` Output only. The specific policy target modification that had error. |\n| `policySchema` | `string` Output only. The specific policy schema modification that had an error. |\n| `fieldErrors[]` | `object (`[PolicyModificationFieldError](/chrome/policy/reference/rest/v1/PolicyModificationError#PolicyModificationFieldError)`)` Output only. The error messages related to the modification. |\n| `errors[]` | `string` Output only. The non-field errors related to the modification. |\n\nPolicyModificationFieldError\n----------------------------\n\nError information for a modification request of a specific field on a specific policy.\n\n| JSON representation |\n|----------------------------------------------|\n| ``` { \"field\": string, \"error\": string } ``` |\n\n| Fields ||\n|---------|---------------------------------------------------------------|\n| `field` | `string` Output only. The name of the field with the error. |\n| `error` | `string` Output only. The error message related to the field. |"]]