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

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 Google\Cloud\WebRisk\V1\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
Google\Cloud\WebRisk\V1\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 Google\Cloud\WebRisk\V1\SearchUrisResponse\ThreatUri
Returns
Type Description
$this