Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Requests.
Information about the requests relevant to the finding.
Generated from protobuf message google.cloud.securitycenter.v2.Requests
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ ratio
float
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.
↳ short_term_allowed
int
Allowed RPS (requests per second) in the short term.
↳ long_term_allowed
int
Allowed RPS (requests per second) over the long term.
↳ long_term_denied
int
Denied RPS (requests per second) over the long term.
getRatio
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.
float
setRatio
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.
var
float
$this
getShortTermAllowed
Allowed RPS (requests per second) in the short term.
int
setShortTermAllowed
Allowed RPS (requests per second) in the short term.
var
int
$this
getLongTermAllowed
Allowed RPS (requests per second) over the long term.
int
setLongTermAllowed
Allowed RPS (requests per second) over the long term.
var
int
$this
getLongTermDenied
Denied RPS (requests per second) over the long term.
int
setLongTermDenied
Denied RPS (requests per second) over the long term.
var
int
$this