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.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
aggregatedList(request, callback)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListTargetTcpProxiesRequest, callback: google.cloud.compute.v1.TargetTcpProxies.AggregatedListCallback): void;Calls AggregatedList.
| Parameters | |
|---|---|
| Name | Description |
request |
IAggregatedListTargetTcpProxiesRequest
AggregatedListTargetTcpProxiesRequest message or plain object |
callback |
AggregatedListCallback
Node-style callback called with the error, if any, and TargetTcpProxyAggregatedList |
| Returns | |
|---|---|
| Type | Description |
void |
|
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListTargetTcpProxiesRequest): Promise<google.cloud.compute.v1.TargetTcpProxyAggregatedList>;Calls AggregatedList.
| Parameter | |
|---|---|
| Name | Description |
request |
IAggregatedListTargetTcpProxiesRequest
AggregatedListTargetTcpProxiesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.TargetTcpProxyAggregatedList> |
Promise |
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 | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteTargetTcpProxyRequest
DeleteTargetTcpProxyRequest message or plain object |
callback |
DeleteCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteTargetTcpProxyRequest
DeleteTargetTcpProxyRequest message or plain object |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetTargetTcpProxyRequest
GetTargetTcpProxyRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and TargetTcpProxy |
| Returns | |
|---|---|
| Type | Description |
void |
|
get(request)
public get(request: google.cloud.compute.v1.IGetTargetTcpProxyRequest): Promise<google.cloud.compute.v1.TargetTcpProxy>;Calls Get.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetTargetTcpProxyRequest
GetTargetTcpProxyRequest message or plain object |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
IInsertTargetTcpProxyRequest
InsertTargetTcpProxyRequest message or plain object |
callback |
InsertCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
insert(request)
public insert(request: google.cloud.compute.v1.IInsertTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Parameter | |
|---|---|
| Name | Description |
request |
IInsertTargetTcpProxyRequest
InsertTargetTcpProxyRequest message or plain object |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
IListTargetTcpProxiesRequest
ListTargetTcpProxiesRequest message or plain object |
callback |
ListCallback
Node-style callback called with the error, if any, and TargetTcpProxyList |
| Returns | |
|---|---|
| Type | Description |
void |
|
list(request)
public list(request: google.cloud.compute.v1.IListTargetTcpProxiesRequest): Promise<google.cloud.compute.v1.TargetTcpProxyList>;Calls List.
| Parameter | |
|---|---|
| Name | Description |
request |
IListTargetTcpProxiesRequest
ListTargetTcpProxiesRequest message or plain object |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ISetBackendServiceTargetTcpProxyRequest
SetBackendServiceTargetTcpProxyRequest message or plain object |
callback |
SetBackendServiceCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
setBackendService(request)
public setBackendService(request: google.cloud.compute.v1.ISetBackendServiceTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;Calls SetBackendService.
| Parameter | |
|---|---|
| Name | Description |
request |
ISetBackendServiceTargetTcpProxyRequest
SetBackendServiceTargetTcpProxyRequest message or plain object |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ISetProxyHeaderTargetTcpProxyRequest
SetProxyHeaderTargetTcpProxyRequest message or plain object |
callback |
SetProxyHeaderCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
setProxyHeader(request)
public setProxyHeader(request: google.cloud.compute.v1.ISetProxyHeaderTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;Calls SetProxyHeader.
| Parameter | |
|---|---|
| Name | Description |
request |
ISetProxyHeaderTargetTcpProxyRequest
SetProxyHeaderTargetTcpProxyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |