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

1.0.0-beta06 (latest) 1.0.0-beta05

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

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

Message describing MCP Server Floor Setting.

## Inheritance

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

## Implements

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

### McpServerFloorSetting()

    public McpServerFloorSetting()

### McpServerFloorSetting(McpServerFloorSetting)

    public McpServerFloorSetting(McpServerFloorSetting other)

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

## Properties

### Apis

    public RepeatedField<string> Apis { get; }

Optional. List of MCP servers for which the MCP floor setting is
applicable. Examples: "bigquery.googleapis.com/mcp",
"run.googleapis.com/mcp" Empty list denotes that the floor setting is
applicable to all MCP servers.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### 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 McpServerFloorSetting.EnforcementTypeOneofCase EnforcementTypeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.McpServerFloorSettinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ModelArmor.V1Beta/latest/Google.Cloud.ModelArmor.V1Beta.McpServerFloorSetting.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` |   |