public sealed class SecurityPosture.Types.PolicyDriftDetails : IMessage<SecurityPosture.Types.PolicyDriftDetails>, IEquatable<SecurityPosture.Types.PolicyDriftDetails>, IDeepCloneable<SecurityPosture.Types.PolicyDriftDetails>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center v1 API class SecurityPosture.Types.PolicyDriftDetails.
The policy field that violates the deployed posture and its expected and
detected values.
[[["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 webpage provides reference documentation for the \u003ccode\u003eSecurityPosture.Types.PolicyDriftDetails\u003c/code\u003e class within the Google Cloud Security Command Center v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyDriftDetails\u003c/code\u003e class represents a violation of a deployed security posture, detailing the specific field, the expected value, and the detected value that caused the drift.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the \u003ccode\u003ePolicyDriftDetails\u003c/code\u003e class, ranging from version 2.2.0 up to the latest version, 3.24.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eSecurityPosture.Types.PolicyDriftDetails\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling it to handle messages, ensure equality, support deep cloning, and work with buffer messages.\u003c/p\u003e\n"],["\u003cp\u003eThe class has three main string properties: \u003ccode\u003eDetectedValue\u003c/code\u003e for the value that caused a violation, \u003ccode\u003eExpectedValue\u003c/code\u003e for the posture's configured value, and \u003ccode\u003eField\u003c/code\u003e for the name of the field that had changed.\u003c/p\u003e\n"]]],[],null,[]]