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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setThreatType
The ThreatList to update.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConstraints
Required. The constraints associated with this request.
Returns | |
---|---|
Type | Description |
Google\Cloud\WebRisk\V1beta1\ComputeThreatListDiffRequest\Constraints|null |
hasConstraints
clearConstraints
setConstraints
Required. The constraints associated with this request.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\WebRisk\V1beta1\ComputeThreatListDiffRequest\Constraints
|
Returns | |
---|---|
Type | Description |
$this |