Apigee Connect v1 API - Class ConnectionService.ConnectionServiceClient (2.3.0)

public class ConnectionService.ConnectionServiceClient : ClientBase<ConnectionService.ConnectionServiceClient>

Reference documentation and code samples for the Apigee Connect v1 API class ConnectionService.ConnectionServiceClient.

Client for ConnectionService

Inheritance

object > ClientBase > ClientBaseConnectionServiceConnectionServiceClient > 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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ConnectionServiceClient(ChannelBase)

public ConnectionServiceClient(ChannelBase channel)

Creates a new client for ConnectionService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ConnectionServiceClient(ClientBaseConfiguration)

protected ConnectionServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Name Description
request ListConnectionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListConnectionsResponse

The response received from the server.

ListConnections(ListConnectionsRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request ListConnectionsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request ListConnectionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListConnectionsResponse

The call object.

ListConnectionsAsync(ListConnectionsRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request ListConnectionsRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListConnectionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ConnectionServiceConnectionServiceClient
Overrides