Class protos.google.cloud.compute.v1.TargetHttpProxies (3.8.1)

Represents a TargetHttpProxies

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new TargetHttpProxies service.

Parameters
NameDescription
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.IAggregatedListTargetHttpProxiesRequest, callback: google.cloud.compute.v1.TargetHttpProxies.AggregatedListCallback): void;

Calls AggregatedList.

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

AggregatedListTargetHttpProxiesRequest message or plain object

callback google.cloud.compute.v1.TargetHttpProxies.AggregatedListCallback

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

Returns
TypeDescription
void

aggregatedList(request)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListTargetHttpProxiesRequest): Promise<google.cloud.compute.v1.TargetHttpProxyAggregatedList>;

Calls AggregatedList.

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

AggregatedListTargetHttpProxiesRequest message or plain object

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

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TargetHttpProxies;

Creates new TargetHttpProxies 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
TargetHttpProxies

RPC service. Useful where requests and/or responses are streamed.

delete(request, callback)

public delete(request: google.cloud.compute.v1.IDeleteTargetHttpProxyRequest, callback: google.cloud.compute.v1.TargetHttpProxies.DeleteCallback): void;

Calls Delete.

Parameters
NameDescription
request IDeleteTargetHttpProxyRequest

DeleteTargetHttpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetHttpProxies.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

Parameter
NameDescription
request IDeleteTargetHttpProxyRequest

DeleteTargetHttpProxyRequest message or plain object

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

Promise

get(request, callback)

public get(request: google.cloud.compute.v1.IGetTargetHttpProxyRequest, callback: google.cloud.compute.v1.TargetHttpProxies.GetCallback): void;

Calls Get.

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

GetTargetHttpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetHttpProxies.GetCallback

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

Returns
TypeDescription
void

get(request)

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

Calls Get.

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

GetTargetHttpProxyRequest message or plain object

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

Promise

insert(request, callback)

public insert(request: google.cloud.compute.v1.IInsertTargetHttpProxyRequest, callback: google.cloud.compute.v1.TargetHttpProxies.InsertCallback): void;

Calls Insert.

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

InsertTargetHttpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetHttpProxies.InsertCallback

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

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

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

InsertTargetHttpProxyRequest message or plain object

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

Promise

list(request, callback)

public list(request: google.cloud.compute.v1.IListTargetHttpProxiesRequest, callback: google.cloud.compute.v1.TargetHttpProxies.ListCallback): void;

Calls List.

Parameters
NameDescription
request IListTargetHttpProxiesRequest

ListTargetHttpProxiesRequest message or plain object

callback google.cloud.compute.v1.TargetHttpProxies.ListCallback

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

Returns
TypeDescription
void

list(request)

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

Calls List.

Parameter
NameDescription
request IListTargetHttpProxiesRequest

ListTargetHttpProxiesRequest message or plain object

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

Promise

patch(request, callback)

public patch(request: google.cloud.compute.v1.IPatchTargetHttpProxyRequest, callback: google.cloud.compute.v1.TargetHttpProxies.PatchCallback): void;

Calls Patch.

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

PatchTargetHttpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetHttpProxies.PatchCallback

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

Returns
TypeDescription
void

patch(request)

public patch(request: google.cloud.compute.v1.IPatchTargetHttpProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Patch.

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

PatchTargetHttpProxyRequest message or plain object

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

Promise

setUrlMap(request, callback)

public setUrlMap(request: google.cloud.compute.v1.ISetUrlMapTargetHttpProxyRequest, callback: google.cloud.compute.v1.TargetHttpProxies.SetUrlMapCallback): void;

Calls SetUrlMap.

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

SetUrlMapTargetHttpProxyRequest message or plain object

callback google.cloud.compute.v1.TargetHttpProxies.SetUrlMapCallback

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

Returns
TypeDescription
void

setUrlMap(request)

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

Calls SetUrlMap.

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

SetUrlMapTargetHttpProxyRequest message or plain object

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

Promise