Cloud API Registry v1beta API - Class CloudApiRegistry.CloudApiRegistryBase (1.0.0-beta01)

[BindServiceMethod(typeof(CloudApiRegistry), "BindService")]
public abstract class CloudApiRegistry.CloudApiRegistryBase

Reference documentation and code samples for the Cloud API Registry v1beta API class CloudApiRegistry.CloudApiRegistryBase.

Base class for server-side implementations of CloudApiRegistry

Inheritance

object > CloudApiRegistry.CloudApiRegistryBase

Namespace

Google.Cloud.ApiRegistry.V1Beta

Assembly

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 GetMcpServerRequest

The request received from the client.

context ServerCallContext

The 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 GetMcpToolRequest

The request received from the client.

context ServerCallContext

The 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 ListMcpServersRequest

The request received from the client.

context ServerCallContext

The 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 ListMcpToolsRequest

The request received from the client.

context ServerCallContext

The 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).