Class protos.google.cloud.compute.v1.TargetTcpProxies (3.0.0)

Represents a TargetTcpProxies

Inheritance

$protobuf.rpc.Service > protos.google.cloud.compute.v1.TargetTcpProxies

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

Creates new TargetTcpProxies 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
TargetTcpProxies

RPC service. Useful where requests and/or responses are streamed.

delete(request, callback)

public delete(request: google.cloud.compute.v1.IDeleteTargetTcpProxyRequest, callback: google.cloud.compute.v1.TargetTcpProxies.DeleteCallback): void;

Calls Delete.

Parameters
NameDescription
request IDeleteTargetTcpProxyRequest

DeleteTargetTcpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetTcpProxies.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

public delete(request: google.cloud.compute.v1.IDeleteTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Delete.

Parameter
NameDescription
request IDeleteTargetTcpProxyRequest

DeleteTargetTcpProxyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

get(request, callback)

public get(request: google.cloud.compute.v1.IGetTargetTcpProxyRequest, callback: google.cloud.compute.v1.TargetTcpProxies.GetCallback): void;

Calls Get.

Parameters
NameDescription
request IGetTargetTcpProxyRequest

GetTargetTcpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetTcpProxies.GetCallback

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

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetTargetTcpProxyRequest): Promise<google.cloud.compute.v1.TargetTcpProxy>;

Calls Get.

Parameter
NameDescription
request IGetTargetTcpProxyRequest

GetTargetTcpProxyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.TargetTcpProxy>

Promise

insert(request, callback)

public insert(request: google.cloud.compute.v1.IInsertTargetTcpProxyRequest, callback: google.cloud.compute.v1.TargetTcpProxies.InsertCallback): void;

Calls Insert.

Parameters
NameDescription
request IInsertTargetTcpProxyRequest

InsertTargetTcpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetTcpProxies.InsertCallback

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

Returns
TypeDescription
void

insert(request)

public insert(request: google.cloud.compute.v1.IInsertTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Insert.

Parameter
NameDescription
request IInsertTargetTcpProxyRequest

InsertTargetTcpProxyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

list(request, callback)

public list(request: google.cloud.compute.v1.IListTargetTcpProxiesRequest, callback: google.cloud.compute.v1.TargetTcpProxies.ListCallback): void;

Calls List.

Parameters
NameDescription
request google.cloud.compute.v1.IListTargetTcpProxiesRequest

ListTargetTcpProxiesRequest message or plain object

callback google.cloud.compute.v1.TargetTcpProxies.ListCallback

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

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListTargetTcpProxiesRequest): Promise<google.cloud.compute.v1.TargetTcpProxyList>;

Calls List.

Parameter
NameDescription
request google.cloud.compute.v1.IListTargetTcpProxiesRequest

ListTargetTcpProxiesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.TargetTcpProxyList>

Promise

setBackendService(request, callback)

public setBackendService(request: google.cloud.compute.v1.ISetBackendServiceTargetTcpProxyRequest, callback: google.cloud.compute.v1.TargetTcpProxies.SetBackendServiceCallback): void;

Calls SetBackendService.

Parameters
NameDescription
request ISetBackendServiceTargetTcpProxyRequest

SetBackendServiceTargetTcpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetTcpProxies.SetBackendServiceCallback

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

Returns
TypeDescription
void

setBackendService(request)

public setBackendService(request: google.cloud.compute.v1.ISetBackendServiceTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetBackendService.

Parameter
NameDescription
request ISetBackendServiceTargetTcpProxyRequest

SetBackendServiceTargetTcpProxyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

setProxyHeader(request, callback)

public setProxyHeader(request: google.cloud.compute.v1.ISetProxyHeaderTargetTcpProxyRequest, callback: google.cloud.compute.v1.TargetTcpProxies.SetProxyHeaderCallback): void;

Calls SetProxyHeader.

Parameters
NameDescription
request ISetProxyHeaderTargetTcpProxyRequest

SetProxyHeaderTargetTcpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetTcpProxies.SetProxyHeaderCallback

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

Returns
TypeDescription
void

setProxyHeader(request)

public setProxyHeader(request: google.cloud.compute.v1.ISetProxyHeaderTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetProxyHeader.

Parameter
NameDescription
request ISetProxyHeaderTargetTcpProxyRequest

SetProxyHeaderTargetTcpProxyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise