Google Cloud Web Risk V1beta1 Client - Class SearchUrisResponse (1.5.4)

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

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

Namespace

Google \ Cloud \ WebRisk \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ threat Google\Cloud\WebRisk\V1beta1\SearchUrisResponse\ThreatUri

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

getThreat

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

Returns
Type Description
Google\Cloud\WebRisk\V1beta1\SearchUrisResponse\ThreatUri|null

hasThreat

clearThreat

setThreat

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

Parameter
Name Description
var Google\Cloud\WebRisk\V1beta1\SearchUrisResponse\ThreatUri
Returns
Type Description
$this