PolicyModificationError
Stay organized with collections
Save and categorize content based on your preferences.
Error information for a modification request of a specific policy on a specific target.
PolicyModificationFieldError
Error information for a modification request of a specific field on a specific policy.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["\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. |"]]