# Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::Attack (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::Attack.

Information about DDoS attack volume and classification.

## Inherits

- [Object](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-Kubernetes-Object)

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #classification

    def classification() -> ::String

**Returns**

- (::String) --- Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.

### #classification=

    def classification=(value) -> ::String

**Parameter**

- **value** (::String) --- Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
**Returns**

- (::String) --- Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.

### #volume_bps

    def volume_bps() -> ::Integer

**Returns**

- (::Integer) --- Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.

### #volume_bps=

    def volume_bps=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
**Returns**

- (::Integer) --- Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.

### #volume_bps_long

    def volume_bps_long() -> ::Integer

**Returns**

- (::Integer) --- Total BPS (bytes per second) volume of attack.

### #volume_bps_long=

    def volume_bps_long=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Total BPS (bytes per second) volume of attack.
**Returns**

- (::Integer) --- Total BPS (bytes per second) volume of attack.

### #volume_pps

    def volume_pps() -> ::Integer

**Returns**

- (::Integer) --- Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.

### #volume_pps=

    def volume_pps=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
**Returns**

- (::Integer) --- Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.

### #volume_pps_long

    def volume_pps_long() -> ::Integer

**Returns**

- (::Integer) --- Total PPS (packets per second) volume of attack.

### #volume_pps_long=

    def volume_pps_long=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Total PPS (packets per second) volume of attack.
**Returns**

- (::Integer) --- Total PPS (packets per second) volume of attack.