public class AgentRegistry.AgentRegistryClient : ClientBase<AgentRegistry.AgentRegistryClient>Reference documentation and code samples for the Agent Registry v1 API class AgentRegistry.AgentRegistryClient.
Client for AgentRegistry
Inheritance
object > ClientBase > ClientBaseAgentRegistryAgentRegistryClient > AgentRegistry.AgentRegistryClientNamespace
Google.Cloud.AgentRegistry.V1Assembly
Google.Cloud.AgentRegistry.V1.dll
Constructors
AgentRegistryClient()
protected AgentRegistryClient()Protected parameterless constructor to allow creation of test doubles.
AgentRegistryClient(CallInvoker)
public AgentRegistryClient(CallInvoker callInvoker)Creates a new client for AgentRegistry that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
AgentRegistryClient(ChannelBase)
public AgentRegistryClient(ChannelBase channel)Creates a new client for AgentRegistry
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
AgentRegistryClient(ClientBaseConfiguration)
protected AgentRegistryClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateBinding(CreateBindingRequest, CallOptions)
public virtual Operation CreateBinding(CreateBindingRequest request, CallOptions options)Creates a new Binding in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBindingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateBinding(CreateBindingRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateBinding(CreateBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new Binding in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBindingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateBindingAsync(CreateBindingRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateBindingAsync(CreateBindingRequest request, CallOptions options)Creates a new Binding in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBindingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateBindingAsync(CreateBindingRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateBindingAsync(CreateBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new Binding in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBindingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
CreateService(CreateServiceRequest, CallOptions)
public virtual Operation CreateService(CreateServiceRequest request, CallOptions options)Creates a new Service in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateService(CreateServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateService(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new Service in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateServiceAsync(CreateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateServiceAsync(CreateServiceRequest request, CallOptions options)Creates a new Service in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateServiceAsync(CreateServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateServiceAsync(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new Service in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBinding(DeleteBindingRequest, CallOptions)
public virtual Operation DeleteBinding(DeleteBindingRequest request, CallOptions options)Deletes a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBindingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteBinding(DeleteBindingRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteBinding(DeleteBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBindingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteBindingAsync(DeleteBindingRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteBindingAsync(DeleteBindingRequest request, CallOptions options)Deletes a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBindingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBindingAsync(DeleteBindingRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteBindingAsync(DeleteBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBindingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteService(DeleteServiceRequest, CallOptions)
public virtual Operation DeleteService(DeleteServiceRequest request, CallOptions options)Deletes a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteService(DeleteServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteService(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteServiceAsync(DeleteServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteServiceAsync(DeleteServiceRequest request, CallOptions options)Deletes a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteServiceAsync(DeleteServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteServiceAsync(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
FetchAvailableBindings(FetchAvailableBindingsRequest, CallOptions)
public virtual FetchAvailableBindingsResponse FetchAvailableBindings(FetchAvailableBindingsRequest request, CallOptions options)Fetches available Bindings.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchAvailableBindingsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse |
The response received from the server. |
FetchAvailableBindings(FetchAvailableBindingsRequest, Metadata, DateTime?, CancellationToken)
public virtual FetchAvailableBindingsResponse FetchAvailableBindings(FetchAvailableBindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Fetches available Bindings.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchAvailableBindingsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse |
The response received from the server. |
FetchAvailableBindingsAsync(FetchAvailableBindingsRequest, CallOptions)
public virtual AsyncUnaryCall<FetchAvailableBindingsResponse> FetchAvailableBindingsAsync(FetchAvailableBindingsRequest request, CallOptions options)Fetches available Bindings.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchAvailableBindingsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallFetchAvailableBindingsResponse |
The call object. |
FetchAvailableBindingsAsync(FetchAvailableBindingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FetchAvailableBindingsResponse> FetchAvailableBindingsAsync(FetchAvailableBindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Fetches available Bindings.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchAvailableBindingsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallFetchAvailableBindingsResponse |
The call object. |
GetAgent(GetAgentRequest, CallOptions)
public virtual Agent GetAgent(GetAgentRequest request, CallOptions options)Gets details of a single Agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAgentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Agent |
The response received from the server. |
GetAgent(GetAgentRequest, Metadata, DateTime?, CancellationToken)
public virtual Agent GetAgent(GetAgentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAgentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Agent |
The response received from the server. |
GetAgentAsync(GetAgentRequest, CallOptions)
public virtual AsyncUnaryCall<Agent> GetAgentAsync(GetAgentRequest request, CallOptions options)Gets details of a single Agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAgentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAgent |
The call object. |
GetAgentAsync(GetAgentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Agent> GetAgentAsync(GetAgentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAgentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAgent |
The call object. |
GetBinding(GetBindingRequest, CallOptions)
public virtual Binding GetBinding(GetBindingRequest request, CallOptions options)Gets details of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBindingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Binding |
The response received from the server. |
GetBinding(GetBindingRequest, Metadata, DateTime?, CancellationToken)
public virtual Binding GetBinding(GetBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBindingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Binding |
The response received from the server. |
GetBindingAsync(GetBindingRequest, CallOptions)
public virtual AsyncUnaryCall<Binding> GetBindingAsync(GetBindingRequest request, CallOptions options)Gets details of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBindingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallBinding |
The call object. |
GetBindingAsync(GetBindingRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Binding> GetBindingAsync(GetBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBindingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallBinding |
The call object. |
GetEndpoint(GetEndpointRequest, CallOptions)
public virtual Endpoint GetEndpoint(GetEndpointRequest request, CallOptions options)Gets details of a single Endpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEndpointRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Endpoint |
The response received from the server. |
GetEndpoint(GetEndpointRequest, Metadata, DateTime?, CancellationToken)
public virtual Endpoint GetEndpoint(GetEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Endpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEndpointRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Endpoint |
The response received from the server. |
GetEndpointAsync(GetEndpointRequest, CallOptions)
public virtual AsyncUnaryCall<Endpoint> GetEndpointAsync(GetEndpointRequest request, CallOptions options)Gets details of a single Endpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEndpointRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEndpoint |
The call object. |
GetEndpointAsync(GetEndpointRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Endpoint> GetEndpointAsync(GetEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Endpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEndpointRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEndpoint |
The call object. |
GetMcpServer(GetMcpServerRequest, CallOptions)
public virtual McpServer GetMcpServer(GetMcpServerRequest request, CallOptions options)Gets details of a single McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpServerRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
McpServer |
The response received from the server. |
GetMcpServer(GetMcpServerRequest, Metadata, DateTime?, CancellationToken)
public virtual McpServer GetMcpServer(GetMcpServerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpServerRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
McpServer |
The response received from the server. |
GetMcpServerAsync(GetMcpServerRequest, CallOptions)
public virtual AsyncUnaryCall<McpServer> GetMcpServerAsync(GetMcpServerRequest request, CallOptions options)Gets details of a single McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpServerRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallMcpServer |
The call object. |
GetMcpServerAsync(GetMcpServerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<McpServer> GetMcpServerAsync(GetMcpServerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpServerRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallMcpServer |
The call object. |
GetService(GetServiceRequest, CallOptions)
public virtual Service GetService(GetServiceRequest request, CallOptions options)Gets details of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The response received from the server. |
GetService(GetServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual Service GetService(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Service |
The response received from the server. |
GetServiceAsync(GetServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, CallOptions options)Gets details of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallService |
The call object. |
GetServiceAsync(GetServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallService |
The call object. |
ListAgents(ListAgentsRequest, CallOptions)
public virtual ListAgentsResponse ListAgents(ListAgentsRequest request, CallOptions options)Lists Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAgentsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListAgentsResponse |
The response received from the server. |
ListAgents(ListAgentsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListAgentsResponse ListAgents(ListAgentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAgentsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListAgentsResponse |
The response received from the server. |
ListAgentsAsync(ListAgentsRequest, CallOptions)
public virtual AsyncUnaryCall<ListAgentsResponse> ListAgentsAsync(ListAgentsRequest request, CallOptions options)Lists Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAgentsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListAgentsResponse |
The call object. |
ListAgentsAsync(ListAgentsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListAgentsResponse> ListAgentsAsync(ListAgentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAgentsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListAgentsResponse |
The call object. |
ListBindings(ListBindingsRequest, CallOptions)
public virtual ListBindingsResponse ListBindings(ListBindingsRequest request, CallOptions options)Lists Bindings in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBindingsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListBindingsResponse |
The response received from the server. |
ListBindings(ListBindingsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListBindingsResponse ListBindings(ListBindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Bindings in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBindingsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListBindingsResponse |
The response received from the server. |
ListBindingsAsync(ListBindingsRequest, CallOptions)
public virtual AsyncUnaryCall<ListBindingsResponse> ListBindingsAsync(ListBindingsRequest request, CallOptions options)Lists Bindings in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBindingsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListBindingsResponse |
The call object. |
ListBindingsAsync(ListBindingsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListBindingsResponse> ListBindingsAsync(ListBindingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Bindings in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBindingsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListBindingsResponse |
The call object. |
ListEndpoints(ListEndpointsRequest, CallOptions)
public virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest request, CallOptions options)Lists Endpoints in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEndpointsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListEndpointsResponse |
The response received from the server. |
ListEndpoints(ListEndpointsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Endpoints in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEndpointsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListEndpointsResponse |
The response received from the server. |
ListEndpointsAsync(ListEndpointsRequest, CallOptions)
public virtual AsyncUnaryCall<ListEndpointsResponse> ListEndpointsAsync(ListEndpointsRequest request, CallOptions options)Lists Endpoints in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEndpointsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListEndpointsResponse |
The call object. |
ListEndpointsAsync(ListEndpointsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListEndpointsResponse> ListEndpointsAsync(ListEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Endpoints in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEndpointsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListEndpointsResponse |
The call object. |
ListMcpServers(ListMcpServersRequest, CallOptions)
public virtual ListMcpServersResponse ListMcpServers(ListMcpServersRequest request, CallOptions options)Lists McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpServersRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListMcpServersResponse |
The response received from the server. |
ListMcpServers(ListMcpServersRequest, Metadata, DateTime?, CancellationToken)
public virtual ListMcpServersResponse ListMcpServers(ListMcpServersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpServersRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListMcpServersResponse |
The response received from the server. |
ListMcpServersAsync(ListMcpServersRequest, CallOptions)
public virtual AsyncUnaryCall<ListMcpServersResponse> ListMcpServersAsync(ListMcpServersRequest request, CallOptions options)Lists McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpServersRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListMcpServersResponse |
The call object. |
ListMcpServersAsync(ListMcpServersRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListMcpServersResponse> ListMcpServersAsync(ListMcpServersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpServersRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListMcpServersResponse |
The call object. |
ListServices(ListServicesRequest, CallOptions)
public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)Lists Services in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse |
The response received from the server. |
ListServices(ListServicesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Services in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse |
The response received from the server. |
ListServicesAsync(ListServicesRequest, CallOptions)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, CallOptions options)Lists Services in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListServicesResponse |
The call object. |
ListServicesAsync(ListServicesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Services in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListServicesResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override AgentRegistry.AgentRegistryClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
AgentRegistryAgentRegistryClient |
|
SearchAgents(SearchAgentsRequest, CallOptions)
public virtual SearchAgentsResponse SearchAgents(SearchAgentsRequest request, CallOptions options)Searches Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchAgentsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SearchAgentsResponse |
The response received from the server. |
SearchAgents(SearchAgentsRequest, Metadata, DateTime?, CancellationToken)
public virtual SearchAgentsResponse SearchAgents(SearchAgentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Searches Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchAgentsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SearchAgentsResponse |
The response received from the server. |
SearchAgentsAsync(SearchAgentsRequest, CallOptions)
public virtual AsyncUnaryCall<SearchAgentsResponse> SearchAgentsAsync(SearchAgentsRequest request, CallOptions options)Searches Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchAgentsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSearchAgentsResponse |
The call object. |
SearchAgentsAsync(SearchAgentsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SearchAgentsResponse> SearchAgentsAsync(SearchAgentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Searches Agents in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchAgentsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSearchAgentsResponse |
The call object. |
SearchMcpServers(SearchMcpServersRequest, CallOptions)
public virtual SearchMcpServersResponse SearchMcpServers(SearchMcpServersRequest request, CallOptions options)Searches McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchMcpServersRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SearchMcpServersResponse |
The response received from the server. |
SearchMcpServers(SearchMcpServersRequest, Metadata, DateTime?, CancellationToken)
public virtual SearchMcpServersResponse SearchMcpServers(SearchMcpServersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Searches McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchMcpServersRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SearchMcpServersResponse |
The response received from the server. |
SearchMcpServersAsync(SearchMcpServersRequest, CallOptions)
public virtual AsyncUnaryCall<SearchMcpServersResponse> SearchMcpServersAsync(SearchMcpServersRequest request, CallOptions options)Searches McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchMcpServersRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSearchMcpServersResponse |
The call object. |
SearchMcpServersAsync(SearchMcpServersRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SearchMcpServersResponse> SearchMcpServersAsync(SearchMcpServersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Searches McpServers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchMcpServersRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSearchMcpServersResponse |
The call object. |
UpdateBinding(UpdateBindingRequest, CallOptions)
public virtual Operation UpdateBinding(UpdateBindingRequest request, CallOptions options)Updates the parameters of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBindingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateBinding(UpdateBindingRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateBinding(UpdateBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the parameters of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBindingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateBindingAsync(UpdateBindingRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateBindingAsync(UpdateBindingRequest request, CallOptions options)Updates the parameters of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBindingRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateBindingAsync(UpdateBindingRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateBindingAsync(UpdateBindingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the parameters of a single Binding.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBindingRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateService(UpdateServiceRequest, CallOptions)
public virtual Operation UpdateService(UpdateServiceRequest request, CallOptions options)Updates the parameters of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateService(UpdateServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateService(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the parameters of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateServiceAsync(UpdateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateServiceAsync(UpdateServiceRequest request, CallOptions options)Updates the parameters of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateServiceAsync(UpdateServiceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateServiceAsync(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the parameters of a single Service.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateServiceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |