Represents a Tether
Inheritance
$protobuf.rpc.Service > protos.google.cloud.apigeeconnect.v1.TetherPackage
@google-cloud/apigee-connectConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Tether 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): Tether;
Creates new Tether 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 |
Tether | RPC service. Useful where requests and/or responses are streamed. |
egress(request, callback)
public egress(request: google.cloud.apigeeconnect.v1.IEgressResponse, callback: google.cloud.apigeeconnect.v1.Tether.EgressCallback): void;
Calls Egress.
Name | Description |
request |
IEgressResponse
EgressResponse message or plain object |
callback |
google.cloud.apigeeconnect.v1.Tether.EgressCallback
Node-style callback called with the error, if any, and EgressRequest |
Type | Description |
void |
egress(request)
public egress(request: google.cloud.apigeeconnect.v1.IEgressResponse): Promise<google.cloud.apigeeconnect.v1.EgressRequest>;
Calls Egress.
Name | Description |
request |
IEgressResponse
EgressResponse message or plain object |
Type | Description |
Promise<google.cloud.apigeeconnect.v1.EgressRequest> | Promise |