public sealed class CloudApiRegistryClientImpl : CloudApiRegistryClientReference documentation and code samples for the Cloud API Registry v1 API class CloudApiRegistryClientImpl.
CloudApiRegistry client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ApiRegistry.V1Assembly
Google.Cloud.ApiRegistry.V1.dll
Remarks
The Cloud API Registry service provides a central registry for managing API Data.
Constructors
CloudApiRegistryClientImpl(CloudApiRegistryClient, CloudApiRegistrySettings, ILogger)
public CloudApiRegistryClientImpl(CloudApiRegistry.CloudApiRegistryClient grpcClient, CloudApiRegistrySettings settings, ILogger logger)Constructs a client wrapper for the CloudApiRegistry service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
CloudApiRegistryCloudApiRegistryClientThe underlying gRPC client. |
settings |
CloudApiRegistrySettingsThe base CloudApiRegistrySettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override CloudApiRegistry.CloudApiRegistryClient GrpcClient { get; }The underlying gRPC CloudApiRegistry client
| Property Value | |
|---|---|
| Type | Description |
CloudApiRegistryCloudApiRegistryClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
GetMcpServer(GetMcpServerRequest, CallSettings)
public override McpServer GetMcpServer(GetMcpServerRequest request, CallSettings callSettings = null)Gets 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 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. |
GetMcpTool(GetMcpToolRequest, CallSettings)
public override McpTool GetMcpTool(GetMcpToolRequest request, CallSettings callSettings = null)Gets a single McpTool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
McpTool |
The RPC response. |
GetMcpToolAsync(GetMcpToolRequest, CallSettings)
public override Task<McpTool> GetMcpToolAsync(GetMcpToolRequest request, CallSettings callSettings = null)Gets a single McpTool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMcpToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMcpTool |
A Task containing the RPC response. |
ListMcpServers(ListMcpServersRequest, CallSettings)
public override PagedEnumerable<ListMcpServersResponse, McpServer> ListMcpServers(ListMcpServersRequest request, CallSettings callSettings = null)Lists McpServers in a given Project.
| 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.
| 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. |
ListMcpTools(ListMcpToolsRequest, CallSettings)
public override PagedEnumerable<ListMcpToolsResponse, McpTool> ListMcpTools(ListMcpToolsRequest request, CallSettings callSettings = null)Lists McpTools in a given McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpToolsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMcpToolsResponseMcpTool |
A pageable sequence of McpTool resources. |
ListMcpToolsAsync(ListMcpToolsRequest, CallSettings)
public override PagedAsyncEnumerable<ListMcpToolsResponse, McpTool> ListMcpToolsAsync(ListMcpToolsRequest request, CallSettings callSettings = null)Lists McpTools in a given McpServer.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMcpToolsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMcpToolsResponseMcpTool |
A pageable asynchronous sequence of McpTool resources. |