Google Cloud Web Risk V1 Client - Class ThreatJustification (1.4.4)

Reference documentation and code samples for the Google Cloud Web Risk V1 Client class ThreatJustification.

Context about why the URI is unsafe.

Generated from protobuf message google.cloud.webrisk.v1.ThreatInfo.ThreatJustification

Namespace

Google \ Cloud \ WebRisk \ V1 \ ThreatInfo

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ labels array

Labels associated with this URI that explain how it was classified.

↳ comments array

Free-form context on why this URI is unsafe.

getLabels

Labels associated with this URI that explain how it was classified.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLabels

Labels associated with this URI that explain how it was classified.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

getComments

Free-form context on why this URI is unsafe.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setComments

Free-form context on why this URI is unsafe.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this