This organization policy message is a modified version of the one defined in the Organization Policy system. This message contains several fields defined in the original organization policy with some new fields for analysis purpose.
The full resource name of an organization/folder/project resource where this organization policy is set.
Notice that some type of constraints are defined with default policy. This field will be empty for them.
appliedResource
string
The full resource name of an organization/folder/project resource where this organization policy applies to.
For any user defined org policies, this field has the same value as the [attachedResource] field. Only for default policy, this field has the different value.
If inheritFromParent is true, Rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the effective root for evaluation.
reset
boolean
Ignores policies set above this resource and restores the default behavior of the constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, rules must be empty and inheritFromParent must be set to false.
Rule
This rule message is a customized version of the one defined in the Organization Policy system. In addition to the fields defined in the original organization policy, it contains additional field(s) under specific circumstances to support analysis results.
JSON representation
{"condition": {object (Expr)},"conditionEvaluation": {object (ConditionEvaluation)},// Union field kind can be only one of the following:"values": {object (StringValues)},"allowAll": boolean,"denyAll": boolean,"enforce": boolean// End of list of possible types for union field kind.}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-08 UTC."],[[["\u003cp\u003eThis document describes a modified version of the Organization Policy message, incorporating new fields for analysis purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe Organization Policy message includes fields such as \u003ccode\u003eattachedResource\u003c/code\u003e, \u003ccode\u003eappliedResource\u003c/code\u003e, \u003ccode\u003erules\u003c/code\u003e, \u003ccode\u003einheritFromParent\u003c/code\u003e, and \u003ccode\u003ereset\u003c/code\u003e to define policy scope, application, rule lists, inheritance, and default behavior restoration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRule\u003c/code\u003e message defines policy rules, containing a \u003ccode\u003econdition\u003c/code\u003e, \u003ccode\u003econditionEvaluation\u003c/code\u003e, and a union field \u003ccode\u003ekind\u003c/code\u003e which may be \u003ccode\u003evalues\u003c/code\u003e, \u003ccode\u003eallowAll\u003c/code\u003e, \u003ccode\u003edenyAll\u003c/code\u003e, or \u003ccode\u003eenforce\u003c/code\u003e based on the type of constraint.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStringValues\u003c/code\u003e message defines allowed and denied values for list constraints, specifying which string values are permitted or restricted within the policy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRules\u003c/code\u003e fields \u003ccode\u003eallowAll\u003c/code\u003e and \u003ccode\u003edenyAll\u003c/code\u003e are used in list constraints, while \u003ccode\u003eenforce\u003c/code\u003e is used in boolean constraints.\u003c/p\u003e\n"]]],[],null,["# AnalyzerOrgPolicy\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Rule](#Rule)\n - [JSON representation](#Rule.SCHEMA_REPRESENTATION)\n- [StringValues](#StringValues)\n - [JSON representation](#StringValues.SCHEMA_REPRESENTATION)\n\nThis organization policy message is a modified version of the one defined in the Organization Policy system. This message contains several fields defined in the original organization policy with some new fields for analysis purpose.\n\nRule\n----\n\nThis rule message is a customized version of the one defined in the Organization Policy system. In addition to the fields defined in the original organization policy, it contains additional field(s) under specific circumstances to support analysis results.\n\nStringValues\n------------\n\nThe string values for the list constraints."]]