Class protos.google.cloud.compute.v1.RegionTargetHttpProxies

Represents a RegionTargetHttpProxies

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

Creates new RegionTargetHttpProxies 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
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

Parameter
NameDescription
request IDeleteRegionTargetHttpProxyRequest

DeleteRegionTargetHttpProxyRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetRegionTargetHttpProxyRequest): Promise<google.cloud.compute.v1.TargetHttpProxy>;

Calls Get.

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

GetRegionTargetHttpProxyRequest message or plain object

Returns
TypeDescription
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.

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

InsertRegionTargetHttpProxyRequest message or plain object

callback google.cloud.compute.v1.RegionTargetHttpProxies.InsertCallback

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

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

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

InsertRegionTargetHttpProxyRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
request IListRegionTargetHttpProxiesRequest

ListRegionTargetHttpProxiesRequest message or plain object

callback google.cloud.compute.v1.RegionTargetHttpProxies.ListCallback

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

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListRegionTargetHttpProxiesRequest): Promise<google.cloud.compute.v1.TargetHttpProxyList>;

Calls List.

Parameter
NameDescription
request IListRegionTargetHttpProxiesRequest

ListRegionTargetHttpProxiesRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

setUrlMap(request)

public setUrlMap(request: google.cloud.compute.v1.ISetUrlMapRegionTargetHttpProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetUrlMap.

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

SetUrlMapRegionTargetHttpProxyRequest message or plain object

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

Promise