Google Cloud Web Risk V1 Client - Class SearchUrisRequest (1.5.0)

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

Request to check URI entries against threatLists.

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

Namespace

Google \ Cloud \ WebRisk \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uri string

Required. The URI to be checked for matches.

↳ threat_types array

Required. The ThreatLists to search in. Multiple ThreatLists may be specified.

getUri

Required. The URI to be checked for matches.

Returns
TypeDescription
string

setUri

Required. The URI to be checked for matches.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getThreatTypes

Required. The ThreatLists to search in. Multiple ThreatLists may be specified.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setThreatTypes

Required. The ThreatLists to search in. Multiple ThreatLists may be specified.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
uri string

Required. The URI to be checked for matches.

threatTypes int[]

Required. The ThreatLists to search in. Multiple ThreatLists may be specified. For allowed values, use constants defined on Google\Cloud\WebRisk\V1\ThreatType

Returns
TypeDescription
Google\Cloud\WebRisk\V1\SearchUrisRequest