Represents a RegionTargetTcpProxies
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionTargetTcpProxiesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new RegionTargetTcpProxies 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): RegionTargetTcpProxies;
Creates new RegionTargetTcpProxies 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 |
RegionTargetTcpProxies | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteRegionTargetTcpProxyRequest, callback: google.cloud.compute.v1.RegionTargetTcpProxies.DeleteCallback): void;
Calls Delete.
Name | Description |
request |
IDeleteRegionTargetTcpProxyRequest
DeleteRegionTargetTcpProxyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionTargetTcpProxies.DeleteCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteRegionTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
IDeleteRegionTargetTcpProxyRequest
DeleteRegionTargetTcpProxyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionTargetTcpProxyRequest, callback: google.cloud.compute.v1.RegionTargetTcpProxies.GetCallback): void;
Calls Get.
Name | Description |
request |
IGetRegionTargetTcpProxyRequest
GetRegionTargetTcpProxyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionTargetTcpProxies.GetCallback
Node-style callback called with the error, if any, and TargetTcpProxy |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetRegionTargetTcpProxyRequest): Promise<google.cloud.compute.v1.TargetTcpProxy>;
Calls Get.
Name | Description |
request |
IGetRegionTargetTcpProxyRequest
GetRegionTargetTcpProxyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.TargetTcpProxy> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertRegionTargetTcpProxyRequest, callback: google.cloud.compute.v1.RegionTargetTcpProxies.InsertCallback): void;
Calls Insert.
Name | Description |
request |
IInsertRegionTargetTcpProxyRequest
InsertRegionTargetTcpProxyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionTargetTcpProxies.InsertCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertRegionTargetTcpProxyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
IInsertRegionTargetTcpProxyRequest
InsertRegionTargetTcpProxyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionTargetTcpProxiesRequest, callback: google.cloud.compute.v1.RegionTargetTcpProxies.ListCallback): void;
Calls List.
Name | Description |
request |
IListRegionTargetTcpProxiesRequest
ListRegionTargetTcpProxiesRequest message or plain object |
callback |
google.cloud.compute.v1.RegionTargetTcpProxies.ListCallback
Node-style callback called with the error, if any, and TargetTcpProxyList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListRegionTargetTcpProxiesRequest): Promise<google.cloud.compute.v1.TargetTcpProxyList>;
Calls List.
Name | Description |
request |
IListRegionTargetTcpProxiesRequest
ListRegionTargetTcpProxiesRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.TargetTcpProxyList> | Promise |