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

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
Name
Description
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
Type
Description
string

setUri

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

Parameter
Name
Description
var
string
Returns
Type
Description
$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
Type
Description

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
Name
Description
var
int[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: