Reference documentation and code samples for the Data Loss Prevention V2 Client class InspectResult.
All the findings for a single scanned item.
Generated from protobuf message google.privacy.dlp.v2.InspectResult
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ findings |
array<Finding>
List of findings for an item. |
↳ findings_truncated |
bool
If true, then this item might have more findings than were returned, and the findings returned are an arbitrary subset of all findings. The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call. For best results, divide the input into smaller batches. |
getFindings
List of findings for an item.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setFindings
List of findings for an item.
Parameter | |
---|---|
Name | Description |
var |
array<Finding>
|
Returns | |
---|---|
Type | Description |
$this |
getFindingsTruncated
If true, then this item might have more findings than were returned, and the findings returned are an arbitrary subset of all findings.
The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call. For best results, divide the input into smaller batches.
Returns | |
---|---|
Type | Description |
bool |
setFindingsTruncated
If true, then this item might have more findings than were returned, and the findings returned are an arbitrary subset of all findings.
The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call. For best results, divide the input into smaller batches.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |