MCP Gateway Service, gRPC: McpGatewayService.Update
- gRPC request
- UpdateMcpGatewayRequest
- McpTool
- McpToolAction
- FunctionCall
- ContainerCall
- HttpCall
- McpCall
- ToolCall
- NoAuthorization
- HeaderAuthorization
- SaAuthorization
- GrpcCall
- StartWorkflow
- LogOptions
- operation.Operation
- UpdateMcpGatewayMetadata
- McpGateway
- McpTool
- McpToolAction
- FunctionCall
- ContainerCall
- HttpCall
- McpCall
- ToolCall
- NoAuthorization
- HeaderAuthorization
- SaAuthorization
- GrpcCall
- StartWorkflow
- LogOptions
Updates the specified MCP Gateway.
gRPC request
rpc Update (UpdateMcpGatewayRequest) returns (operation.Operation)
UpdateMcpGatewayRequest
{
"mcp_gateway_id": "string",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"tools": [
{
"name": "string",
"description": "string",
"input_json_schema": "string",
"action": {
// Includes only one of the fields `function_call`, `container_call`, `http_call`, `mcp_call`, `grpc_call`, `start_workflow`
"function_call": {
"function_id": "string",
"tag": "string"
},
"container_call": {
"container_id": "string",
"path": "string",
"method": "HttpMethod",
"body": "string",
"headers": "map<string, string>",
"query": "map<string, string>"
},
"http_call": {
"url": "string",
"method": "HttpMethod",
"body": "string",
"headers": "map<string, string>",
"query": "map<string, string>",
"use_service_account": "bool"
},
"mcp_call": {
"url": "string",
// Includes only one of the fields `tool_call`
"tool_call": {
"tool_name": "string",
"parameters_json": "string"
},
// end of the list of possible fields
"transport": "Transport",
// Includes only one of the fields `unauthorized`, `header`, `service_account`
"unauthorized": "NoAuthorization",
"header": {
"header_name": "string",
"header_value": "string"
},
"service_account": "SaAuthorization",
// end of the list of possible fields
"forward_headers": "map<string, string>"
},
"grpc_call": {
"endpoint": "string",
"method": "string",
"use_service_account": "bool",
"body": "string",
"headers": "map<string, string>"
},
"start_workflow": {
"workflow_id": "string",
"input_json": "string",
"mode": "Mode"
}
// end of the list of possible fields
}
}
],
"log_options": {
"disabled": "bool",
// Includes only one of the fields `log_group_id`, `folder_id`
"log_group_id": "string",
"folder_id": "string",
// end of the list of possible fields
"min_level": "Level"
},
"service_account_id": "string",
"network_id": "string",
"update_mask": "google.protobuf.FieldMask",
"public": "bool"
}
|
Field |
Description |
|
mcp_gateway_id |
string Required field. ID of the MCP Gateway to update. |
|
name |
string Updated name of the MCP Gateway. The maximum string length in characters is 128. Value must match the regular expression |
|
description |
string Updated description of the MCP Gateway. The maximum string length in characters is 4000. |
|
labels |
object (map<string, string>) Updated MCP Gateway labels as No more than 64 per resource. The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
tools[] |
Updated list of MCP tools associated with the gateway. |
|
log_options |
Updated logging options for the MCP Gateway. |
|
service_account_id |
string Updated service account ID for the MCP Gateway. |
|
network_id |
string Updated network ID for the MCP Gateway. |
|
update_mask |
Field mask specifying which fields to update. |
|
public |
bool Updated flag indicating if the MCP Gateway is publicly accessible. |
McpTool
|
Field |
Description |
|
name |
string Required field. Name of the tool. The maximum string length in characters is 128. Value must match the regular expression |
|
description |
string Description of the tool. The maximum string length in characters is 4000. |
|
input_json_schema |
string JSON Schema describing tool input. |
|
action |
Required field. Action to perform when this tool is invoked. |
McpToolAction
|
Field |
Description |
|
function_call |
Call Serverless Function. Includes only one of the fields |
|
container_call |
Call Serverless Container. Includes only one of the fields |
|
http_call |
Send HTTP request. Includes only one of the fields |
|
mcp_call |
Call MCP Gateway. Includes only one of the fields |
|
grpc_call |
Call gRPC endpoint. Server must support gRPC reflection. Includes only one of the fields |
|
start_workflow |
Start Workflow. Includes only one of the fields |
FunctionCall
|
Field |
Description |
|
function_id |
string Required field. ID of serverless function to call. |
|
tag |
string Tag of serverless function. If empty, $latest tag will be used. |
ContainerCall
|
Field |
Description |
|
container_id |
string Required field. ID of serverless container to call. |
|
path |
string Relative request path inside the container. |
|
method |
enum HttpMethod HTTP method to use for the request.
|
|
body |
string Request body to send to the container. |
|
headers |
object (map<string, string>) HTTP headers to include in the request. |
|
query |
object (map<string, string>) Query string parameters to include in the request. |
HttpCall
|
Field |
Description |
|
url |
string Required field. Absolute URL to send the request to. (required) |
|
method |
enum HttpMethod HTTP method to use.
|
|
body |
string Request body payload. |
|
headers |
object (map<string, string>) HTTP headers to include. |
|
query |
object (map<string, string>) Query string parameters to include. |
|
use_service_account |
bool Use MCP Gateway service account credentials for the request. |
McpCall
|
Field |
Description |
|
url |
string Required field. MCP endpoint base URL. (required) |
|
tool_call |
Includes only one of the fields |
|
transport |
enum Transport Transport to use for MCP communication.
|
|
unauthorized |
Includes only one of the fields Authorization mode for requests to the MCP endpoint. |
|
header |
Includes only one of the fields Authorization mode for requests to the MCP endpoint. |
|
service_account |
Includes only one of the fields Authorization mode for requests to the MCP endpoint. |
|
forward_headers |
object (map<string, string>) Headers from the incoming request to forward downstream by name. |
ToolCall
|
Field |
Description |
|
tool_name |
string Required field. Name of the tool to invoke on the MCP endpoint. (required) |
|
parameters_json |
string JSON-encoded parameters to pass to the tool. |
NoAuthorization
No authorization will be sent.
|
Field |
Description |
|
Empty |
|
HeaderAuthorization
|
Field |
Description |
|
header_name |
string Name of the authorization header to send. |
|
header_value |
string Value of the authorization header to send. |
SaAuthorization
Use MCP Gateway service account to authorize.
|
Field |
Description |
|
Empty |
|
GrpcCall
|
Field |
Description |
|
endpoint |
string Required field. gRPC server endpoint, e.g., host:port. (required) |
|
method |
string Required field. Fully qualified gRPC method name, e.g., package.Service/Method. (required) |
|
use_service_account |
bool Use MCP Gateway service account for authentication. |
|
body |
string Request body payload for the call. |
|
headers |
object (map<string, string>) gRPC/HTTP headers to include with the call. |
StartWorkflow
|
Field |
Description |
|
workflow_id |
string Required field. ID of the Workflow to start. (required) |
|
input_json |
string JSON-encoded workflow input payload. |
|
mode |
enum Mode Execution mode for the workflow.
|
LogOptions
|
Field |
Description |
|
disabled |
bool Is logging from MCP Gateway disabled. |
|
log_group_id |
string ID of the logging group which should be used for MCP Gateway logs. Includes only one of the fields |
|
folder_id |
string ID of the folder which default logging group should be used for MCP Gateway logs. Includes only one of the fields |
|
min_level |
enum Level Minimum logs level. See LogLevel.Level for details.
|
operation.Operation
{
"id": "string",
"description": "string",
"created_at": "google.protobuf.Timestamp",
"created_by": "string",
"modified_at": "google.protobuf.Timestamp",
"done": "bool",
"metadata": {
"mcp_gateway_id": "string",
"folder_id": "string"
},
// Includes only one of the fields `error`, `response`
"error": "google.rpc.Status",
"response": {
"id": "string",
"folder_id": "string",
"tools": [
{
"name": "string",
"description": "string",
"input_json_schema": "string",
"action": {
// Includes only one of the fields `function_call`, `container_call`, `http_call`, `mcp_call`, `grpc_call`, `start_workflow`
"function_call": {
"function_id": "string",
"tag": "string"
},
"container_call": {
"container_id": "string",
"path": "string",
"method": "HttpMethod",
"body": "string",
"headers": "map<string, string>",
"query": "map<string, string>"
},
"http_call": {
"url": "string",
"method": "HttpMethod",
"body": "string",
"headers": "map<string, string>",
"query": "map<string, string>",
"use_service_account": "bool"
},
"mcp_call": {
"url": "string",
// Includes only one of the fields `tool_call`
"tool_call": {
"tool_name": "string",
"parameters_json": "string"
},
// end of the list of possible fields
"transport": "Transport",
// Includes only one of the fields `unauthorized`, `header`, `service_account`
"unauthorized": "NoAuthorization",
"header": {
"header_name": "string",
"header_value": "string"
},
"service_account": "SaAuthorization",
// end of the list of possible fields
"forward_headers": "map<string, string>"
},
"grpc_call": {
"endpoint": "string",
"method": "string",
"use_service_account": "bool",
"body": "string",
"headers": "map<string, string>"
},
"start_workflow": {
"workflow_id": "string",
"input_json": "string",
"mode": "Mode"
}
// end of the list of possible fields
}
}
],
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"status": "Status",
"base_domain": "string",
"log_options": {
"disabled": "bool",
// Includes only one of the fields `log_group_id`, `folder_id`
"log_group_id": "string",
"folder_id": "string",
// end of the list of possible fields
"min_level": "Level"
},
"service_account_id": "string",
"network_id": "string",
"cloud_id": "string",
"public": "bool"
}
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
|
Field |
Description |
|
id |
string ID of the operation. |
|
description |
string Description of the operation. 0-256 characters long. |
|
created_at |
Creation timestamp. |
|
created_by |
string ID of the user or service account who initiated the operation. |
|
modified_at |
The time when the Operation resource was last modified. |
|
done |
bool If the value is |
|
metadata |
Service-specific metadata associated with the operation. |
|
error |
The error result of the operation in case of failure or cancellation. Includes only one of the fields The operation result. |
|
response |
The normal response of the operation in case of success. Includes only one of the fields The operation result. |
UpdateMcpGatewayMetadata
|
Field |
Description |
|
mcp_gateway_id |
string Required field. ID of the MCP Gateway being updated. |
|
folder_id |
string Required field. ID of the folder containing the MCP Gateway. |
McpGateway
|
Field |
Description |
|
id |
string Required field. ID of the MCP Gateway. Generated at creation time. |
|
folder_id |
string Required field. ID of the folder that the MCP Gateway belongs to. |
|
tools[] |
Tools of the MCP Gateway. |
|
created_at |
Required field. Creation timestamp for the MCP Gateway. |
|
name |
string Required field. Name of the MCP Gateway. |
|
description |
string Description of the MCP Gateway. |
|
labels |
object (map<string, string>) MCP Gateway labels as |
|
status |
enum Status Status of the MCP Gateway.
|
|
base_domain |
string Base domain of the MCP Gateway. |
|
log_options |
Log options for the MCP Gateway. |
|
service_account_id |
string ID of the Service Account which will be used for resource access in MCP Gateway call. |
|
network_id |
string ID of the VPC network MCP Gateway will be executed in, in order to access private resources. |
|
cloud_id |
string Required field. ID of the cloud that the MCP Gateway belongs to. |
|
public |
bool Publicity of the MCP Gateway. Public MCP Gateway can be accessed by anybody. |
McpTool
|
Field |
Description |
|
name |
string Required field. Name of the tool. The maximum string length in characters is 128. Value must match the regular expression |
|
description |
string Description of the tool. The maximum string length in characters is 4000. |
|
input_json_schema |
string JSON Schema describing tool input. |
|
action |
Required field. Action to perform when this tool is invoked. |
McpToolAction
|
Field |
Description |
|
function_call |
Call Serverless Function. Includes only one of the fields |
|
container_call |
Call Serverless Container. Includes only one of the fields |
|
http_call |
Send HTTP request. Includes only one of the fields |
|
mcp_call |
Call MCP Gateway. Includes only one of the fields |
|
grpc_call |
Call gRPC endpoint. Server must support gRPC reflection. Includes only one of the fields |
|
start_workflow |
Start Workflow. Includes only one of the fields |
FunctionCall
|
Field |
Description |
|
function_id |
string Required field. ID of serverless function to call. |
|
tag |
string Tag of serverless function. If empty, $latest tag will be used. |
ContainerCall
|
Field |
Description |
|
container_id |
string Required field. ID of serverless container to call. |
|
path |
string Relative request path inside the container. |
|
method |
enum HttpMethod HTTP method to use for the request.
|
|
body |
string Request body to send to the container. |
|
headers |
object (map<string, string>) HTTP headers to include in the request. |
|
query |
object (map<string, string>) Query string parameters to include in the request. |
HttpCall
|
Field |
Description |
|
url |
string Required field. Absolute URL to send the request to. (required) |
|
method |
enum HttpMethod HTTP method to use.
|
|
body |
string Request body payload. |
|
headers |
object (map<string, string>) HTTP headers to include. |
|
query |
object (map<string, string>) Query string parameters to include. |
|
use_service_account |
bool Use MCP Gateway service account credentials for the request. |
McpCall
|
Field |
Description |
|
url |
string Required field. MCP endpoint base URL. (required) |
|
tool_call |
Includes only one of the fields |
|
transport |
enum Transport Transport to use for MCP communication.
|
|
unauthorized |
Includes only one of the fields Authorization mode for requests to the MCP endpoint. |
|
header |
Includes only one of the fields Authorization mode for requests to the MCP endpoint. |
|
service_account |
Includes only one of the fields Authorization mode for requests to the MCP endpoint. |
|
forward_headers |
object (map<string, string>) Headers from the incoming request to forward downstream by name. |
ToolCall
|
Field |
Description |
|
tool_name |
string Required field. Name of the tool to invoke on the MCP endpoint. (required) |
|
parameters_json |
string JSON-encoded parameters to pass to the tool. |
NoAuthorization
No authorization will be sent.
|
Field |
Description |
|
Empty |
|
HeaderAuthorization
|
Field |
Description |
|
header_name |
string Name of the authorization header to send. |
|
header_value |
string Value of the authorization header to send. |
SaAuthorization
Use MCP Gateway service account to authorize.
|
Field |
Description |
|
Empty |
|
GrpcCall
|
Field |
Description |
|
endpoint |
string Required field. gRPC server endpoint, e.g., host:port. (required) |
|
method |
string Required field. Fully qualified gRPC method name, e.g., package.Service/Method. (required) |
|
use_service_account |
bool Use MCP Gateway service account for authentication. |
|
body |
string Request body payload for the call. |
|
headers |
object (map<string, string>) gRPC/HTTP headers to include with the call. |
StartWorkflow
|
Field |
Description |
|
workflow_id |
string Required field. ID of the Workflow to start. (required) |
|
input_json |
string JSON-encoded workflow input payload. |
|
mode |
enum Mode Execution mode for the workflow.
|
LogOptions
|
Field |
Description |
|
disabled |
bool Is logging from MCP Gateway disabled. |
|
log_group_id |
string ID of the logging group which should be used for MCP Gateway logs. Includes only one of the fields |
|
folder_id |
string ID of the folder which default logging group should be used for MCP Gateway logs. Includes only one of the fields |
|
min_level |
enum Level Minimum logs level. See LogLevel.Level for details.
|