API hub v1 API - Class ApiHubAddonClientImpl (1.3.0)

public sealed class ApiHubAddonClientImpl : ApiHubAddonClient

Reference documentation and code samples for the API hub v1 API class ApiHubAddonClientImpl.

ApiHubAddon client wrapper implementation, for convenient use.

Inheritance

object > ApiHubAddonClient > ApiHubAddonClientImpl

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Remarks

This service is used for managing addons inside the API Hub.

Constructors

ApiHubAddonClientImpl(ApiHubAddonClient, ApiHubAddonSettings, ILogger)

public ApiHubAddonClientImpl(ApiHubAddon.ApiHubAddonClient grpcClient, ApiHubAddonSettings settings, ILogger logger)

Constructs a client wrapper for the ApiHubAddon service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient ApiHubAddonApiHubAddonClient

The underlying gRPC client.

settings ApiHubAddonSettings

The base ApiHubAddonSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ApiHubAddon.ApiHubAddonClient GrpcClient { get; }

The underlying gRPC ApiHubAddon client

Property Value
Type Description
ApiHubAddonApiHubAddonClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

ManageAddonConfigOperationsClient

public override OperationsClient ManageAddonConfigOperationsClient { get; }

The long-running operations client for ManageAddonConfig.

Property Value
Type Description
OperationsClient
Overrides

Methods

GetAddon(GetAddonRequest, CallSettings)

public override Addon GetAddon(GetAddonRequest request, CallSettings callSettings = null)

Get an addon.

Parameters
Name Description
request GetAddonRequest

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
Addon

The RPC response.

Overrides

GetAddonAsync(GetAddonRequest, CallSettings)

public override Task<Addon> GetAddonAsync(GetAddonRequest request, CallSettings callSettings = null)

Get an addon.

Parameters
Name Description
request GetAddonRequest

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
TaskAddon

A Task containing the RPC response.

Overrides

ListAddons(ListAddonsRequest, CallSettings)

public override PagedEnumerable<ListAddonsResponse, Addon> ListAddons(ListAddonsRequest request, CallSettings callSettings = null)

List addons.

Parameters
Name Description
request ListAddonsRequest

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
PagedEnumerableListAddonsResponseAddon

A pageable sequence of Addon resources.

Overrides

ListAddonsAsync(ListAddonsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAddonsResponse, Addon> ListAddonsAsync(ListAddonsRequest request, CallSettings callSettings = null)

List addons.

Parameters
Name Description
request ListAddonsRequest

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
PagedAsyncEnumerableListAddonsResponseAddon

A pageable asynchronous sequence of Addon resources.

Overrides

ManageAddonConfig(ManageAddonConfigRequest, CallSettings)

public override Operation<Addon, OperationMetadata> ManageAddonConfig(ManageAddonConfigRequest request, CallSettings callSettings = null)

Manage addon config. This RPC is used for managing the config of the addon. Calling this RPC moves the addon into an updating state until the long-running operation succeeds.

Parameters
Name Description
request ManageAddonConfigRequest

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
OperationAddonOperationMetadata

The RPC response.

Overrides

ManageAddonConfigAsync(ManageAddonConfigRequest, CallSettings)

public override Task<Operation<Addon, OperationMetadata>> ManageAddonConfigAsync(ManageAddonConfigRequest request, CallSettings callSettings = null)

Manage addon config. This RPC is used for managing the config of the addon. Calling this RPC moves the addon into an updating state until the long-running operation succeeds.

Parameters
Name Description
request ManageAddonConfigRequest

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
TaskOperationAddonOperationMetadata

A Task containing the RPC response.

Overrides