Reference documentation and code samples for the Google Cloud Web Risk V1 Client class ComputeThreatListDiffRequest.
Describes an API diff request.
Generated from protobuf message google.cloud.webrisk.v1.ComputeThreatListDiffRequest
Namespace
Google \ Cloud \ WebRisk \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ threat_type
int
Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.
↳ 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). If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.
↳ constraints
Google\Cloud\WebRisk\V1\ComputeThreatListDiffRequest\Constraints
Required. The constraints associated with this request.
getThreatType
Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.
int
setThreatType
Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.
var
int
$this
getVersionToken
The current version token of the client for the requested list (the client version that was received from the last successful diff).
If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.
string
setVersionToken
The current version token of the client for the requested list (the client version that was received from the last successful diff).
If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.
var
string
$this
getConstraints
Required. The constraints associated with this request.
hasConstraints
clearConstraints
setConstraints
Required. The constraints associated with this request.
$this
static::build
threatType
int
Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType. For allowed values, use constants defined on Google\Cloud\WebRisk\V1\ThreatType
versionToken
string
The current version token of the client for the requested list (the client version that was received from the last successful diff). If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.
constraints
Google\Cloud\WebRisk\V1\ComputeThreatListDiffRequest\Constraints
Required. The constraints associated with this request.