[[["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\u003eAttack\u003c/code\u003e class in the Security Command Center v2 API provides information about DDoS attack characteristics, including classification and volume.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, comparison, deep cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttack\u003c/code\u003e class includes properties for attack classification (\u003ccode\u003eClassification\u003c/code\u003e) and volume, measured in both bytes per second (\u003ccode\u003eVolumeBpsLong\u003c/code\u003e) and packets per second (\u003ccode\u003eVolumePpsLong\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThere are deprecated properties, \u003ccode\u003eVolumeBps\u003c/code\u003e and \u003ccode\u003eVolumePps\u003c/code\u003e, which have been replaced by \u003ccode\u003eVolumeBpsLong\u003c/code\u003e and \u003ccode\u003eVolumePpsLong\u003c/code\u003e, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttack\u003c/code\u003e class can be instantiated using two constructors: a default one, \u003ccode\u003eAttack()\u003c/code\u003e, and one that takes an existing \u003ccode\u003eAttack\u003c/code\u003e object for creating a copy, \u003ccode\u003eAttack(Attack other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class Attack (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.Attack)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.Attack)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.Attack) \n\n public sealed class Attack : IMessage\u003cAttack\u003e, IEquatable\u003cAttack\u003e, IDeepCloneable\u003cAttack\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class Attack.\n\nInformation about DDoS attack volume and classification. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Attack \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Attack](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Attack), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Attack](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Attack), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Attack](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Attack), [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### Attack()\n\n public Attack()\n\n### Attack(Attack)\n\n public Attack(Attack other)\n\nProperties\n----------\n\n### Classification\n\n public string Classification { get; set; }\n\nType of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.\n\n### VolumeBps\n\n [Obsolete]\n public int VolumeBps { get; set; }\n\nTotal BPS (bytes per second) volume of attack. Deprecated - refer to\nvolume_bps_long instead.\n\n### VolumeBpsLong\n\n public long VolumeBpsLong { get; set; }\n\nTotal BPS (bytes per second) volume of attack.\n\n### VolumePps\n\n [Obsolete]\n public int VolumePps { get; set; }\n\nTotal PPS (packets per second) volume of attack. Deprecated - refer to\nvolume_pps_long instead.\n\n### VolumePpsLong\n\n public long VolumePpsLong { get; set; }\n\nTotal PPS (packets per second) volume of attack."]]