Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution status is skipped then this field provides related reason/explanation.
↳ match_state
int
Output only. Match status for Virus. Value is MATCH_FOUND if the data is infected with a virus.
[[["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 VirusScanFilterResult (0.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.0 (latest)](/php/docs/reference/cloud-modelarmor/latest/V1beta.VirusScanFilterResult)\n- [0.3.1](/php/docs/reference/cloud-modelarmor/0.3.1/V1beta.VirusScanFilterResult)\n- [0.2.0](/php/docs/reference/cloud-modelarmor/0.2.0/V1beta.VirusScanFilterResult)\n- [0.1.0](/php/docs/reference/cloud-modelarmor/0.1.0/V1beta.VirusScanFilterResult) \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 VirusScanFilterResult.\n\nVirus scan results.\n\nGenerated from protobuf message `google.cloud.modelarmor.v1beta.VirusScanFilterResult`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ModelArmor \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getExecutionState\n\nOutput only. Reports whether Virus Scan was successfully executed or not.\n\n### setExecutionState\n\nOutput only. Reports whether Virus Scan was successfully 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 status 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 status is skipped then this field provides\nrelated reason/explanation.\n\n### getMatchState\n\nOutput only. Match status for Virus.\n\nValue is MATCH_FOUND if the data is infected with a virus.\n\n### setMatchState\n\nOutput only. Match status for Virus.\n\nValue is MATCH_FOUND if the data is infected with a virus.\n\n### getScannedContentType\n\nType of content scanned.\n\n### setScannedContentType\n\nType of content scanned.\n\n### getScannedSize\n\nSize of scanned content in bytes.\n\n### hasScannedSize\n\n### clearScannedSize\n\n### setScannedSize\n\nSize of scanned content in bytes.\n\n### getVirusDetails\n\nList of Viruses identified.\n\nThis field will be empty if no virus was detected.\n\n### setVirusDetails\n\nList of Viruses identified.\n\nThis field will be empty if no virus was detected."]]