[BindServiceMethod(typeof(CloudApiRegistry), "BindService")]
public abstract class CloudApiRegistry.CloudApiRegistryBaseReference documentation and code samples for the Cloud API Registry v1beta API class CloudApiRegistry.CloudApiRegistryBase.
Base class for server-side implementations of CloudApiRegistry
Namespace
Google.Cloud.ApiRegistry.V1BetaAssembly
Google.Cloud.ApiRegistry.V1Beta.dll
Methods
GetMcpServer(GetMcpServerRequest, ServerCallContext)
public virtual Task<McpServer> GetMcpServer(GetMcpServerRequest request, ServerCallContext context)Gets a single McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpServerRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskMcpServer |
The response to send back to the client (wrapped by a task). |
GetMcpTool(GetMcpToolRequest, ServerCallContext)
public virtual Task<McpTool> GetMcpTool(GetMcpToolRequest request, ServerCallContext context)Gets a single McpTool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpToolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskMcpTool |
The response to send back to the client (wrapped by a task). |
ListMcpServers(ListMcpServersRequest, ServerCallContext)
public virtual Task<ListMcpServersResponse> ListMcpServers(ListMcpServersRequest request, ServerCallContext context)Lists McpServers in a given Project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpServersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListMcpServersResponse |
The response to send back to the client (wrapped by a task). |
ListMcpTools(ListMcpToolsRequest, ServerCallContext)
public virtual Task<ListMcpToolsResponse> ListMcpTools(ListMcpToolsRequest request, ServerCallContext context)Lists McpTools in a given McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpToolsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListMcpToolsResponse |
The response to send back to the client (wrapped by a task). |