public sealed class AdaptiveProtection : IMessage<AdaptiveProtection>, IEquatable<AdaptiveProtection>, IDeepCloneable<AdaptiveProtection>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class AdaptiveProtection.
A score of 0 means that there is low confidence that the detected event is
an actual attack. A score of 1 means that there is high confidence that the
detected event is an attack. See the Adaptive Protection
documentation
for further explanation.
[[["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\u003eThe \u003ccode\u003eAdaptiveProtection\u003c/code\u003e class is part of the Security Command Center v2 API and provides information about Google Cloud Armor Adaptive Protection.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor and one that takes another \u003ccode\u003eAdaptiveProtection\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt features a \u003ccode\u003eConfidence\u003c/code\u003e property, a double value indicating the confidence level that a detected event is an actual attack, with 0 being low confidence and 1 being high confidence.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdaptiveProtection\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]