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

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

Request to send a potentially malicious URI to WebRisk.

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

Namespace

Google \ Cloud \ WebRisk \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".

↳ submission Google\Cloud\WebRisk\V1\Submission

Required. The submission that contains the URI to be scanned.

↳ threat_info Google\Cloud\WebRisk\V1\ThreatInfo

Provides additional information about the submission.

↳ threat_discovery Google\Cloud\WebRisk\V1\ThreatDiscovery

Provides additional information about how the submission was discovered.

getParent

Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".

Returns
TypeDescription
string

setParent

Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubmission

Required. The submission that contains the URI to be scanned.

Returns
TypeDescription
Google\Cloud\WebRisk\V1\Submission|null

hasSubmission

clearSubmission

setSubmission

Required. The submission that contains the URI to be scanned.

Parameter
NameDescription
var Google\Cloud\WebRisk\V1\Submission
Returns
TypeDescription
$this

getThreatInfo

Provides additional information about the submission.

Returns
TypeDescription
Google\Cloud\WebRisk\V1\ThreatInfo|null

hasThreatInfo

clearThreatInfo

setThreatInfo

Provides additional information about the submission.

Parameter
NameDescription
var Google\Cloud\WebRisk\V1\ThreatInfo
Returns
TypeDescription
$this

getThreatDiscovery

Provides additional information about how the submission was discovered.

Returns
TypeDescription
Google\Cloud\WebRisk\V1\ThreatDiscovery|null

hasThreatDiscovery

clearThreatDiscovery

setThreatDiscovery

Provides additional information about how the submission was discovered.

Parameter
NameDescription
var Google\Cloud\WebRisk\V1\ThreatDiscovery
Returns
TypeDescription
$this