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

Represents a Tether

Inheritance

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

Package

@google-cloud/apigee-connect

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new Tether 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): Tether;

Creates new Tether 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
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.

Parameters
NameDescription
request IEgressResponse

EgressResponse message or plain object

callback EgressCallback

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

Returns
TypeDescription
void

egress(request)

public egress(request: google.cloud.apigeeconnect.v1.IEgressResponse): Promise<google.cloud.apigeeconnect.v1.EgressRequest>;

Calls Egress.

Parameter
NameDescription
request IEgressResponse

EgressResponse message or plain object

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

Promise