public sealed class SanitizationResult : IMessage<SanitizationResult>, IEquatable<SanitizationResult>, IDeepCloneable<SanitizationResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Model Armor v1beta API class SanitizationResult.
Sanitization result after applying all the filters on input content.
public InvocationResult InvocationResult { get; set; }
Output only. A field indicating the outcome of the invocation, irrespective
of match status. It can have the following three values: SUCCESS: All
filters were executed successfully. PARTIAL: Some filters were skipped or
failed execution. FAILURE: All filters were skipped or failed execution.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Model Armor v1beta API - Class SanitizationResult (1.0.0-beta04)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta04 (latest)](/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizationResult)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/1.0.0-beta03/Google.Cloud.ModelArmor.V1Beta.SanitizationResult) \n\n public sealed class SanitizationResult : IMessage\u003cSanitizationResult\u003e, IEquatable\u003cSanitizationResult\u003e, IDeepCloneable\u003cSanitizationResult\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Model Armor v1beta API class SanitizationResult.\n\nSanitization result after applying all the filters on input content. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SanitizationResult \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SanitizationResult](/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizationResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SanitizationResult](/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizationResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SanitizationResult](/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.SanitizationResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.ModelArmor.V1Beta](/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.ModelArmor.V1Beta.dll\n\nConstructors\n------------\n\n### SanitizationResult()\n\n public SanitizationResult()\n\n### SanitizationResult(SanitizationResult)\n\n public SanitizationResult(SanitizationResult other)\n\nProperties\n----------\n\n### FilterMatchState\n\n public FilterMatchState FilterMatchState { get; set; }\n\nOutput only. Overall filter match state for Sanitization.\nThe state can have below two values.\n\n1) NO_MATCH_FOUND: No filters in configuration satisfy matching criteria.\nIn other words, input passed all filters.\n\n2) MATCH_FOUND: At least one filter in configuration satisfies matching.\nIn other words, input did not pass one or more filters.\n\n### FilterResults\n\n public MapField\u003cstring, FilterResult\u003e FilterResults { get; }\n\nOutput only. Results for all filters where the key is the filter name -\neither of \"csam\", \"malicious_uris\", \"rai\", \"pi_and_jailbreak\" ,\"sdp\".\n\n### InvocationResult\n\n public InvocationResult InvocationResult { get; set; }\n\nOutput only. A field indicating the outcome of the invocation, irrespective\nof match status. It can have the following three values: SUCCESS: All\nfilters were executed successfully. PARTIAL: Some filters were skipped or\nfailed execution. FAILURE: All filters were skipped or failed execution.\n\n### SanitizationMetadata\n\n public SanitizationResult.Types.SanitizationMetadata SanitizationMetadata { get; set; }\n\nOutput only. Metadata related to Sanitization."]]