1.0.0 (latest) 1.0.0-beta07

    public sealed class SanitizationResult.Types.SanitizationMetadata : IMessage<SanitizationResult.Types.SanitizationMetadata>, IEquatable<SanitizationResult.Types.SanitizationMetadata>, IDeepCloneable<SanitizationResult.Types.SanitizationMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Model Armor v1 API class SanitizationResult.Types.SanitizationMetadata.

Message describing Sanitization metadata.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SanitizationResult.Types.SanitizationMetadata

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SanitizationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult.Types)[SanitizationMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult.Types.SanitizationMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SanitizationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult.Types)[SanitizationMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult.Types.SanitizationMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SanitizationResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult.Types)[SanitizationMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult.Types.SanitizationMetadata), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ModelArmor.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1)

## Assembly

Google.Cloud.ModelArmor.V1.dll

## Constructors

### SanitizationMetadata()

    public SanitizationMetadata()

### SanitizationMetadata(SanitizationMetadata)

    public SanitizationMetadata(SanitizationResult.Types.SanitizationMetadata other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResulthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.SanitizationResult.Types.SanitizationMetadata` |

## Properties

### ErrorCode

    public long ErrorCode { get; set; }

Error code if any.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### ErrorMessage

    public string ErrorMessage { get; set; }

Error message if any.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### IgnorePartialInvocationFailures

    public bool IgnorePartialInvocationFailures { get; set; }

Passthrough field defined in TemplateMetadata to indicate whether to ignore partial invocation failures.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### StreamChunkProcessed

    public DataItem StreamChunkProcessed { get; set; }

Output only. The stream chunk processed by the Sanitization service.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1/latest/Google.Cloud.ModelArmor.V1.DataItem` |   |