Connect Gateway v1 API - Class GatewayControlClientImpl (1.0.0-beta01)

public sealed class GatewayControlClientImpl : GatewayControlClient

Reference documentation and code samples for the Connect Gateway v1 API class GatewayControlClientImpl.

GatewayControl client wrapper implementation, for convenient use.

Inheritance

object > GatewayControlClient > GatewayControlClientImpl

Namespace

Google.Cloud.GkeConnect.Gateway.V1

Assembly

Google.Cloud.GkeConnect.Gateway.V1.dll

Remarks

GatewayControl is the control plane API for Connect Gateway.

Constructors

GatewayControlClientImpl(GatewayControlClient, GatewayControlSettings, ILogger)

public GatewayControlClientImpl(GatewayControl.GatewayControlClient grpcClient, GatewayControlSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient GatewayControlGatewayControlClient

The underlying gRPC client.

settings GatewayControlSettings

The base GatewayControlSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override GatewayControl.GatewayControlClient GrpcClient { get; }

The underlying gRPC GatewayControl client

Property Value
Type Description
GatewayControlGatewayControlClient
Overrides

Methods

GenerateCredentials(GenerateCredentialsRequest, CallSettings)

public override GenerateCredentialsResponse GenerateCredentials(GenerateCredentialsRequest request, CallSettings callSettings = null)

GenerateCredentials provides connection information that allows a user to access the specified membership using Connect Gateway.

Parameters
Name Description
request GenerateCredentialsRequest

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
GenerateCredentialsResponse

The RPC response.

Overrides

GenerateCredentialsAsync(GenerateCredentialsRequest, CallSettings)

public override Task<GenerateCredentialsResponse> GenerateCredentialsAsync(GenerateCredentialsRequest request, CallSettings callSettings = null)

GenerateCredentials provides connection information that allows a user to access the specified membership using Connect Gateway.

Parameters
Name Description
request GenerateCredentialsRequest

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
TaskGenerateCredentialsResponse

A Task containing the RPC response.

Overrides