public interface McpServerFloorSettingOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getApis(int index)
public abstract String getApis(int index)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.
repeated string apis = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The apis at the given index. |
getApisBytes(int index)
public abstract ByteString getApisBytes(int index)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.
repeated string apis = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the apis at the given index. |
getApisCount()
public abstract int getApisCount()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.
repeated string apis = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of apis. |
getApisList()
public abstract List<String> getApisList()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.
repeated string apis = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the apis. |
getEnableCloudLogging()
public abstract boolean getEnableCloudLogging()Optional. If true, log Model Armor filter results to Cloud Logging.
bool enable_cloud_logging = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableCloudLogging. |
getEnforcementTypeCase()
public abstract McpServerFloorSetting.EnforcementTypeCase getEnforcementTypeCase()| Returns | |
|---|---|
| Type | Description |
McpServerFloorSetting.EnforcementTypeCase |
|
getInspectAndBlock()
public abstract boolean 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 inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The inspectAndBlock. |
getInspectOnly()
public abstract boolean getInspectOnly()Optional. If true, Model Armor filters will be run in inspect only mode. No action will be taken on the request.
bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The inspectOnly. |
hasInspectAndBlock()
public abstract boolean hasInspectAndBlock()Optional. If true, Model Armor filters will be run in inspect and block mode. Requests that trip Model Armor filters will be blocked.
bool inspect_and_block = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inspectAndBlock field is set. |
hasInspectOnly()
public abstract boolean hasInspectOnly()Optional. If true, Model Armor filters will be run in inspect only mode. No action will be taken on the request.
bool inspect_only = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inspectOnly field is set. |