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

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
Name Description
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
Type Description
string

setUri

Required. The URI to be checked for matches.

Parameter
Name Description
var string
Returns
Type Description
$this

getThreatTypes

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setThreatTypes

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

Parameter
Name Description
var int[]
Returns
Type Description
$this

static::build

Parameters
Name Description
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 ThreatType

Returns
Type Description
SearchUrisRequest