MCP Gateway Service, gRPC: McpGatewayService.List
Retrieves the list of MCP Gateways in the specified folder.
gRPC request
rpc List (ListMcpGatewayRequest) returns (ListMcpGatewayResponse)
ListMcpGatewayRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
|
Field |
Description |
|
folder_id |
string Required field. ID of the folder to list MCP Gateways in. |
|
page_size |
int64 The maximum number of results per page to return. If the number of available Default value: 100. |
|
page_token |
string Page token. To get the next page of results, set |
|
filter |
string A filter expression that filters functions listed in the response. The expression must specify:
|
ListMcpGatewayResponse
{
"gateways": [
{
"id": "string",
"folder_id": "string",
"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"
},
"network_id": "string",
"service_account_id": "string",
"public": "bool"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
gateways[] |
List of MCP Gateways. |
|
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
McpGatewayPreview
|
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. |
|
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 Required field. Status of the MCP Gateway.
|
|
base_domain |
string Base domain of the MCP Gateway. |
|
log_options |
Log options for the MCP Gateway. |
|
network_id |
string ID of the VPC network MCP Gateway will be executed in, in order to access private resources. |
|
service_account_id |
string ID of the Service Account which will be used for resource access in MCP Gateway call. |
|
public |
bool Publicity of the MCP Gateway. Public MCP Gateway can be accessed by anybody. |
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.
|