RegionBackendServices

google.cloud.compute.v1. RegionBackendServices

Represents a RegionBackendServices

Constructor

new RegionBackendServices(rpcImpl, requestDelimitedopt, responseDelimitedopt)

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

delete(request, callback) → {undefined}

Calls Delete.

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

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

Calls Delete.

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

DeleteRegionBackendServiceRequest 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.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:
Type Description
undefined

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

Calls Get.

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

GetRegionBackendServiceRequest 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.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:
Type Description
undefined

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

Calls GetHealth.

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

GetHealthRegionBackendServiceRequest 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.IGetIamPolicyRegionBackendServiceRequest

GetIamPolicyRegionBackendServiceRequest message or plain object

callback google.cloud.compute.v1.RegionBackendServices.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.IGetIamPolicyRegionBackendServiceRequest

GetIamPolicyRegionBackendServiceRequest 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.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:
Type Description
undefined

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

Calls Insert.

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

InsertRegionBackendServiceRequest 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.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:
Type Description
undefined

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

Calls List.

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

ListRegionBackendServicesRequest 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.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:
Type Description
undefined

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

Calls Patch.

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

PatchRegionBackendServiceRequest 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.ISetIamPolicyRegionBackendServiceRequest

SetIamPolicyRegionBackendServiceRequest message or plain object

callback google.cloud.compute.v1.RegionBackendServices.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.ISetIamPolicyRegionBackendServiceRequest

SetIamPolicyRegionBackendServiceRequest message or plain object

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

Promise

update(request, callback) → {undefined}

Calls Update.

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

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

Calls Update.

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

UpdateRegionBackendServiceRequest message or plain object

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

Promise

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

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

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

Type Definitions

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

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

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

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