Class protos.google.cloud.compute.v1.BackendServices

Represents a BackendServices

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new BackendServices service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

addSignedUrlKey(request, callback)

public addSignedUrlKey(request: google.cloud.compute.v1.IAddSignedUrlKeyBackendServiceRequest, callback: google.cloud.compute.v1.BackendServices.AddSignedUrlKeyCallback): void;

Calls AddSignedUrlKey.

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

AddSignedUrlKeyBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.AddSignedUrlKeyCallback

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

Returns
TypeDescription
void

addSignedUrlKey(request)

public addSignedUrlKey(request: google.cloud.compute.v1.IAddSignedUrlKeyBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;

Calls AddSignedUrlKey.

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

AddSignedUrlKeyBackendServiceRequest message or plain object

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

Promise

aggregatedList(request, callback)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListBackendServicesRequest, callback: google.cloud.compute.v1.BackendServices.AggregatedListCallback): void;

Calls AggregatedList.

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

AggregatedListBackendServicesRequest message or plain object

callback google.cloud.compute.v1.BackendServices.AggregatedListCallback

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

Returns
TypeDescription
void

aggregatedList(request)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListBackendServicesRequest): Promise<google.cloud.compute.v1.BackendServiceAggregatedList>;

Calls AggregatedList.

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

AggregatedListBackendServicesRequest message or plain object

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

Promise

create(rpcImpl, requestDelimited, responseDelimited)

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

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

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

delete(request, callback)

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

Calls Delete.

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

DeleteBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

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

DeleteBackendServiceRequest message or plain object

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

Promise

deleteSignedUrlKey(request, callback)

public deleteSignedUrlKey(request: google.cloud.compute.v1.IDeleteSignedUrlKeyBackendServiceRequest, callback: google.cloud.compute.v1.BackendServices.DeleteSignedUrlKeyCallback): void;

Calls DeleteSignedUrlKey.

Parameters
NameDescription
request IDeleteSignedUrlKeyBackendServiceRequest

DeleteSignedUrlKeyBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.DeleteSignedUrlKeyCallback

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

Returns
TypeDescription
void

deleteSignedUrlKey(request)

public deleteSignedUrlKey(request: google.cloud.compute.v1.IDeleteSignedUrlKeyBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;

Calls DeleteSignedUrlKey.

Parameter
NameDescription
request IDeleteSignedUrlKeyBackendServiceRequest

DeleteSignedUrlKeyBackendServiceRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

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

GetBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.GetCallback

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

Returns
TypeDescription
void

get(request)

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

Calls Get.

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

GetBackendServiceRequest message or plain object

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

Promise

getHealth(request, callback)

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

Calls GetHealth.

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

GetHealthBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.GetHealthCallback

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

Returns
TypeDescription
void

getHealth(request)

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

Calls GetHealth.

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

GetHealthBackendServiceRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

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

InsertBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.InsertCallback

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

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

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

InsertBackendServiceRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

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

ListBackendServicesRequest message or plain object

callback google.cloud.compute.v1.BackendServices.ListCallback

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

Returns
TypeDescription
void

list(request)

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

Calls List.

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

ListBackendServicesRequest message or plain object

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

Promise

patch(request, callback)

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

Calls Patch.

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

PatchBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.PatchCallback

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

Returns
TypeDescription
void

patch(request)

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

Calls Patch.

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

PatchBackendServiceRequest message or plain object

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

Promise

setSecurityPolicy(request, callback)

public setSecurityPolicy(request: google.cloud.compute.v1.ISetSecurityPolicyBackendServiceRequest, callback: google.cloud.compute.v1.BackendServices.SetSecurityPolicyCallback): void;

Calls SetSecurityPolicy.

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

SetSecurityPolicyBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.SetSecurityPolicyCallback

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

Returns
TypeDescription
void

setSecurityPolicy(request)

public setSecurityPolicy(request: google.cloud.compute.v1.ISetSecurityPolicyBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetSecurityPolicy.

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

SetSecurityPolicyBackendServiceRequest message or plain object

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

Promise

update(request, callback)

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

Calls Update.

Parameters
NameDescription
request IUpdateBackendServiceRequest

UpdateBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.UpdateCallback

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

Returns
TypeDescription
void

update(request)

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

Calls Update.

Parameter
NameDescription
request IUpdateBackendServiceRequest

UpdateBackendServiceRequest message or plain object

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

Promise