Represents a RegionTargetHttpProxies
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionTargetHttpProxiesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new RegionTargetHttpProxies 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): RegionTargetHttpProxies;
Creates new RegionTargetHttpProxies 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 |
RegionTargetHttpProxies | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteRegionTargetHttpProxyRequest, callback: google.cloud.compute.v1.RegionTargetHttpProxies.DeleteCallback): void;
Calls Delete.
Name | Description |
request |
IDeleteRegionTargetHttpProxyRequest
DeleteRegionTargetHttpProxyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionTargetHttpProxies.DeleteCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteRegionTargetHttpProxyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
IDeleteRegionTargetHttpProxyRequest
DeleteRegionTargetHttpProxyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionTargetHttpProxyRequest, callback: google.cloud.compute.v1.RegionTargetHttpProxies.GetCallback): void;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetRegionTargetHttpProxyRequest
GetRegionTargetHttpProxyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionTargetHttpProxies.GetCallback
Node-style callback called with the error, if any, and TargetHttpProxy |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetRegionTargetHttpProxyRequest): Promise<google.cloud.compute.v1.TargetHttpProxy>;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetRegionTargetHttpProxyRequest
GetRegionTargetHttpProxyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.TargetHttpProxy> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertRegionTargetHttpProxyRequest, callback: google.cloud.compute.v1.RegionTargetHttpProxies.InsertCallback): void;
Calls Insert.
Name | Description |
request |
IInsertRegionTargetHttpProxyRequest
InsertRegionTargetHttpProxyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionTargetHttpProxies.InsertCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertRegionTargetHttpProxyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
IInsertRegionTargetHttpProxyRequest
InsertRegionTargetHttpProxyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionTargetHttpProxiesRequest, callback: google.cloud.compute.v1.RegionTargetHttpProxies.ListCallback): void;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListRegionTargetHttpProxiesRequest
ListRegionTargetHttpProxiesRequest message or plain object |
callback |
google.cloud.compute.v1.RegionTargetHttpProxies.ListCallback
Node-style callback called with the error, if any, and TargetHttpProxyList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListRegionTargetHttpProxiesRequest): Promise<google.cloud.compute.v1.TargetHttpProxyList>;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListRegionTargetHttpProxiesRequest
ListRegionTargetHttpProxiesRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.TargetHttpProxyList> | Promise |
setUrlMap(request, callback)
public setUrlMap(request: google.cloud.compute.v1.ISetUrlMapRegionTargetHttpProxyRequest, callback: google.cloud.compute.v1.RegionTargetHttpProxies.SetUrlMapCallback): void;
Calls SetUrlMap.
Name | Description |
request |
google.cloud.compute.v1.ISetUrlMapRegionTargetHttpProxyRequest
SetUrlMapRegionTargetHttpProxyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionTargetHttpProxies.SetUrlMapCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
setUrlMap(request)
public setUrlMap(request: google.cloud.compute.v1.ISetUrlMapRegionTargetHttpProxyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls SetUrlMap.
Name | Description |
request |
google.cloud.compute.v1.ISetUrlMapRegionTargetHttpProxyRequest
SetUrlMapRegionTargetHttpProxyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |