Reference documentation and code samples for the Data Loss Prevention V2 Client class Error.
Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.
Generated from protobuf message google.privacy.dlp.v2.Error
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ details |
Google\Rpc\Status
Detailed error codes and messages. |
↳ timestamps |
array<Google\Protobuf\Timestamp>
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps. |
↳ extra_info |
int
Additional information about the error. |
getDetails
Detailed error codes and messages.
Returns | |
---|---|
Type | Description |
Google\Rpc\Status|null |
hasDetails
clearDetails
setDetails
Detailed error codes and messages.
Parameter | |
---|---|
Name | Description |
var |
Google\Rpc\Status
|
Returns | |
---|---|
Type | Description |
$this |
getTimestamps
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setTimestamps
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Protobuf\Timestamp>
|
Returns | |
---|---|
Type | Description |
$this |
getExtraInfo
Additional information about the error.
Returns | |
---|---|
Type | Description |
int |
setExtraInfo
Additional information about the error.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |