public sealed class ApiHubAddonClientImpl : ApiHubAddonClientReference documentation and code samples for the API hub v1 API class ApiHubAddonClientImpl.
ApiHubAddon client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ApiHub.V1Assembly
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 |
ApiHubAddonApiHubAddonClientThe underlying gRPC client. |
settings |
ApiHubAddonSettingsThe base ApiHubAddonSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override ApiHubAddon.ApiHubAddonClient GrpcClient { get; }The underlying gRPC ApiHubAddon client
| Property Value | |
|---|---|
| Type | Description |
ApiHubAddonApiHubAddonClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
ManageAddonConfigOperationsClient
public override OperationsClient ManageAddonConfigOperationsClient { get; }The long-running operations client for ManageAddonConfig.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
GetAddon(GetAddonRequest, CallSettings)
public override Addon GetAddon(GetAddonRequest request, CallSettings callSettings = null)Get an addon.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAddonRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Addon |
The RPC response. |
GetAddonAsync(GetAddonRequest, CallSettings)
public override Task<Addon> GetAddonAsync(GetAddonRequest request, CallSettings callSettings = null)Get an addon.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAddonRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAddon |
A Task containing the RPC response. |
ListAddons(ListAddonsRequest, CallSettings)
public override PagedEnumerable<ListAddonsResponse, Addon> ListAddons(ListAddonsRequest request, CallSettings callSettings = null)List addons.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAddonsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAddonsResponseAddon |
A pageable sequence of Addon resources. |
ListAddonsAsync(ListAddonsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAddonsResponse, Addon> ListAddonsAsync(ListAddonsRequest request, CallSettings callSettings = null)List addons.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAddonsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAddonsResponseAddon |
A pageable asynchronous sequence of Addon resources. |
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 |
ManageAddonConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAddonOperationMetadata |
The RPC response. |
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 |
ManageAddonConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAddonOperationMetadata |
A Task containing the RPC response. |