For 'Increasing deny ratio', the ratio is the denied traffic divided by the
allowed traffic. For 'Allowed traffic spike', the ratio is the allowed
traffic in the short term divided by allowed traffic in the long term.
[[["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\u003eThe \u003ccode\u003eRequests\u003c/code\u003e class in the Security Command Center v2 API provides information about requests relevant to a finding, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces including \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\u003eThis class is used 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"],["\u003cp\u003eThe \u003ccode\u003eRequests\u003c/code\u003e class includes properties such as \u003ccode\u003eLongTermAllowed\u003c/code\u003e, \u003ccode\u003eLongTermDenied\u003c/code\u003e, \u003ccode\u003eRatio\u003c/code\u003e, and \u003ccode\u003eShortTermAllowed\u003c/code\u003e, which quantify different aspects of request rates and ratios, such as allowed and denied RPS (requests per second).\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available to create \u003ccode\u003eRequests\u003c/code\u003e objects, either with default values using \u003ccode\u003eRequests()\u003c/code\u003e, or by copying values from another \u003ccode\u003eRequests\u003c/code\u003e object with \u003ccode\u003eRequests(Requests other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class Requests (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.Requests)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.Requests)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.Requests) \n\n public sealed class Requests : IMessage\u003cRequests\u003e, IEquatable\u003cRequests\u003e, IDeepCloneable\u003cRequests\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class Requests.\n\nInformation about the requests relevant to the finding. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Requests \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Requests](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Requests), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Requests](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Requests), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Requests](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.Requests), [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### Requests()\n\n public Requests()\n\n### Requests(Requests)\n\n public Requests(Requests other)\n\nProperties\n----------\n\n### LongTermAllowed\n\n public int LongTermAllowed { get; set; }\n\nAllowed RPS (requests per second) over the long term.\n\n### LongTermDenied\n\n public int LongTermDenied { get; set; }\n\nDenied RPS (requests per second) over the long term.\n\n### Ratio\n\n public double Ratio { get; set; }\n\nFor 'Increasing deny ratio', the ratio is the denied traffic divided by the\nallowed traffic. For 'Allowed traffic spike', the ratio is the allowed\ntraffic in the short term divided by allowed traffic in the long term.\n\n### ShortTermAllowed\n\n public int ShortTermAllowed { get; set; }\n\nAllowed RPS (requests per second) in the short term."]]