Class protos.google.cloud.apigeeconnect.v1.ConnectionService (3.0.2)

Represents a ConnectionService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.apigeeconnect.v1.ConnectionService

Package

@google-cloud/apigee-connect

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new ConnectionService service.

Parameters
NameDescription
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.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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.

Parameters
NameDescription
request IListConnectionsRequest

ListConnectionsRequest message or plain object

callback ListConnectionsCallback

Node-style callback called with the error, if any, and ListConnectionsResponse

Returns
TypeDescription
void

listConnections(request)

public listConnections(request: google.cloud.apigeeconnect.v1.IListConnectionsRequest): Promise<google.cloud.apigeeconnect.v1.ListConnectionsResponse>;

Calls ListConnections.

Parameter
NameDescription
request IListConnectionsRequest

ListConnectionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeconnect.v1.ListConnectionsResponse>

Promise