Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
↳ match_state
int
Output only. Match state for SDP Inspection. Value is MATCH_FOUND if at least one Sensitive Data Protection finding is identified.
If true, then there is possibility that more findings were identified and the findings returned are a 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.
getExecutionState
Output only. Reports whether Sensitive Data Protection inspection was
successfully executed or not.
Returns
Type
Description
int
Enum of typeFilterExecutionState.
setExecutionState
Output only. Reports whether Sensitive Data Protection inspection was
successfully executed or not.
Parameter
Name
Description
var
int
Enum of typeFilterExecutionState.
Returns
Type
Description
$this
getMessageItems
Optional messages corresponding to the result.
A message can provide warnings or error details.
For example, if execution state is skipped then this field provides
related reason/explanation.
If true, then there is possibility that more findings were identified and
the findings returned are a 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.
Returns
Type
Description
bool
setFindingsTruncated
If true, then there is possibility that more findings were identified and
the findings returned are a 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Model Armor V1 Client - Class SdpInspectResult (0.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.0 (latest)](/php/docs/reference/cloud-modelarmor/latest/V1.SdpInspectResult)\n- [0.3.1](/php/docs/reference/cloud-modelarmor/0.3.1/V1.SdpInspectResult)\n- [0.2.0](/php/docs/reference/cloud-modelarmor/0.2.0/V1.SdpInspectResult)\n- [0.1.0](/php/docs/reference/cloud-modelarmor/0.1.0/V1.SdpInspectResult) \nReference documentation and code samples for the Google Cloud Model Armor V1 Client class SdpInspectResult.\n\nSensitive Data Protection Inspection Result.\n\nGenerated from protobuf message `google.cloud.modelarmor.v1.SdpInspectResult`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ModelArmor \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getExecutionState\n\nOutput only. Reports whether Sensitive Data Protection inspection was\nsuccessfully executed or not.\n\n### setExecutionState\n\nOutput only. Reports whether Sensitive Data Protection inspection was\nsuccessfully executed or not.\n\n### getMessageItems\n\nOptional messages corresponding to the result.\n\nA message can provide warnings or error details.\nFor example, if execution state is skipped then this field provides\nrelated reason/explanation.\n\n### setMessageItems\n\nOptional messages corresponding to the result.\n\nA message can provide warnings or error details.\nFor example, if execution state is skipped then this field provides\nrelated reason/explanation.\n\n### getMatchState\n\nOutput only. Match state for SDP Inspection.\n\nValue is MATCH_FOUND if at least one Sensitive Data Protection finding is\nidentified.\n\n### setMatchState\n\nOutput only. Match state for SDP Inspection.\n\nValue is MATCH_FOUND if at least one Sensitive Data Protection finding is\nidentified.\n\n### getFindings\n\nList of Sensitive Data Protection findings.\n\n### setFindings\n\nList of Sensitive Data Protection findings.\n\n### getFindingsTruncated\n\nIf true, then there is possibility that more findings were identified and\nthe findings returned are a subset of all findings. The findings\nlist might be truncated because the input items were too large, or because\nthe server reached the maximum amount of resources allowed for a single API\ncall.\n\n### setFindingsTruncated\n\nIf true, then there is possibility that more findings were identified and\nthe findings returned are a subset of all findings. The findings\nlist might be truncated because the input items were too large, or because\nthe server reached the maximum amount of resources allowed for a single API\ncall."]]