API hub v1 API - Class ApiHubPluginClientImpl (1.0.0-beta01)

public sealed class ApiHubPluginClientImpl : ApiHubPluginClient

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

ApiHubPlugin client wrapper implementation, for convenient use.

Inheritance

object > ApiHubPluginClient > ApiHubPluginClientImpl

Namespace

Google.Cloud.ApiHub.V1

Assembly

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 ApiHubPluginApiHubPluginClient

The underlying gRPC client.

settings ApiHubPluginSettings

The base ApiHubPluginSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ApiHubPlugin.ApiHubPluginClient GrpcClient { get; }

The underlying gRPC ApiHubPlugin client

Property Value
Type Description
ApiHubPluginApiHubPluginClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

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 DisablePluginRequest

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
Plugin

The RPC response.

Overrides

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 DisablePluginRequest

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
TaskPlugin

A Task containing the RPC response.

Overrides

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 EnablePluginRequest

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
Plugin

The RPC response.

Overrides

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 EnablePluginRequest

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
TaskPlugin

A Task containing the RPC response.

Overrides

GetPlugin(GetPluginRequest, CallSettings)

public override Plugin GetPlugin(GetPluginRequest request, CallSettings callSettings = null)

Get details about an API Hub plugin.

Parameters
Name Description
request GetPluginRequest

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
Plugin

The RPC response.

Overrides

GetPluginAsync(GetPluginRequest, CallSettings)

public override Task<Plugin> GetPluginAsync(GetPluginRequest request, CallSettings callSettings = null)

Get details about an API Hub plugin.

Parameters
Name Description
request GetPluginRequest

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
TaskPlugin

A Task containing the RPC response.

Overrides