# Model Armor v1beta API - Class AiPlatformFloorSetting (1.0.0-beta06)

1.0.0-beta06 (latest) 1.0.0-beta05

    public sealed class AiPlatformFloorSetting : IMessage<AiPlatformFloorSetting>, IEquatable<AiPlatformFloorSetting>, IDeepCloneable<AiPlatformFloorSetting>, IBufferMessage, IMessage

Reference documentation and code samples for the Model Armor v1beta API class AiPlatformFloorSetting.

message describing AiPlatformFloorSetting

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.ModelArmor.V1Beta.dll

## Constructors

### AiPlatformFloorSetting()

    public AiPlatformFloorSetting()

### AiPlatformFloorSetting(AiPlatformFloorSetting)

    public AiPlatformFloorSetting(AiPlatformFloorSetting other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.AiPlatformFloorSetting` |

## Properties

### EnableCloudLogging

    public bool EnableCloudLogging { get; set; }

Optional. If true, log Model Armor filter results to Cloud Logging.

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

### EnforcementTypeCase

    public AiPlatformFloorSetting.EnforcementTypeOneofCase EnforcementTypeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.AiPlatformFloorSettinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.AiPlatformFloorSetting.EnforcementTypeOneofCase` |   |

### HasInspectAndBlock

    public bool HasInspectAndBlock { get; }

Gets whether the "inspect_and_block" field is set

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

### HasInspectOnly

    public bool HasInspectOnly { get; }

Gets whether the "inspect_only" field is set

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

### InspectAndBlock

    public bool InspectAndBlock { get; set; }

Optional. If true, Model Armor filters will be run in inspect and block
mode. Requests that trip Model Armor filters will be blocked.

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

### InspectOnly

    public bool InspectOnly { get; set; }

Optional. If true, Model Armor filters will be run in inspect only mode.
No action will be taken on the request.

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