Agent Registry v1 API - Class AgentRegistry.AgentRegistryBase (1.0.0-beta01)

[BindServiceMethod(typeof(AgentRegistry), "BindService")]
public abstract class AgentRegistry.AgentRegistryBase

Reference documentation and code samples for the Agent Registry v1 API class AgentRegistry.AgentRegistryBase.

Base class for server-side implementations of AgentRegistry

Inheritance

object > AgentRegistry.AgentRegistryBase

Namespace

Google.Cloud.AgentRegistry.V1

Assembly

Google.Cloud.AgentRegistry.V1.dll

Methods

CreateBinding(CreateBindingRequest, ServerCallContext)

public virtual Task<Operation> CreateBinding(CreateBindingRequest request, ServerCallContext context)

Creates a new Binding in a given project and location.

Parameters
Name Description
request CreateBindingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateService(CreateServiceRequest, ServerCallContext)

public virtual Task<Operation> CreateService(CreateServiceRequest request, ServerCallContext context)

Creates a new Service in a given project and location.

Parameters
Name Description
request CreateServiceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteBinding(DeleteBindingRequest, ServerCallContext)

public virtual Task<Operation> DeleteBinding(DeleteBindingRequest request, ServerCallContext context)

Deletes a single Binding.

Parameters
Name Description
request DeleteBindingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteService(DeleteServiceRequest, ServerCallContext)

public virtual Task<Operation> DeleteService(DeleteServiceRequest request, ServerCallContext context)

Deletes a single Service.

Parameters
Name Description
request DeleteServiceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

FetchAvailableBindings(FetchAvailableBindingsRequest, ServerCallContext)

public virtual Task<FetchAvailableBindingsResponse> FetchAvailableBindings(FetchAvailableBindingsRequest request, ServerCallContext context)

Fetches available Bindings.

Parameters
Name Description
request FetchAvailableBindingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFetchAvailableBindingsResponse

The response to send back to the client (wrapped by a task).

GetAgent(GetAgentRequest, ServerCallContext)

public virtual Task<Agent> GetAgent(GetAgentRequest request, ServerCallContext context)

Gets details of a single Agent.

Parameters
Name Description
request GetAgentRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskAgent

The response to send back to the client (wrapped by a task).

GetBinding(GetBindingRequest, ServerCallContext)

public virtual Task<Binding> GetBinding(GetBindingRequest request, ServerCallContext context)

Gets details of a single Binding.

Parameters
Name Description
request GetBindingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskBinding

The response to send back to the client (wrapped by a task).

GetEndpoint(GetEndpointRequest, ServerCallContext)

public virtual Task<Endpoint> GetEndpoint(GetEndpointRequest request, ServerCallContext context)

Gets details of a single Endpoint.

Parameters
Name Description
request GetEndpointRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEndpoint

The response to send back to the client (wrapped by a task).

GetMcpServer(GetMcpServerRequest, ServerCallContext)

public virtual Task<McpServer> GetMcpServer(GetMcpServerRequest request, ServerCallContext context)

Gets details of 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).

GetService(GetServiceRequest, ServerCallContext)

public virtual Task<Service> GetService(GetServiceRequest request, ServerCallContext context)

Gets details of a single Service.

Parameters
Name Description
request GetServiceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskService

The response to send back to the client (wrapped by a task).

ListAgents(ListAgentsRequest, ServerCallContext)

public virtual Task<ListAgentsResponse> ListAgents(ListAgentsRequest request, ServerCallContext context)

Lists Agents in a given project and location.

Parameters
Name Description
request ListAgentsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListAgentsResponse

The response to send back to the client (wrapped by a task).

ListBindings(ListBindingsRequest, ServerCallContext)

public virtual Task<ListBindingsResponse> ListBindings(ListBindingsRequest request, ServerCallContext context)

Lists Bindings in a given project and location.

Parameters
Name Description
request ListBindingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListBindingsResponse

The response to send back to the client (wrapped by a task).

ListEndpoints(ListEndpointsRequest, ServerCallContext)

public virtual Task<ListEndpointsResponse> ListEndpoints(ListEndpointsRequest request, ServerCallContext context)

Lists Endpoints in a given project and location.

Parameters
Name Description
request ListEndpointsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListEndpointsResponse

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 and location.

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

ListServices(ListServicesRequest, ServerCallContext)

public virtual Task<ListServicesResponse> ListServices(ListServicesRequest request, ServerCallContext context)

Lists Services in a given project and location.

Parameters
Name Description
request ListServicesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListServicesResponse

The response to send back to the client (wrapped by a task).

SearchAgents(SearchAgentsRequest, ServerCallContext)

public virtual Task<SearchAgentsResponse> SearchAgents(SearchAgentsRequest request, ServerCallContext context)

Searches Agents in a given project and location.

Parameters
Name Description
request SearchAgentsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSearchAgentsResponse

The response to send back to the client (wrapped by a task).

SearchMcpServers(SearchMcpServersRequest, ServerCallContext)

public virtual Task<SearchMcpServersResponse> SearchMcpServers(SearchMcpServersRequest request, ServerCallContext context)

Searches McpServers in a given project and location.

Parameters
Name Description
request SearchMcpServersRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSearchMcpServersResponse

The response to send back to the client (wrapped by a task).

UpdateBinding(UpdateBindingRequest, ServerCallContext)

public virtual Task<Operation> UpdateBinding(UpdateBindingRequest request, ServerCallContext context)

Updates the parameters of a single Binding.

Parameters
Name Description
request UpdateBindingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateService(UpdateServiceRequest, ServerCallContext)

public virtual Task<Operation> UpdateService(UpdateServiceRequest request, ServerCallContext context)

Updates the parameters of a single Service.

Parameters
Name Description
request UpdateServiceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).