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

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 > McpServerFloorSetting

Namespace

Google.Cloud.ModelArmor.V1Beta

Assembly

Google.Cloud.ModelArmor.V1Beta.dll

Constructors

McpServerFloorSetting()

public McpServerFloorSetting()

McpServerFloorSetting(McpServerFloorSetting)

public McpServerFloorSetting(McpServerFloorSetting other)
Parameter
Name Description
other 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
RepeatedFieldstring

EnableCloudLogging

public bool EnableCloudLogging { get; set; }

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

Property Value
Type Description
bool

EnforcementTypeCase

public McpServerFloorSetting.EnforcementTypeOneofCase EnforcementTypeCase { get; }
Property Value
Type Description
McpServerFloorSettingEnforcementTypeOneofCase

HasInspectAndBlock

public bool HasInspectAndBlock { get; }

Gets whether the "inspect_and_block" field is set

Property Value
Type Description
bool

HasInspectOnly

public bool HasInspectOnly { get; }

Gets whether the "inspect_only" field is set

Property Value
Type Description
bool

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
bool

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
bool