WebRisk/src/V1beta1/SearchUrisResponse.php
public function setThreat($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\WebRisk\V1beta1\SearchUrisResponse_ThreatUri::class);
        $this->threat = $var;

        return $this;
    }
public function setThreat($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\WebRisk\V1beta1\SearchUrisResponse_ThreatUri::class);
        $this->threat = $var;

        return $this;
    }
public function setThreat ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ WebRisk \ V1beta1 \ SearchUrisResponse_ThreatUri :: class ) ; $ this -> threat = $ var ; return $ this ; }
The threat list matches. This may be empty if the URI is on no list.

Generated from protobuf field <code>.google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri threat = 1;</code>
@param \Google\Cloud\WebRisk\V1beta1\SearchUrisResponse\ThreatUri $var
@return $this
The threat list matches . This may be empty if the URI is on no list .