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

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

Describes an API diff request.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ threat_type int

The ThreatList to update.

↳ version_token string

The current version token of the client for the requested list (the client version that was received from the last successful diff).

↳ constraints Google\Cloud\WebRisk\V1beta1\ComputeThreatListDiffRequest\Constraints

Required. The constraints associated with this request.

getThreatType

The ThreatList to update.

Returns
TypeDescription
int

setThreatType

The ThreatList to update.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getVersionToken

The current version token of the client for the requested list (the client version that was received from the last successful diff).

Returns
TypeDescription
string

setVersionToken

The current version token of the client for the requested list (the client version that was received from the last successful diff).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConstraints

Required. The constraints associated with this request.

Returns
TypeDescription
Google\Cloud\WebRisk\V1beta1\ComputeThreatListDiffRequest\Constraints|null

hasConstraints

clearConstraints

setConstraints

Required. The constraints associated with this request.

Parameter
NameDescription
var Google\Cloud\WebRisk\V1beta1\ComputeThreatListDiffRequest\Constraints
Returns
TypeDescription
$this