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"]],[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eAdaptiveProtection\u003c/code\u003e class within the Security Command Center v2 API from Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAdaptiveProtection\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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor and one that accepts another \u003ccode\u003eAdaptiveProtection\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdaptiveProtection\u003c/code\u003e class includes a \u003ccode\u003eConfidence\u003c/code\u003e property, which is a double value indicating the confidence level that a detected event is an actual attack, ranging from 0 (low) to 1 (high).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdaptiveProtection\u003c/code\u003e is related to the information provided in the \u003ca href=\"https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection\"\u003eGoogle Cloud Armor Adaptive Protection\u003c/a\u003e documentation.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class AdaptiveProtection (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.AdaptiveProtection)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.AdaptiveProtection)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.AdaptiveProtection) \n\n public sealed class AdaptiveProtection : IMessage\u003cAdaptiveProtection\u003e, IEquatable\u003cAdaptiveProtection\u003e, IDeepCloneable\u003cAdaptiveProtection\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class AdaptiveProtection.\n\nInformation about [Google Cloud Armor Adaptive\nProtection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AdaptiveProtection \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AdaptiveProtection](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.AdaptiveProtection), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AdaptiveProtection](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.AdaptiveProtection), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AdaptiveProtection](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.AdaptiveProtection), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### AdaptiveProtection()\n\n public AdaptiveProtection()\n\n### AdaptiveProtection(AdaptiveProtection)\n\n public AdaptiveProtection(AdaptiveProtection other)\n\nProperties\n----------\n\n### Confidence\n\n public double Confidence { get; set; }\n\nA score of 0 means that there is low confidence that the detected event is\nan actual attack. A score of 1 means that there is high confidence that the\ndetected event is an attack. See the [Adaptive Protection\ndocumentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning)\nfor further explanation."]]