public sealed class McpServerFloorSetting : IMessage<McpServerFloorSetting>, IEquatable<McpServerFloorSetting>, IDeepCloneable<McpServerFloorSetting>, IBufferMessage, IMessageReference documentation and code samples for the Model Armor v1beta API class McpServerFloorSetting.
Message describing MCP Server Floor Setting.
Implements
IMessageMcpServerFloorSetting, IEquatableMcpServerFloorSetting, IDeepCloneableMcpServerFloorSetting, IBufferMessage, IMessageNamespace
Google.Cloud.ModelArmor.V1BetaAssembly
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 |
|