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 Prompt injection and Jailbreak.
↳ confidence_level
int
Confidence level identified for Prompt injection and Jailbreak.
getExecutionState
Output only. Reports whether Prompt injection and Jailbreak filter was
successfully executed or not.
Returns
Type
Description
int
setExecutionState
Output only. Reports whether Prompt injection and Jailbreak filter was
successfully executed or not.
Parameter
Name
Description
var
int
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.
[[["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-04 UTC."],[],[],null,["# Google Cloud Model Armor V1beta Client - Class PiAndJailbreakFilterResult (0.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.0 (latest)](/php/docs/reference/cloud-modelarmor/latest/V1beta.PiAndJailbreakFilterResult)\n- [0.3.1](/php/docs/reference/cloud-modelarmor/0.3.1/V1beta.PiAndJailbreakFilterResult)\n- [0.2.0](/php/docs/reference/cloud-modelarmor/0.2.0/V1beta.PiAndJailbreakFilterResult)\n- [0.1.0](/php/docs/reference/cloud-modelarmor/0.1.0/V1beta.PiAndJailbreakFilterResult) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Model Armor V1beta Client class PiAndJailbreakFilterResult.\n\nPrompt injection and Jailbreak Filter Result.\n\nGenerated from protobuf message `google.cloud.modelarmor.v1beta.PiAndJailbreakFilterResult`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ModelArmor \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getExecutionState\n\nOutput only. Reports whether Prompt injection and Jailbreak filter was\nsuccessfully executed or not.\n\n### setExecutionState\n\nOutput only. Reports whether Prompt injection and Jailbreak filter 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 Prompt injection and Jailbreak.\n\n### setMatchState\n\nOutput only. Match state for Prompt injection and Jailbreak.\n\n### getConfidenceLevel\n\nConfidence level identified for Prompt injection and Jailbreak.\n\n### setConfidenceLevel\n\nConfidence level identified for Prompt injection and Jailbreak."]]