Reference documentation and code samples for the Google Cloud Model Armor V1beta Client class McpServerFloorSetting.
Message describing MCP Server Floor Setting.
Generated from protobuf message google.cloud.modelarmor.v1beta.McpServerFloorSetting
Namespace
Google \ Cloud \ ModelArmor \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ inspect_only
bool
Optional. If true, Model Armor filters will be run in inspect only mode. No action will be taken on the request.
↳ inspect_and_block
bool
Optional. If true, Model Armor filters will be run in inspect and block mode. Requests that trip Model Armor filters will be blocked.
↳ enable_cloud_logging
bool
Optional. If true, log Model Armor filter results to Cloud Logging.
↳ apis
string[]
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.
getInspectOnly
Optional. If true, Model Armor filters will be run in inspect only mode.
No action will be taken on the request.
bool
hasInspectOnly
setInspectOnly
Optional. If true, Model Armor filters will be run in inspect only mode.
No action will be taken on the request.
var
bool
$this
getInspectAndBlock
Optional. If true, Model Armor filters will be run in inspect and block mode. Requests that trip Model Armor filters will be blocked.
bool
hasInspectAndBlock
setInspectAndBlock
Optional. If true, Model Armor filters will be run in inspect and block mode. Requests that trip Model Armor filters will be blocked.
var
bool
$this
getEnableCloudLogging
Optional. If true, log Model Armor filter results to Cloud Logging.
bool
setEnableCloudLogging
Optional. If true, log Model Armor filter results to Cloud Logging.
var
bool
$this
getApis
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.
setApis
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.
var
string[]
$this
getEnforcementType
string

