Google Cloud Web Risk V1beta1 Client - Class SearchHashesResponse (1.3.0)

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

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ threats
array< Google\Cloud\WebRisk\V1beta1\SearchHashesResponse\ThreatHash >

The full hashes that matched the requested prefixes. The hash will be populated in the key.

↳ negative_expire_time
Google\Protobuf\Timestamp

For requested entities that did not match the threat list, how long to cache the response until.

getThreats

The full hashes that matched the requested prefixes.

The hash will be populated in the key.

Returns
Type
Description

setThreats

The full hashes that matched the requested prefixes.

The hash will be populated in the key.

Parameter
Name
Description
Returns
Type
Description
$this

getNegativeExpireTime

For requested entities that did not match the threat list, how long to cache the response until.

Returns
Type
Description

hasNegativeExpireTime

clearNegativeExpireTime

setNegativeExpireTime

For requested entities that did not match the threat list, how long to cache the response until.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: