Class protos.google.cloud.compute.v1.RegionTargetHttpsProxies (4.3.0)

Represents a RegionTargetHttpsProxies

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new RegionTargetHttpsProxies service.

Parameters
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): RegionTargetHttpsProxies;

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

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

delete(request, callback)

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

Calls Delete.

Parameters
Name Description
request IDeleteRegionTargetHttpsProxyRequest

DeleteRegionTargetHttpsProxyRequest 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.IDeleteRegionTargetHttpsProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Delete.

Parameter
Name Description
request IDeleteRegionTargetHttpsProxyRequest

DeleteRegionTargetHttpsProxyRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise

get(request, callback)

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

Calls Get.

Parameters
Name Description
request IGetRegionTargetHttpsProxyRequest

GetRegionTargetHttpsProxyRequest message or plain object

callback GetCallback

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

Returns
Type Description
void

get(request)

public get(request: google.cloud.compute.v1.IGetRegionTargetHttpsProxyRequest): Promise<google.cloud.compute.v1.TargetHttpsProxy>;

Calls Get.

Parameter
Name Description
request IGetRegionTargetHttpsProxyRequest

GetRegionTargetHttpsProxyRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.TargetHttpsProxy>

Promise

insert(request, callback)

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

Calls Insert.

Parameters
Name Description
request IInsertRegionTargetHttpsProxyRequest

InsertRegionTargetHttpsProxyRequest 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.IInsertRegionTargetHttpsProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Insert.

Parameter
Name Description
request IInsertRegionTargetHttpsProxyRequest

InsertRegionTargetHttpsProxyRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise

list(request, callback)

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

Calls List.

Parameters
Name Description
request IListRegionTargetHttpsProxiesRequest

ListRegionTargetHttpsProxiesRequest message or plain object

callback ListCallback

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

Returns
Type Description
void

list(request)

public list(request: google.cloud.compute.v1.IListRegionTargetHttpsProxiesRequest): Promise<google.cloud.compute.v1.TargetHttpsProxyList>;

Calls List.

Parameter
Name Description
request IListRegionTargetHttpsProxiesRequest

ListRegionTargetHttpsProxiesRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.TargetHttpsProxyList>

Promise

patch(request, callback)

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

Calls Patch.

Parameters
Name Description
request IPatchRegionTargetHttpsProxyRequest

PatchRegionTargetHttpsProxyRequest message or plain object

callback PatchCallback

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

Returns
Type Description
void

patch(request)

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

Calls Patch.

Parameter
Name Description
request IPatchRegionTargetHttpsProxyRequest

PatchRegionTargetHttpsProxyRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise

setSslCertificates(request, callback)

public setSslCertificates(request: google.cloud.compute.v1.ISetSslCertificatesRegionTargetHttpsProxyRequest, callback: google.cloud.compute.v1.RegionTargetHttpsProxies.SetSslCertificatesCallback): void;

Calls SetSslCertificates.

Parameters
Name Description
request ISetSslCertificatesRegionTargetHttpsProxyRequest

SetSslCertificatesRegionTargetHttpsProxyRequest message or plain object

callback SetSslCertificatesCallback

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

Returns
Type Description
void

setSslCertificates(request)

public setSslCertificates(request: google.cloud.compute.v1.ISetSslCertificatesRegionTargetHttpsProxyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetSslCertificates.

Parameter
Name Description
request ISetSslCertificatesRegionTargetHttpsProxyRequest

SetSslCertificatesRegionTargetHttpsProxyRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise

setUrlMap(request, callback)

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

Calls SetUrlMap.

Parameters
Name Description
request ISetUrlMapRegionTargetHttpsProxyRequest

SetUrlMapRegionTargetHttpsProxyRequest message or plain object

callback SetUrlMapCallback

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

Returns
Type Description
void

setUrlMap(request)

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

Calls SetUrlMap.

Parameter
Name Description
request ISetUrlMapRegionTargetHttpsProxyRequest

SetUrlMapRegionTargetHttpsProxyRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.Operation>

Promise