Google Cloud Web Risk V1 Client - Class SearchUrisResponse (2.0.1)

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

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

Namespace

Google \ Cloud \ WebRisk \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ threat SearchUrisResponse\ThreatUri

The threat list matches. This might be empty if the URI is on no list.

getThreat

The threat list matches. This might be empty if the URI is on no list.

Returns
Type Description
SearchUrisResponse\ThreatUri|null

hasThreat

clearThreat

setThreat

The threat list matches. This might be empty if the URI is on no list.

Parameter
Name Description
var SearchUrisResponse\ThreatUri
Returns
Type Description
$this