[BindServiceMethod(typeof(AgentRegistry), "BindService")]
public abstract class AgentRegistry.AgentRegistryBaseReference documentation and code samples for the Agent Registry v1 API class AgentRegistry.AgentRegistryBase.
Base class for server-side implementations of AgentRegistry
Namespace
Google.Cloud.AgentRegistry.V1Assembly
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 |
CreateBindingRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
CreateServiceRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteBindingRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteServiceRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
FetchAvailableBindingsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetAgentRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetBindingRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetEndpointRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
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). |
GetService(GetServiceRequest, ServerCallContext)
public virtual Task<Service> GetService(GetServiceRequest request, ServerCallContext context)Gets details of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListAgentsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListBindingsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListEndpointsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
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). |
ListServices(ListServicesRequest, ServerCallContext)
public virtual Task<ListServicesResponse> ListServices(ListServicesRequest request, ServerCallContext context)Lists Services in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
SearchAgentsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
SearchMcpServersRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateBindingRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateServiceRequestThe request received from the client. |
context |
ServerCallContextThe 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). |