Class protos.google.cloud.compute.v1.RegionBackendServices

Represents a RegionBackendServices

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

delete(request, callback)

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

Calls Delete.

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

DeleteRegionBackendServiceRequest message or plain object

callback google.cloud.compute.v1.RegionBackendServices.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

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

DeleteRegionBackendServiceRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

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

GetRegionBackendServiceRequest message or plain object

callback google.cloud.compute.v1.RegionBackendServices.GetCallback

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

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetRegionBackendServiceRequest): Promise<google.cloud.compute.v1.BackendService>;

Calls Get.

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

GetRegionBackendServiceRequest message or plain object

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

Promise

getHealth(request, callback)

public getHealth(request: google.cloud.compute.v1.IGetHealthRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.GetHealthCallback): void;

Calls GetHealth.

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

GetHealthRegionBackendServiceRequest message or plain object

callback google.cloud.compute.v1.RegionBackendServices.GetHealthCallback

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

Returns
TypeDescription
void

getHealth(request)

public getHealth(request: google.cloud.compute.v1.IGetHealthRegionBackendServiceRequest): Promise<google.cloud.compute.v1.BackendServiceGroupHealth>;

Calls GetHealth.

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

GetHealthRegionBackendServiceRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

Parameters
NameDescription
request IInsertRegionBackendServiceRequest

InsertRegionBackendServiceRequest message or plain object

callback google.cloud.compute.v1.RegionBackendServices.InsertCallback

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

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

Parameter
NameDescription
request IInsertRegionBackendServiceRequest

InsertRegionBackendServiceRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

Parameters
NameDescription
request IListRegionBackendServicesRequest

ListRegionBackendServicesRequest message or plain object

callback google.cloud.compute.v1.RegionBackendServices.ListCallback

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

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListRegionBackendServicesRequest): Promise<google.cloud.compute.v1.BackendServiceList>;

Calls List.

Parameter
NameDescription
request IListRegionBackendServicesRequest

ListRegionBackendServicesRequest message or plain object

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

Promise

patch(request, callback)

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

Calls Patch.

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

PatchRegionBackendServiceRequest message or plain object

callback google.cloud.compute.v1.RegionBackendServices.PatchCallback

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

Returns
TypeDescription
void

patch(request)

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

Calls Patch.

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

PatchRegionBackendServiceRequest message or plain object

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

Promise

update(request, callback)

public update(request: google.cloud.compute.v1.IUpdateRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.UpdateCallback): void;

Calls Update.

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

UpdateRegionBackendServiceRequest message or plain object

callback google.cloud.compute.v1.RegionBackendServices.UpdateCallback

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

Returns
TypeDescription
void

update(request)

public update(request: google.cloud.compute.v1.IUpdateRegionBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Update.

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

UpdateRegionBackendServiceRequest message or plain object

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

Promise