Agent Registry v1 API - Class AgentRegistryClientImpl (1.0.0-beta01)

public sealed class AgentRegistryClientImpl : AgentRegistryClient

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

AgentRegistry client wrapper implementation, for convenient use.

Inheritance

object > AgentRegistryClient > AgentRegistryClientImpl

Namespace

Google.Cloud.AgentRegistry.V1

Assembly

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 AgentRegistryAgentRegistryClient

The underlying gRPC client.

settings AgentRegistrySettings

The base AgentRegistrySettings used within this client.

logger ILogger

Optional 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
Overrides

CreateServiceOperationsClient

public override OperationsClient CreateServiceOperationsClient { get; }

The long-running operations client for CreateService.

Property Value
Type Description
OperationsClient
Overrides

DeleteBindingOperationsClient

public override OperationsClient DeleteBindingOperationsClient { get; }

The long-running operations client for DeleteBinding.

Property Value
Type Description
OperationsClient
Overrides

DeleteServiceOperationsClient

public override OperationsClient DeleteServiceOperationsClient { get; }

The long-running operations client for DeleteService.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override AgentRegistry.AgentRegistryClient GrpcClient { get; }

The underlying gRPC AgentRegistry client

Property Value
Type Description
AgentRegistryAgentRegistryClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateBindingOperationsClient

public override OperationsClient UpdateBindingOperationsClient { get; }

The long-running operations client for UpdateBinding.

Property Value
Type Description
OperationsClient
Overrides

UpdateServiceOperationsClient

public override OperationsClient UpdateServiceOperationsClient { get; }

The long-running operations client for UpdateService.

Property Value
Type Description
OperationsClient
Overrides

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 CreateBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBindingOperationMetadata

The RPC response.

Overrides

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 CreateBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBindingOperationMetadata

A Task containing the RPC response.

Overrides

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 CreateServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationServiceOperationMetadata

The RPC response.

Overrides

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 CreateServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationServiceOperationMetadata

A Task containing the RPC response.

Overrides

DeleteBinding(DeleteBindingRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteBinding(DeleteBindingRequest request, CallSettings callSettings = null)

Deletes a single Binding.

Parameters
Name Description
request DeleteBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteBindingAsync(DeleteBindingRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteBindingAsync(DeleteBindingRequest request, CallSettings callSettings = null)

Deletes a single Binding.

Parameters
Name Description
request DeleteBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteService(DeleteServiceRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteService(DeleteServiceRequest request, CallSettings callSettings = null)

Deletes a single Service.

Parameters
Name Description
request DeleteServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteServiceAsync(DeleteServiceRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteServiceAsync(DeleteServiceRequest request, CallSettings callSettings = null)

Deletes a single Service.

Parameters
Name Description
request DeleteServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

FetchAvailableBindings(FetchAvailableBindingsRequest, CallSettings)

public override PagedEnumerable<FetchAvailableBindingsResponse, Binding> FetchAvailableBindings(FetchAvailableBindingsRequest request, CallSettings callSettings = null)

Fetches available Bindings.

Parameters
Name Description
request FetchAvailableBindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableFetchAvailableBindingsResponseBinding

A pageable sequence of Binding resources.

Overrides

FetchAvailableBindingsAsync(FetchAvailableBindingsRequest, CallSettings)

public override PagedAsyncEnumerable<FetchAvailableBindingsResponse, Binding> FetchAvailableBindingsAsync(FetchAvailableBindingsRequest request, CallSettings callSettings = null)

Fetches available Bindings.

Parameters
Name Description
request FetchAvailableBindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableFetchAvailableBindingsResponseBinding

A pageable asynchronous sequence of Binding resources.

Overrides

GetAgent(GetAgentRequest, CallSettings)

public override Agent GetAgent(GetAgentRequest request, CallSettings callSettings = null)

Gets details of a single Agent.

Parameters
Name Description
request GetAgentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Agent

The RPC response.

Overrides

GetAgentAsync(GetAgentRequest, CallSettings)

public override Task<Agent> GetAgentAsync(GetAgentRequest request, CallSettings callSettings = null)

Gets details of a single Agent.

Parameters
Name Description
request GetAgentRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAgent

A Task containing the RPC response.

Overrides

GetBinding(GetBindingRequest, CallSettings)

public override Binding GetBinding(GetBindingRequest request, CallSettings callSettings = null)

Gets details of a single Binding.

Parameters
Name Description
request GetBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Binding

The RPC response.

Overrides

GetBindingAsync(GetBindingRequest, CallSettings)

public override Task<Binding> GetBindingAsync(GetBindingRequest request, CallSettings callSettings = null)

Gets details of a single Binding.

Parameters
Name Description
request GetBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskBinding

A Task containing the RPC response.

Overrides

GetEndpoint(GetEndpointRequest, CallSettings)

public override Endpoint GetEndpoint(GetEndpointRequest request, CallSettings callSettings = null)

Gets details of a single Endpoint.

Parameters
Name Description
request GetEndpointRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Endpoint

The RPC response.

Overrides

GetEndpointAsync(GetEndpointRequest, CallSettings)

public override Task<Endpoint> GetEndpointAsync(GetEndpointRequest request, CallSettings callSettings = null)

Gets details of a single Endpoint.

Parameters
Name Description
request GetEndpointRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEndpoint

A Task containing the RPC response.

Overrides

GetMcpServer(GetMcpServerRequest, CallSettings)

public override McpServer GetMcpServer(GetMcpServerRequest request, CallSettings callSettings = null)

Gets details of a single McpServer.

Parameters
Name Description
request GetMcpServerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
McpServer

The RPC response.

Overrides

GetMcpServerAsync(GetMcpServerRequest, CallSettings)

public override Task<McpServer> GetMcpServerAsync(GetMcpServerRequest request, CallSettings callSettings = null)

Gets details of a single McpServer.

Parameters
Name Description
request GetMcpServerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskMcpServer

A Task containing the RPC response.

Overrides

GetService(GetServiceRequest, CallSettings)

public override Service GetService(GetServiceRequest request, CallSettings callSettings = null)

Gets details of a single Service.

Parameters
Name Description
request GetServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Service

The RPC response.

Overrides

GetServiceAsync(GetServiceRequest, CallSettings)

public override Task<Service> GetServiceAsync(GetServiceRequest request, CallSettings callSettings = null)

Gets details of a single Service.

Parameters
Name Description
request GetServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskService

A Task containing the RPC response.

Overrides

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 ListAgentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAgentsResponseAgent

A pageable sequence of Agent resources.

Overrides

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 ListAgentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAgentsResponseAgent

A pageable asynchronous sequence of Agent resources.

Overrides

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 ListBindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListBindingsResponseBinding

A pageable sequence of Binding resources.

Overrides

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 ListBindingsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListBindingsResponseBinding

A pageable asynchronous sequence of Binding resources.

Overrides

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 ListEndpointsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListEndpointsResponseEndpoint

A pageable sequence of Endpoint resources.

Overrides

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 ListEndpointsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListEndpointsResponseEndpoint

A pageable asynchronous sequence of Endpoint resources.

Overrides

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 ListMcpServersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListMcpServersResponseMcpServer

A pageable sequence of McpServer resources.

Overrides

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 ListMcpServersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListMcpServersResponseMcpServer

A pageable asynchronous sequence of McpServer resources.

Overrides

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 ListServicesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListServicesResponseService

A pageable sequence of Service resources.

Overrides

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 ListServicesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListServicesResponseService

A pageable asynchronous sequence of Service resources.

Overrides

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 SearchAgentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableSearchAgentsResponseAgent

A pageable sequence of Agent resources.

Overrides

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 SearchAgentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableSearchAgentsResponseAgent

A pageable asynchronous sequence of Agent resources.

Overrides

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 SearchMcpServersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableSearchMcpServersResponseMcpServer

A pageable sequence of McpServer resources.

Overrides

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 SearchMcpServersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableSearchMcpServersResponseMcpServer

A pageable asynchronous sequence of McpServer resources.

Overrides

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 UpdateBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBindingOperationMetadata

The RPC response.

Overrides

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 UpdateBindingRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBindingOperationMetadata

A Task containing the RPC response.

Overrides

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 UpdateServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationServiceOperationMetadata

The RPC response.

Overrides

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 UpdateServiceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationServiceOperationMetadata

A Task containing the RPC response.

Overrides