Reference documentation and code samples for the Google Cloud Model Armor V1beta Client class VirusDetail.
Details of an identified virus
Generated from protobuf message google.cloud.modelarmor.v1beta.VirusDetail
Namespace
Google \ Cloud \ ModelArmor \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ vendor |
string
Name of vendor that produced this virus identification. |
↳ names |
array
Names of this Virus. |
↳ threat_type |
int
Threat type of the identified virus |
getVendor
Name of vendor that produced this virus identification.
Returns | |
---|---|
Type | Description |
string |
setVendor
Name of vendor that produced this virus identification.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNames
Names of this Virus.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setNames
Names of this Virus.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getThreatType
Threat type of the identified virus
Returns | |
---|---|
Type | Description |
int |
setThreatType
Threat type of the identified virus
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |