0.10.0 (latest) 0.9.0 0.8.4 0.7.0 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Model Armor V1 Client class ThreatType.

Defines all the threat types of a virus

Protobuf type `google.cloud.modelarmor.v1.VirusDetail.ThreatType`

## Namespace

Google \\ Cloud \\ ModelArmor \\ V1 \\ VirusDetail

## Methods

### static::name

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

### static::value

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

## Constants

### THREAT_TYPE_UNSPECIFIED

    Value: 0

Unused

Generated from protobuf enum `THREAT_TYPE_UNSPECIFIED = 0;`

### UNKNOWN

    Value: 1

Unable to categorize threat

Generated from protobuf enum `UNKNOWN = 1;`

### VIRUS_OR_WORM

    Value: 2

Virus or Worm threat.

Generated from protobuf enum `VIRUS_OR_WORM = 2;`

### MALICIOUS_PROGRAM

    Value: 3

Malicious program. E.g. Spyware, Trojan.

Generated from protobuf enum `MALICIOUS_PROGRAM = 3;`

### POTENTIALLY_HARMFUL_CONTENT

    Value: 4

Potentially harmful content. E.g. Injected code, Macro

Generated from protobuf enum `POTENTIALLY_HARMFUL_CONTENT = 4;`

### POTENTIALLY_UNWANTED_CONTENT

    Value: 5

Potentially unwanted content. E.g. Adware.

Generated from protobuf enum `POTENTIALLY_UNWANTED_CONTENT = 5;`