Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::Requests (v1.3.0)

Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::Requests.

Information about the requests relevant to the finding.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#long_term_allowed

def long_term_allowed() -> ::Integer
Returns
  • (::Integer) — Allowed RPS (requests per second) over the long term.

#long_term_allowed=

def long_term_allowed=(value) -> ::Integer
Parameter
  • value (::Integer) — Allowed RPS (requests per second) over the long term.
Returns
  • (::Integer) — Allowed RPS (requests per second) over the long term.

#long_term_denied

def long_term_denied() -> ::Integer
Returns
  • (::Integer) — Denied RPS (requests per second) over the long term.

#long_term_denied=

def long_term_denied=(value) -> ::Integer
Parameter
  • value (::Integer) — Denied RPS (requests per second) over the long term.
Returns
  • (::Integer) — Denied RPS (requests per second) over the long term.

#ratio

def ratio() -> ::Float
Returns
  • (::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.

#ratio=

def ratio=(value) -> ::Float
Parameter
  • value (::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.
Returns
  • (::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

def short_term_allowed() -> ::Integer
Returns
  • (::Integer) — Allowed RPS (requests per second) in the short term.

#short_term_allowed=

def short_term_allowed=(value) -> ::Integer
Parameter
  • value (::Integer) — Allowed RPS (requests per second) in the short term.
Returns
  • (::Integer) — Allowed RPS (requests per second) in the short term.