public sealed class OrgPolicyViolationInfo : IMessage<OrgPolicyViolationInfo>, IEquatable<OrgPolicyViolationInfo>, IDeepCloneable<OrgPolicyViolationInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Audit API class OrgPolicyViolationInfo.
Optional. Resource payload that is currently in scope and is subjected to orgpolicy
conditions. This payload may be the subset of the actual Resource that may
come in the request. This payload should not contain any core content.
public MapField<string, string> ResourceTags { get; }
Optional. Tags referenced on the resource at the time of evaluation. These also
include the federated tags, if they are supplied in the CheckOrgPolicy
or CheckCustomConstraints Requests.
Optional field as of now. These tags are the Cloud tags that are
available on the resource during the policy evaluation and will
be available as part of the OrgPolicy check response for logging purposes.
[[["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 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eOrgPolicyViolationInfo\u003c/code\u003e class within the Google Cloud Audit API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOrgPolicyViolationInfo\u003c/code\u003e class represents information about organizational policy violations and implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eOrgPolicyViolationInfo\u003c/code\u003e class include \u003ccode\u003ePayload\u003c/code\u003e, \u003ccode\u003eResourceTags\u003c/code\u003e, \u003ccode\u003eResourceType\u003c/code\u003e, and \u003ccode\u003eViolationInfo\u003c/code\u003e, which provide details about the resource in question and any policy violations found.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers available versions of the Google Cloud Audit API, ranging from version 1.0.0 to the latest version, 2.5.0, and this current page is detailing version 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOrgPolicyViolationInfo\u003c/code\u003e class has two constructors, one default and another that takes another \u003ccode\u003eOrgPolicyViolationInfo\u003c/code\u003e instance as a parameter for cloning.\u003c/p\u003e\n"]]],[],null,[]]