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

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

Wraps a URI that might be displaying malicious content.

Generated from protobuf message google.cloud.webrisk.v1.Submission

Namespace

Google \ Cloud \ WebRisk \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uri string

Required. The URI that is being reported for malicious content to be analyzed.

↳ threat_types array

Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.

getUri

Required. The URI that is being reported for malicious content to be analyzed.

Returns
TypeDescription
string

setUri

Required. The URI that is being reported for malicious content to be analyzed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getThreatTypes

Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setThreatTypes

Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this