# Google Cloud Network Security V1 Client - Class ThreatType (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class ThreatType.

Type of threat.

Protobuf type `google.cloud.networksecurity.v1.ThreatType`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### THREAT_TYPE_UNSPECIFIED

    Value: 0

Type of threat not specified.

Generated from protobuf enum `THREAT_TYPE_UNSPECIFIED = 0;`

### UNKNOWN

    Value: 1

Type of threat is not derivable from threat ID. An override will be
created for all types. Firewall will ignore overridden signature ID's
that don't exist in the specific type.

Generated from protobuf enum `UNKNOWN = 1;`

### VULNERABILITY

    Value: 2

Threats related to system flaws that an attacker might otherwise attempt
to exploit.

Generated from protobuf enum `VULNERABILITY = 2;`

### ANTIVIRUS

    Value: 3

Threats related to viruses and malware found in executables and file
types.

Generated from protobuf enum `ANTIVIRUS = 3;`

### SPYWARE

    Value: 4

Threats related to command-and-control (C2) activity, where spyware on an
infected client is collecting data without the user's consent and/or
communicating with a remote attacker.

Generated from protobuf enum `SPYWARE = 4;`

### DNS

    Value: 5

Threats related to DNS.

Generated from protobuf enum `DNS = 5;`