Tether provides a way for the control plane to send HTTP API requests to services in data planes that runs in a remote datacenter without requiring customers to open firewalls on their runtime plane. v1
Package
@google-cloud/apigee-connect!
Constructors
(constructor)(opts)
constructor(opts?:ClientOptions);
Construct an instance of TetherClient.
Parameter
Name
Description
opts
ClientOptions
Properties
apiEndpoint
staticgetapiEndpoint():string;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
Property Value
Type
Description
string
auth
auth:gax.GoogleAuth;
Property Value
Type
Description
gax.GoogleAuth
descriptors
descriptors:Descriptors;
Property Value
Type
Description
Descriptors
innerApiCalls
innerApiCalls:{[name:string]:Function;};
Property Value
Type
Description
{
[name: string]:Function;
}
port
staticgetport():number;
The port for this API service.
Property Value
Type
Description
number
scopes
staticgetscopes():string[];
The scopes needed to make gRPC calls for every method defined in this service.
Egress streams egress requests and responses. Logically, this is not actually a streaming request, but uses streaming as a mechanism to flip the client-server relationship of gRPC so that the server can act as a client. The listener, the RPC server, accepts connections from the dialer, the RPC client. The listener streams http requests and the dialer streams http responses.
{Stream} An object stream which is both readable and writable. It accepts objects representing [EgressResponse] for write() method, and will emit objects representing [EgressRequest] on 'data' event asynchronously. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#bi-directional-streaming) for more details and examples.
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns
Type
Description
Promise<{
[name: string]:Function;
}>
{Promise} A promise that resolves to an authenticated service stub.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]