public class ConnectionServiceClient : ClientBase<ConnectionService.ConnectionServiceClient>
Client for ConnectionService
Inheritance
Object > ClientBase > ClientBase<ConnectionService.ConnectionServiceClient> > ConnectionService.ConnectionServiceClientNamespace
Google.Cloud.ApigeeConnect.V1Assembly
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(ClientBase.ClientBaseConfiguration)
protected ConnectionServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual ListConnectionsResponse ListConnections(ListConnectionsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListConnectionsResponse> | The call object. |
ListConnectionsAsync(ListConnectionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListConnectionsResponse> ListConnectionsAsync(ListConnectionsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ConnectionService.ConnectionServiceClient |