BackendServices

google.cloud.compute.v1. BackendServices

Represents a BackendServices

Constructor

new BackendServices(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new BackendServices service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

addSignedUrlKey(request, callback) → {undefined}

Calls AddSignedUrlKey.

Parameters:
Name Type Description
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:
Type Description
undefined

addSignedUrlKey(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls AddSignedUrlKey.

Parameters:
Name Type Description
request google.cloud.compute.v1.IAddSignedUrlKeyBackendServiceRequest

AddSignedUrlKeyBackendServiceRequest message or plain object

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

Promise

aggregatedList(request, callback) → {undefined}

Calls AggregatedList.

Parameters:
Name Type Description
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:
Type Description
undefined

aggregatedList(request) → {Promise.<google.cloud.compute.v1.BackendServiceAggregatedList>}

Calls AggregatedList.

Parameters:
Name Type Description
request google.cloud.compute.v1.IAggregatedListBackendServicesRequest

AggregatedListBackendServicesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.BackendServiceAggregatedList>

Promise

delete(request, callback) → {undefined}

Calls Delete.

Parameters:
Name Type Description
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:
Type Description
undefined

delete(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Delete.

Parameters:
Name Type Description
request google.cloud.compute.v1.IDeleteBackendServiceRequest

DeleteBackendServiceRequest message or plain object

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

Promise

deleteSignedUrlKey(request, callback) → {undefined}

Calls DeleteSignedUrlKey.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

deleteSignedUrlKey(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls DeleteSignedUrlKey.

Parameters:
Name Type Description
request google.cloud.compute.v1.IDeleteSignedUrlKeyBackendServiceRequest

DeleteSignedUrlKeyBackendServiceRequest message or plain object

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

Promise

get(request, callback) → {undefined}

Calls Get.

Parameters:
Name Type Description
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:
Type Description
undefined

get(request) → {Promise.<google.cloud.compute.v1.BackendService>}

Calls Get.

Parameters:
Name Type Description
request google.cloud.compute.v1.IGetBackendServiceRequest

GetBackendServiceRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.BackendService>

Promise

getHealth(request, callback) → {undefined}

Calls GetHealth.

Parameters:
Name Type Description
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:
Type Description
undefined

getHealth(request) → {Promise.<google.cloud.compute.v1.BackendServiceGroupHealth>}

Calls GetHealth.

Parameters:
Name Type Description
request google.cloud.compute.v1.IGetHealthBackendServiceRequest

GetHealthBackendServiceRequest message or plain object

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

Promise

getIamPolicy(request, callback) → {undefined}

Calls GetIamPolicy.

Parameters:
Name Type Description
request google.cloud.compute.v1.IGetIamPolicyBackendServiceRequest

GetIamPolicyBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.GetIamPolicyCallback

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

Returns:
Type Description
undefined

getIamPolicy(request) → {Promise.<google.cloud.compute.v1.Policy>}

Calls GetIamPolicy.

Parameters:
Name Type Description
request google.cloud.compute.v1.IGetIamPolicyBackendServiceRequest

GetIamPolicyBackendServiceRequest message or plain object

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

Promise

insert(request, callback) → {undefined}

Calls Insert.

Parameters:
Name Type Description
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:
Type Description
undefined

insert(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Insert.

Parameters:
Name Type Description
request google.cloud.compute.v1.IInsertBackendServiceRequest

InsertBackendServiceRequest message or plain object

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

Promise

list(request, callback) → {undefined}

Calls List.

Parameters:
Name Type Description
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:
Type Description
undefined

list(request) → {Promise.<google.cloud.compute.v1.BackendServiceList>}

Calls List.

Parameters:
Name Type Description
request google.cloud.compute.v1.IListBackendServicesRequest

ListBackendServicesRequest message or plain object

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

Promise

patch(request, callback) → {undefined}

Calls Patch.

Parameters:
Name Type Description
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:
Type Description
undefined

patch(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Patch.

Parameters:
Name Type Description
request google.cloud.compute.v1.IPatchBackendServiceRequest

PatchBackendServiceRequest message or plain object

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

Promise

setEdgeSecurityPolicy(request, callback) → {undefined}

Calls SetEdgeSecurityPolicy.

Parameters:
Name Type Description
request google.cloud.compute.v1.ISetEdgeSecurityPolicyBackendServiceRequest

SetEdgeSecurityPolicyBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.SetEdgeSecurityPolicyCallback

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

Returns:
Type Description
undefined

setEdgeSecurityPolicy(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls SetEdgeSecurityPolicy.

Parameters:
Name Type Description
request google.cloud.compute.v1.ISetEdgeSecurityPolicyBackendServiceRequest

SetEdgeSecurityPolicyBackendServiceRequest message or plain object

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

Promise

setIamPolicy(request, callback) → {undefined}

Calls SetIamPolicy.

Parameters:
Name Type Description
request google.cloud.compute.v1.ISetIamPolicyBackendServiceRequest

SetIamPolicyBackendServiceRequest message or plain object

callback google.cloud.compute.v1.BackendServices.SetIamPolicyCallback

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

Returns:
Type Description
undefined

setIamPolicy(request) → {Promise.<google.cloud.compute.v1.Policy>}

Calls SetIamPolicy.

Parameters:
Name Type Description
request google.cloud.compute.v1.ISetIamPolicyBackendServiceRequest

SetIamPolicyBackendServiceRequest message or plain object

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

Promise

setSecurityPolicy(request, callback) → {undefined}

Calls SetSecurityPolicy.

Parameters:
Name Type Description
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:
Type Description
undefined

setSecurityPolicy(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls SetSecurityPolicy.

Parameters:
Name Type Description
request google.cloud.compute.v1.ISetSecurityPolicyBackendServiceRequest

SetSecurityPolicyBackendServiceRequest message or plain object

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

Promise

update(request, callback) → {undefined}

Calls Update.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

update(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Update.

Parameters:
Name Type Description
request google.cloud.compute.v1.IUpdateBackendServiceRequest

UpdateBackendServiceRequest message or plain object

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

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {BackendServices}

Creates new BackendServices service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
BackendServices

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

Type Definitions

AddSignedUrlKeyCallback(error, responseopt)

Callback as used by addSignedUrlKey.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

AggregatedListCallback(error, responseopt)

Callback as used by aggregatedList.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.BackendServiceAggregatedList <optional>

BackendServiceAggregatedList

DeleteCallback(error, responseopt)

Callback as used by delete_.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

DeleteSignedUrlKeyCallback(error, responseopt)

Callback as used by deleteSignedUrlKey.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

GetCallback(error, responseopt)

Callback as used by get.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.BackendService <optional>

BackendService

GetHealthCallback(error, responseopt)

Callback as used by getHealth.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.BackendServiceGroupHealth <optional>

BackendServiceGroupHealth

GetIamPolicyCallback(error, responseopt)

Callback as used by getIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Policy <optional>

Policy

InsertCallback(error, responseopt)

Callback as used by insert.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

ListCallback(error, responseopt)

Callback as used by list.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.BackendServiceList <optional>

BackendServiceList

PatchCallback(error, responseopt)

Callback as used by patch.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

SetEdgeSecurityPolicyCallback(error, responseopt)

Callback as used by setEdgeSecurityPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

SetIamPolicyCallback(error, responseopt)

Callback as used by setIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Policy <optional>

Policy

SetSecurityPolicyCallback(error, responseopt)

Callback as used by setSecurityPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

UpdateCallback(error, responseopt)

Callback as used by update.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation