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

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\WebRisk\V1beta1\SearchUrisResponse\ThreatUri
Returns
TypeDescription
$this