Class ConnectionService.ConnectionServiceClient (2.0.0)

public class ConnectionServiceClient : ClientBase<ConnectionService.ConnectionServiceClient>

Client for ConnectionService

Inheritance

Object > ClientBase > ClientBase<ConnectionService.ConnectionServiceClient> > ConnectionService.ConnectionServiceClient

Namespace

Google.Cloud.ApigeeConnect.V1

Assembly

Google.Cloud.ApigeeConnect.V1.dll

Constructors

ConnectionServiceClient()

protected ConnectionServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ConnectionServiceClient(CallInvoker)

public ConnectionServiceClient(CallInvoker callInvoker)

Creates a new client for ConnectionService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ConnectionServiceClient(ChannelBase)

public ConnectionServiceClient(ChannelBase channel)

Creates a new client for ConnectionService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ConnectionServiceClient(ClientBase.ClientBaseConfiguration)

protected ConnectionServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

ListConnections(ListConnectionsRequest, CallOptions)

public virtual ListConnectionsResponse ListConnections(ListConnectionsRequest request, CallOptions options)

Lists connections that are currently active for the given Apigee Connect endpoint.

Parameters
NameDescription
requestListConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListConnectionsResponse

The response received from the server.

ListConnections(ListConnectionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListConnectionsResponse ListConnections(ListConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists connections that are currently active for the given Apigee Connect endpoint.

Parameters
NameDescription
requestListConnectionsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListConnectionsResponse

The response received from the server.

ListConnectionsAsync(ListConnectionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListConnectionsResponse> ListConnectionsAsync(ListConnectionsRequest request, CallOptions options)

Lists connections that are currently active for the given Apigee Connect endpoint.

Parameters
NameDescription
requestListConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListConnectionsResponse>

The call object.

ListConnectionsAsync(ListConnectionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListConnectionsResponse> ListConnectionsAsync(ListConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists connections that are currently active for the given Apigee Connect endpoint.

Parameters
NameDescription
requestListConnectionsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListConnectionsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override ConnectionService.ConnectionServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ConnectionService.ConnectionServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.ApigeeConnect.V1.ConnectionService.ConnectionServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)