Represents a TargetTcpProxies
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.TargetTcpProxiesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new TargetTcpProxies 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): TargetTcpProxies;
Creates new TargetTcpProxies 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 |
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.
Name | Description |
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 |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
IDeleteTargetTcpProxyRequest
DeleteTargetTcpProxyRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetTargetTcpProxyRequest): Promise<google.cloud.compute.v1.TargetTcpProxy>;
Calls Get.
Name | Description |
request |
IGetTargetTcpProxyRequest
GetTargetTcpProxyRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
IInsertTargetTcpProxyRequest
InsertTargetTcpProxyRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListTargetTcpProxiesRequest): Promise<google.cloud.compute.v1.TargetTcpProxyList>;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListTargetTcpProxiesRequest
ListTargetTcpProxiesRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
setBackendService(request)
public setBackendService(request: google.cloud.compute.v1.ISetBackendServiceTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls SetBackendService.
Name | Description |
request |
ISetBackendServiceTargetTcpProxyRequest
SetBackendServiceTargetTcpProxyRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
setProxyHeader(request)
public setProxyHeader(request: google.cloud.compute.v1.ISetProxyHeaderTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls SetProxyHeader.
Name | Description |
request |
ISetProxyHeaderTargetTcpProxyRequest
SetProxyHeaderTargetTcpProxyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |