public sealed class ApiHubPluginClientImpl : ApiHubPluginClientReference documentation and code samples for the API hub v1 API class ApiHubPluginClientImpl.
ApiHubPlugin client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Remarks
This service is used for managing plugins inside the API Hub.
Constructors
ApiHubPluginClientImpl(ApiHubPluginClient, ApiHubPluginSettings, ILogger)
public ApiHubPluginClientImpl(ApiHubPlugin.ApiHubPluginClient grpcClient, ApiHubPluginSettings settings, ILogger logger)Constructs a client wrapper for the ApiHubPlugin service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
ApiHubPluginApiHubPluginClientThe underlying gRPC client. |
settings |
ApiHubPluginSettingsThe base ApiHubPluginSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override ApiHubPlugin.ApiHubPluginClient GrpcClient { get; }The underlying gRPC ApiHubPlugin client
| Property Value | |
|---|---|
| Type | Description |
ApiHubPluginApiHubPluginClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
DisablePlugin(DisablePluginRequest, CallSettings)
public override Plugin DisablePlugin(DisablePluginRequest request, CallSettings callSettings = null)Disables a plugin.
The state of the plugin after disabling is DISABLED
| Parameters | |
|---|---|
| Name | Description |
request |
DisablePluginRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Plugin |
The RPC response. |
DisablePluginAsync(DisablePluginRequest, CallSettings)
public override Task<Plugin> DisablePluginAsync(DisablePluginRequest request, CallSettings callSettings = null)Disables a plugin.
The state of the plugin after disabling is DISABLED
| Parameters | |
|---|---|
| Name | Description |
request |
DisablePluginRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPlugin |
A Task containing the RPC response. |
EnablePlugin(EnablePluginRequest, CallSettings)
public override Plugin EnablePlugin(EnablePluginRequest request, CallSettings callSettings = null)Enables a plugin.
The state of the plugin after enabling is ENABLED
| Parameters | |
|---|---|
| Name | Description |
request |
EnablePluginRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Plugin |
The RPC response. |
EnablePluginAsync(EnablePluginRequest, CallSettings)
public override Task<Plugin> EnablePluginAsync(EnablePluginRequest request, CallSettings callSettings = null)Enables a plugin.
The state of the plugin after enabling is ENABLED
| Parameters | |
|---|---|
| Name | Description |
request |
EnablePluginRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPlugin |
A Task containing the RPC response. |
GetPlugin(GetPluginRequest, CallSettings)
public override Plugin GetPlugin(GetPluginRequest request, CallSettings callSettings = null)Get details about an API Hub plugin.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPluginRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Plugin |
The RPC response. |
GetPluginAsync(GetPluginRequest, CallSettings)
public override Task<Plugin> GetPluginAsync(GetPluginRequest request, CallSettings callSettings = null)Get details about an API Hub plugin.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPluginRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPlugin |
A Task containing the RPC response. |