public sealed class AgentRegistryClientImpl : AgentRegistryClientReference documentation and code samples for the Agent Registry v1 API class AgentRegistryClientImpl.
AgentRegistry client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AgentRegistry.V1Assembly
Google.Cloud.AgentRegistry.V1.dll
Remarks
Service for managing Agents, Endpoints, McpServers, Services, and Bindings.
Constructors
AgentRegistryClientImpl(AgentRegistryClient, AgentRegistrySettings, ILogger)
public AgentRegistryClientImpl(AgentRegistry.AgentRegistryClient grpcClient, AgentRegistrySettings settings, ILogger logger)Constructs a client wrapper for the AgentRegistry service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
AgentRegistryAgentRegistryClientThe underlying gRPC client. |
settings |
AgentRegistrySettingsThe base AgentRegistrySettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateBindingOperationsClient
public override OperationsClient CreateBindingOperationsClient { get; }The long-running operations client for CreateBinding.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateServiceOperationsClient
public override OperationsClient CreateServiceOperationsClient { get; }The long-running operations client for CreateService.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteBindingOperationsClient
public override OperationsClient DeleteBindingOperationsClient { get; }The long-running operations client for DeleteBinding.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteServiceOperationsClient
public override OperationsClient DeleteServiceOperationsClient { get; }The long-running operations client for DeleteService.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override AgentRegistry.AgentRegistryClient GrpcClient { get; }The underlying gRPC AgentRegistry client
| Property Value | |
|---|---|
| Type | Description |
AgentRegistryAgentRegistryClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
UpdateBindingOperationsClient
public override OperationsClient UpdateBindingOperationsClient { get; }The long-running operations client for UpdateBinding.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateServiceOperationsClient
public override OperationsClient UpdateServiceOperationsClient { get; }The long-running operations client for UpdateService.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateBinding(CreateBindingRequest, CallSettings)
public override Operation<Binding, OperationMetadata> CreateBinding(CreateBindingRequest request, CallSettings callSettings = null)Creates a new Binding in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationBindingOperationMetadata |
The RPC response. |
CreateBindingAsync(CreateBindingRequest, CallSettings)
public override Task<Operation<Binding, OperationMetadata>> CreateBindingAsync(CreateBindingRequest request, CallSettings callSettings = null)Creates a new Binding in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBindingOperationMetadata |
A Task containing the RPC response. |
CreateService(CreateServiceRequest, CallSettings)
public override Operation<Service, OperationMetadata> CreateService(CreateServiceRequest request, CallSettings callSettings = null)Creates a new Service in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationServiceOperationMetadata |
The RPC response. |
CreateServiceAsync(CreateServiceRequest, CallSettings)
public override Task<Operation<Service, OperationMetadata>> CreateServiceAsync(CreateServiceRequest request, CallSettings callSettings = null)Creates a new Service in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationServiceOperationMetadata |
A Task containing the RPC response. |
DeleteBinding(DeleteBindingRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteBinding(DeleteBindingRequest request, CallSettings callSettings = null)Deletes a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteBindingAsync(DeleteBindingRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteBindingAsync(DeleteBindingRequest request, CallSettings callSettings = null)Deletes a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
DeleteService(DeleteServiceRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteService(DeleteServiceRequest request, CallSettings callSettings = null)Deletes a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteServiceAsync(DeleteServiceRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteServiceAsync(DeleteServiceRequest request, CallSettings callSettings = null)Deletes a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
FetchAvailableBindings(FetchAvailableBindingsRequest, CallSettings)
public override PagedEnumerable<FetchAvailableBindingsResponse, Binding> FetchAvailableBindings(FetchAvailableBindingsRequest request, CallSettings callSettings = null)Fetches available Bindings.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchAvailableBindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableFetchAvailableBindingsResponseBinding |
A pageable sequence of Binding resources. |
FetchAvailableBindingsAsync(FetchAvailableBindingsRequest, CallSettings)
public override PagedAsyncEnumerable<FetchAvailableBindingsResponse, Binding> FetchAvailableBindingsAsync(FetchAvailableBindingsRequest request, CallSettings callSettings = null)Fetches available Bindings.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchAvailableBindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableFetchAvailableBindingsResponseBinding |
A pageable asynchronous sequence of Binding resources. |
GetAgent(GetAgentRequest, CallSettings)
public override Agent GetAgent(GetAgentRequest request, CallSettings callSettings = null)Gets details of a single Agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Agent |
The RPC response. |
GetAgentAsync(GetAgentRequest, CallSettings)
public override Task<Agent> GetAgentAsync(GetAgentRequest request, CallSettings callSettings = null)Gets details of a single Agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAgentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAgent |
A Task containing the RPC response. |
GetBinding(GetBindingRequest, CallSettings)
public override Binding GetBinding(GetBindingRequest request, CallSettings callSettings = null)Gets details of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Binding |
The RPC response. |
GetBindingAsync(GetBindingRequest, CallSettings)
public override Task<Binding> GetBindingAsync(GetBindingRequest request, CallSettings callSettings = null)Gets details of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBinding |
A Task containing the RPC response. |
GetEndpoint(GetEndpointRequest, CallSettings)
public override Endpoint GetEndpoint(GetEndpointRequest request, CallSettings callSettings = null)Gets details of a single Endpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Endpoint |
The RPC response. |
GetEndpointAsync(GetEndpointRequest, CallSettings)
public override Task<Endpoint> GetEndpointAsync(GetEndpointRequest request, CallSettings callSettings = null)Gets details of a single Endpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEndpoint |
A Task containing the RPC response. |
GetMcpServer(GetMcpServerRequest, CallSettings)
public override McpServer GetMcpServer(GetMcpServerRequest request, CallSettings callSettings = null)Gets details of a single McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
McpServer |
The RPC response. |
GetMcpServerAsync(GetMcpServerRequest, CallSettings)
public override Task<McpServer> GetMcpServerAsync(GetMcpServerRequest request, CallSettings callSettings = null)Gets details of a single McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpServerRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMcpServer |
A Task containing the RPC response. |
GetService(GetServiceRequest, CallSettings)
public override Service GetService(GetServiceRequest request, CallSettings callSettings = null)Gets details of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The RPC response. |
GetServiceAsync(GetServiceRequest, CallSettings)
public override Task<Service> GetServiceAsync(GetServiceRequest request, CallSettings callSettings = null)Gets details of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskService |
A Task containing the RPC response. |
ListAgents(ListAgentsRequest, CallSettings)
public override PagedEnumerable<ListAgentsResponse, Agent> ListAgents(ListAgentsRequest request, CallSettings callSettings = null)Lists Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAgentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAgentsResponseAgent |
A pageable sequence of Agent resources. |
ListAgentsAsync(ListAgentsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAgentsResponse, Agent> ListAgentsAsync(ListAgentsRequest request, CallSettings callSettings = null)Lists Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAgentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAgentsResponseAgent |
A pageable asynchronous sequence of Agent resources. |
ListBindings(ListBindingsRequest, CallSettings)
public override PagedEnumerable<ListBindingsResponse, Binding> ListBindings(ListBindingsRequest request, CallSettings callSettings = null)Lists Bindings in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListBindingsResponseBinding |
A pageable sequence of Binding resources. |
ListBindingsAsync(ListBindingsRequest, CallSettings)
public override PagedAsyncEnumerable<ListBindingsResponse, Binding> ListBindingsAsync(ListBindingsRequest request, CallSettings callSettings = null)Lists Bindings in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListBindingsResponseBinding |
A pageable asynchronous sequence of Binding resources. |
ListEndpoints(ListEndpointsRequest, CallSettings)
public override PagedEnumerable<ListEndpointsResponse, Endpoint> ListEndpoints(ListEndpointsRequest request, CallSettings callSettings = null)Lists Endpoints in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEndpointsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEndpointsResponseEndpoint |
A pageable sequence of Endpoint resources. |
ListEndpointsAsync(ListEndpointsRequest, CallSettings)
public override PagedAsyncEnumerable<ListEndpointsResponse, Endpoint> ListEndpointsAsync(ListEndpointsRequest request, CallSettings callSettings = null)Lists Endpoints in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEndpointsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEndpointsResponseEndpoint |
A pageable asynchronous sequence of Endpoint resources. |
ListMcpServers(ListMcpServersRequest, CallSettings)
public override PagedEnumerable<ListMcpServersResponse, McpServer> ListMcpServers(ListMcpServersRequest request, CallSettings callSettings = null)Lists McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpServersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMcpServersResponseMcpServer |
A pageable sequence of McpServer resources. |
ListMcpServersAsync(ListMcpServersRequest, CallSettings)
public override PagedAsyncEnumerable<ListMcpServersResponse, McpServer> ListMcpServersAsync(ListMcpServersRequest request, CallSettings callSettings = null)Lists McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpServersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMcpServersResponseMcpServer |
A pageable asynchronous sequence of McpServer resources. |
ListServices(ListServicesRequest, CallSettings)
public override PagedEnumerable<ListServicesResponse, Service> ListServices(ListServicesRequest request, CallSettings callSettings = null)Lists Services in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListServicesResponseService |
A pageable sequence of Service resources. |
ListServicesAsync(ListServicesRequest, CallSettings)
public override PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(ListServicesRequest request, CallSettings callSettings = null)Lists Services in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListServicesResponseService |
A pageable asynchronous sequence of Service resources. |
SearchAgents(SearchAgentsRequest, CallSettings)
public override PagedEnumerable<SearchAgentsResponse, Agent> SearchAgents(SearchAgentsRequest request, CallSettings callSettings = null)Searches Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchAgentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchAgentsResponseAgent |
A pageable sequence of Agent resources. |
SearchAgentsAsync(SearchAgentsRequest, CallSettings)
public override PagedAsyncEnumerable<SearchAgentsResponse, Agent> SearchAgentsAsync(SearchAgentsRequest request, CallSettings callSettings = null)Searches Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchAgentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchAgentsResponseAgent |
A pageable asynchronous sequence of Agent resources. |
SearchMcpServers(SearchMcpServersRequest, CallSettings)
public override PagedEnumerable<SearchMcpServersResponse, McpServer> SearchMcpServers(SearchMcpServersRequest request, CallSettings callSettings = null)Searches McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchMcpServersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchMcpServersResponseMcpServer |
A pageable sequence of McpServer resources. |
SearchMcpServersAsync(SearchMcpServersRequest, CallSettings)
public override PagedAsyncEnumerable<SearchMcpServersResponse, McpServer> SearchMcpServersAsync(SearchMcpServersRequest request, CallSettings callSettings = null)Searches McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchMcpServersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchMcpServersResponseMcpServer |
A pageable asynchronous sequence of McpServer resources. |
UpdateBinding(UpdateBindingRequest, CallSettings)
public override Operation<Binding, OperationMetadata> UpdateBinding(UpdateBindingRequest request, CallSettings callSettings = null)Updates the parameters of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationBindingOperationMetadata |
The RPC response. |
UpdateBindingAsync(UpdateBindingRequest, CallSettings)
public override Task<Operation<Binding, OperationMetadata>> UpdateBindingAsync(UpdateBindingRequest request, CallSettings callSettings = null)Updates the parameters of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBindingOperationMetadata |
A Task containing the RPC response. |
UpdateService(UpdateServiceRequest, CallSettings)
public override Operation<Service, OperationMetadata> UpdateService(UpdateServiceRequest request, CallSettings callSettings = null)Updates the parameters of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationServiceOperationMetadata |
The RPC response. |
UpdateServiceAsync(UpdateServiceRequest, CallSettings)
public override Task<Operation<Service, OperationMetadata>> UpdateServiceAsync(UpdateServiceRequest request, CallSettings callSettings = null)Updates the parameters of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationServiceOperationMetadata |
A Task containing the RPC response. |