Represents a ConnectionService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.apigeeconnect.v1.ConnectionServicePackage
@google-cloud/apigee-connectConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ConnectionService service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ConnectionService;
Creates new ConnectionService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
ConnectionService | RPC service. Useful where requests and/or responses are streamed. |
listConnections(request, callback)
public listConnections(request: google.cloud.apigeeconnect.v1.IListConnectionsRequest, callback: google.cloud.apigeeconnect.v1.ConnectionService.ListConnectionsCallback): void;
Calls ListConnections.
Name | Description |
request |
google.cloud.apigeeconnect.v1.IListConnectionsRequest
ListConnectionsRequest message or plain object |
callback |
google.cloud.apigeeconnect.v1.ConnectionService.ListConnectionsCallback
Node-style callback called with the error, if any, and ListConnectionsResponse |
Type | Description |
void |
listConnections(request)
public listConnections(request: google.cloud.apigeeconnect.v1.IListConnectionsRequest): Promise<google.cloud.apigeeconnect.v1.ListConnectionsResponse>;
Calls ListConnections.
Name | Description |
request |
google.cloud.apigeeconnect.v1.IListConnectionsRequest
ListConnectionsRequest message or plain object |
Type | Description |
Promise<google.cloud.apigeeconnect.v1.ListConnectionsResponse> | Promise |