Google Cloud Web Risk V1 Client - Class ThreatJustification (1.5.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setLabels

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

Parameter
Name Description
var int[]
Returns
Type Description
$this

getComments

Free-form context on why this URI is unsafe.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setComments

Free-form context on why this URI is unsafe.

Parameter
Name Description
var string[]
Returns
Type Description
$this