Apigee Connect v1 API - Class ConnectionService.ConnectionServiceClient (2.2.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
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(ClientBaseConfiguration)

protected ConnectionServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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, 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
NameDescription
requestListConnectionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
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
NameDescription
requestListConnectionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListConnectionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ConnectionServiceConnectionServiceClient
Overrides