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

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
Name Description
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
Name Description
request IAddSignedUrlKeyBackendServiceRequest

AddSignedUrlKeyBackendServiceRequest message or plain object

callback AddSignedUrlKeyCallback

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

Returns
Type Description
void

addSignedUrlKey(request)

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

Calls AddSignedUrlKey.

Parameter
Name Description
request IAddSignedUrlKeyBackendServiceRequest

AddSignedUrlKeyBackendServiceRequest message or plain object

Returns
Type Description
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
Name Description
request IAggregatedListBackendServicesRequest

AggregatedListBackendServicesRequest message or plain object

callback AggregatedListCallback

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

Returns
Type Description
void

aggregatedList(request)

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

Calls AggregatedList.

Parameter
Name Description
request IAggregatedListBackendServicesRequest

AggregatedListBackendServicesRequest message or plain object

Returns
Type Description
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
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
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
Name Description
request IDeleteBackendServiceRequest

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

Calls Delete.

Parameter
Name Description
request IDeleteBackendServiceRequest

DeleteBackendServiceRequest message or plain object

Returns
Type Description
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
Name Description
request IDeleteSignedUrlKeyBackendServiceRequest

DeleteSignedUrlKeyBackendServiceRequest message or plain object

callback DeleteSignedUrlKeyCallback

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

Returns
Type Description
void

deleteSignedUrlKey(request)

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

Calls DeleteSignedUrlKey.

Parameter
Name Description
request IDeleteSignedUrlKeyBackendServiceRequest

DeleteSignedUrlKeyBackendServiceRequest message or plain object

Returns
Type Description
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
Name Description
request IGetBackendServiceRequest

GetBackendServiceRequest message or plain object

callback GetCallback

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

Returns
Type Description
void

get(request)

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

Calls Get.

Parameter
Name Description
request IGetBackendServiceRequest

GetBackendServiceRequest message or plain object

Returns
Type Description
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
Name Description
request IGetHealthBackendServiceRequest

GetHealthBackendServiceRequest message or plain object

callback GetHealthCallback

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

Returns
Type Description
void

getHealth(request)

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

Calls GetHealth.

Parameter
Name Description
request IGetHealthBackendServiceRequest

GetHealthBackendServiceRequest message or plain object

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

Promise

getIamPolicy(request, callback)

public getIamPolicy(request: google.cloud.compute.v1.IGetIamPolicyBackendServiceRequest, callback: google.cloud.compute.v1.BackendServices.GetIamPolicyCallback): void;

Calls GetIamPolicy.

Parameters
Name Description
request IGetIamPolicyBackendServiceRequest

GetIamPolicyBackendServiceRequest message or plain object

callback GetIamPolicyCallback

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

Returns
Type Description
void

getIamPolicy(request)

public getIamPolicy(request: google.cloud.compute.v1.IGetIamPolicyBackendServiceRequest): Promise<google.cloud.compute.v1.Policy>;

Calls GetIamPolicy.

Parameter
Name Description
request IGetIamPolicyBackendServiceRequest

GetIamPolicyBackendServiceRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

Parameters
Name Description
request IInsertBackendServiceRequest

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

Calls Insert.

Parameter
Name Description
request IInsertBackendServiceRequest

InsertBackendServiceRequest message or plain object

Returns
Type Description
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
Name Description
request IListBackendServicesRequest

ListBackendServicesRequest message or plain object

callback ListCallback

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

Returns
Type Description
void

list(request)

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

Calls List.

Parameter
Name Description
request IListBackendServicesRequest

ListBackendServicesRequest message or plain object

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

Promise

listUsable(request, callback)

public listUsable(request: google.cloud.compute.v1.IListUsableBackendServicesRequest, callback: google.cloud.compute.v1.BackendServices.ListUsableCallback): void;

Calls ListUsable.

Parameters
Name Description
request IListUsableBackendServicesRequest

ListUsableBackendServicesRequest message or plain object

callback ListUsableCallback

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

Returns
Type Description
void

listUsable(request)

public listUsable(request: google.cloud.compute.v1.IListUsableBackendServicesRequest): Promise<google.cloud.compute.v1.BackendServiceListUsable>;

Calls ListUsable.

Parameter
Name Description
request IListUsableBackendServicesRequest

ListUsableBackendServicesRequest message or plain object

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

Promise

patch(request, callback)

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

Calls Patch.

Parameters
Name Description
request IPatchBackendServiceRequest

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

Calls Patch.

Parameter
Name Description
request IPatchBackendServiceRequest

PatchBackendServiceRequest message or plain object

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

Promise

setEdgeSecurityPolicy(request, callback)

public setEdgeSecurityPolicy(request: google.cloud.compute.v1.ISetEdgeSecurityPolicyBackendServiceRequest, callback: google.cloud.compute.v1.BackendServices.SetEdgeSecurityPolicyCallback): void;

Calls SetEdgeSecurityPolicy.

Parameters
Name Description
request ISetEdgeSecurityPolicyBackendServiceRequest

SetEdgeSecurityPolicyBackendServiceRequest message or plain object

callback SetEdgeSecurityPolicyCallback

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

Returns
Type Description
void

setEdgeSecurityPolicy(request)

public setEdgeSecurityPolicy(request: google.cloud.compute.v1.ISetEdgeSecurityPolicyBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetEdgeSecurityPolicy.

Parameter
Name Description
request ISetEdgeSecurityPolicyBackendServiceRequest

SetEdgeSecurityPolicyBackendServiceRequest message or plain object

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

Promise

setIamPolicy(request, callback)

public setIamPolicy(request: google.cloud.compute.v1.ISetIamPolicyBackendServiceRequest, callback: google.cloud.compute.v1.BackendServices.SetIamPolicyCallback): void;

Calls SetIamPolicy.

Parameters
Name Description
request ISetIamPolicyBackendServiceRequest

SetIamPolicyBackendServiceRequest message or plain object

callback SetIamPolicyCallback

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

Returns
Type Description
void

setIamPolicy(request)

public setIamPolicy(request: google.cloud.compute.v1.ISetIamPolicyBackendServiceRequest): Promise<google.cloud.compute.v1.Policy>;

Calls SetIamPolicy.

Parameter
Name Description
request ISetIamPolicyBackendServiceRequest

SetIamPolicyBackendServiceRequest message or plain object

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

Promise

setSecurityPolicy(request, callback)

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

Calls SetSecurityPolicy.

Parameters
Name Description
request ISetSecurityPolicyBackendServiceRequest

SetSecurityPolicyBackendServiceRequest message or plain object

callback SetSecurityPolicyCallback

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

Returns
Type Description
void

setSecurityPolicy(request)

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

Calls SetSecurityPolicy.

Parameter
Name Description
request ISetSecurityPolicyBackendServiceRequest

SetSecurityPolicyBackendServiceRequest message or plain object

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

Promise

testIamPermissions(request, callback)

public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsBackendServiceRequest, callback: google.cloud.compute.v1.BackendServices.TestIamPermissionsCallback): void;

Calls TestIamPermissions.

Parameters
Name Description
request ITestIamPermissionsBackendServiceRequest

TestIamPermissionsBackendServiceRequest message or plain object

callback TestIamPermissionsCallback

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

Returns
Type Description
void

testIamPermissions(request)

public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsBackendServiceRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;

Calls TestIamPermissions.

Parameter
Name Description
request ITestIamPermissionsBackendServiceRequest

TestIamPermissionsBackendServiceRequest message or plain object

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

Promise

update(request, callback)

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

Calls Update.

Parameters
Name Description
request IUpdateBackendServiceRequest

UpdateBackendServiceRequest message or plain object

callback UpdateCallback

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

Returns
Type Description
void

update(request)

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

Calls Update.

Parameter
Name Description
request IUpdateBackendServiceRequest

UpdateBackendServiceRequest message or plain object

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

Promise