Cloud API Registry v1 API - Class CloudApiRegistryClientImpl (1.0.0-beta01)

public sealed class CloudApiRegistryClientImpl : CloudApiRegistryClient

Reference documentation and code samples for the Cloud API Registry v1 API class CloudApiRegistryClientImpl.

CloudApiRegistry client wrapper implementation, for convenient use.

Inheritance

object > CloudApiRegistryClient > CloudApiRegistryClientImpl

Namespace

Google.Cloud.ApiRegistry.V1

Assembly

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 CloudApiRegistryCloudApiRegistryClient

The underlying gRPC client.

settings CloudApiRegistrySettings

The base CloudApiRegistrySettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override CloudApiRegistry.CloudApiRegistryClient GrpcClient { get; }

The underlying gRPC CloudApiRegistry client

Property Value
Type Description
CloudApiRegistryCloudApiRegistryClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

GetMcpServer(GetMcpServerRequest, CallSettings)

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

Gets 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 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

GetMcpTool(GetMcpToolRequest, CallSettings)

public override McpTool GetMcpTool(GetMcpToolRequest request, CallSettings callSettings = null)

Gets a single McpTool.

Parameters
Name Description
request GetMcpToolRequest

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
McpTool

The RPC response.

Overrides

GetMcpToolAsync(GetMcpToolRequest, CallSettings)

public override Task<McpTool> GetMcpToolAsync(GetMcpToolRequest request, CallSettings callSettings = null)

Gets a single McpTool.

Parameters
Name Description
request GetMcpToolRequest

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
TaskMcpTool

A Task containing the RPC response.

Overrides

ListMcpServers(ListMcpServersRequest, CallSettings)

public override PagedEnumerable<ListMcpServersResponse, McpServer> ListMcpServers(ListMcpServersRequest request, CallSettings callSettings = null)

Lists McpServers in a given Project.

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.

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

ListMcpTools(ListMcpToolsRequest, CallSettings)

public override PagedEnumerable<ListMcpToolsResponse, McpTool> ListMcpTools(ListMcpToolsRequest request, CallSettings callSettings = null)

Lists McpTools in a given McpServer.

Parameters
Name Description
request ListMcpToolsRequest

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
PagedEnumerableListMcpToolsResponseMcpTool

A pageable sequence of McpTool resources.

Overrides

ListMcpToolsAsync(ListMcpToolsRequest, CallSettings)

public override PagedAsyncEnumerable<ListMcpToolsResponse, McpTool> ListMcpToolsAsync(ListMcpToolsRequest request, CallSettings callSettings = null)

Lists McpTools in a given McpServer.

Parameters
Name Description
request ListMcpToolsRequest

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
PagedAsyncEnumerableListMcpToolsResponseMcpTool

A pageable asynchronous sequence of McpTool resources.

Overrides