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. Overall filter match state for RAI. Value is MATCH_FOUND if at least one RAI filter confidence level is equal to or higher than the confidence level defined in configuration.
[[["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 V1 Client - Class RaiFilterResult (0.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.0 (latest)](/php/docs/reference/cloud-modelarmor/latest/V1.RaiFilterResult)\n- [0.3.1](/php/docs/reference/cloud-modelarmor/0.3.1/V1.RaiFilterResult)\n- [0.2.0](/php/docs/reference/cloud-modelarmor/0.2.0/V1.RaiFilterResult)\n- [0.1.0](/php/docs/reference/cloud-modelarmor/0.1.0/V1.RaiFilterResult) \nReference documentation and code samples for the Google Cloud Model Armor V1 Client class RaiFilterResult.\n\nResponsible AI Result.\n\nGenerated from protobuf message `google.cloud.modelarmor.v1.RaiFilterResult`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ModelArmor \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getExecutionState\n\nOutput only. Reports whether the RAI filter was successfully executed or\nnot.\n\n### setExecutionState\n\nOutput only. Reports whether the RAI filter was successfully executed or\nnot.\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. Overall filter match state for RAI.\n\nValue is MATCH_FOUND if at least one RAI filter confidence level is\nequal to or higher than the confidence level defined in configuration.\n\n### setMatchState\n\nOutput only. Overall filter match state for RAI.\n\nValue is MATCH_FOUND if at least one RAI filter confidence level is\nequal to or higher than the confidence level defined in configuration.\n\n### getRaiFilterTypeResults\n\nThe map of RAI filter results where key is RAI filter type - either of\n\"sexually_explicit\", \"hate_speech\", \"harassment\", \"dangerous\".\n\n### setRaiFilterTypeResults\n\nThe map of RAI filter results where key is RAI filter type - either of\n\"sexually_explicit\", \"hate_speech\", \"harassment\", \"dangerous\"."]]