RegionInstanceGroupManagers

google.cloud.compute.v1. RegionInstanceGroupManagers

Represents a RegionInstanceGroupManagers

Constructor

new RegionInstanceGroupManagers(rpcImpl, requestDelimitedopt, responseDelimitedopt)

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

abandonInstances(request, callback) → {undefined}

Calls AbandonInstances.

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

AbandonInstancesRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.AbandonInstancesCallback

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

Returns:
Type Description
undefined

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

Calls AbandonInstances.

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

AbandonInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

applyUpdatesToInstances(request, callback) → {undefined}

Calls ApplyUpdatesToInstances.

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

ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.ApplyUpdatesToInstancesCallback

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

Returns:
Type Description
undefined

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

Calls ApplyUpdatesToInstances.

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

ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

createInstances(request, callback) → {undefined}

Calls CreateInstances.

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

CreateInstancesRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.CreateInstancesCallback

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

Returns:
Type Description
undefined

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

Calls CreateInstances.

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

CreateInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

delete(request, callback) → {undefined}

Calls Delete.

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

DeleteRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.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.IDeleteRegionInstanceGroupManagerRequest

DeleteRegionInstanceGroupManagerRequest message or plain object

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

Promise

deleteInstances(request, callback) → {undefined}

Calls DeleteInstances.

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

DeleteInstancesRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.DeleteInstancesCallback

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

Returns:
Type Description
undefined

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

Calls DeleteInstances.

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

DeleteInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

deletePerInstanceConfigs(request, callback) → {undefined}

Calls DeletePerInstanceConfigs.

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

DeletePerInstanceConfigsRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.DeletePerInstanceConfigsCallback

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

Returns:
Type Description
undefined

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

Calls DeletePerInstanceConfigs.

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

DeletePerInstanceConfigsRegionInstanceGroupManagerRequest 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.IGetRegionInstanceGroupManagerRequest

GetRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.GetCallback

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

Returns:
Type Description
undefined

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

Calls Get.

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

GetRegionInstanceGroupManagerRequest message or plain object

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

Promise

insert(request, callback) → {undefined}

Calls Insert.

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

InsertRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.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.IInsertRegionInstanceGroupManagerRequest

InsertRegionInstanceGroupManagerRequest 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.IListRegionInstanceGroupManagersRequest

ListRegionInstanceGroupManagersRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.ListCallback

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

Returns:
Type Description
undefined

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

Calls List.

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

ListRegionInstanceGroupManagersRequest message or plain object

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

Promise

listErrors(request, callback) → {undefined}

Calls ListErrors.

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

ListErrorsRegionInstanceGroupManagersRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.ListErrorsCallback

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

Returns:
Type Description
undefined

listErrors(request) → {Promise.<google.cloud.compute.v1.RegionInstanceGroupManagersListErrorsResponse>}

Calls ListErrors.

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

ListErrorsRegionInstanceGroupManagersRequest message or plain object

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

Promise

listManagedInstances(request, callback) → {undefined}

Calls ListManagedInstances.

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

ListManagedInstancesRegionInstanceGroupManagersRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.ListManagedInstancesCallback

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

Returns:
Type Description
undefined

listManagedInstances(request) → {Promise.<google.cloud.compute.v1.RegionInstanceGroupManagersListInstancesResponse>}

Calls ListManagedInstances.

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

ListManagedInstancesRegionInstanceGroupManagersRequest message or plain object

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

Promise

listPerInstanceConfigs(request, callback) → {undefined}

Calls ListPerInstanceConfigs.

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

ListPerInstanceConfigsRegionInstanceGroupManagersRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.ListPerInstanceConfigsCallback

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

Returns:
Type Description
undefined

listPerInstanceConfigs(request) → {Promise.<google.cloud.compute.v1.RegionInstanceGroupManagersListInstanceConfigsResp>}

Calls ListPerInstanceConfigs.

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

ListPerInstanceConfigsRegionInstanceGroupManagersRequest message or plain object

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

Promise

patch(request, callback) → {undefined}

Calls Patch.

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

PatchRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.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.IPatchRegionInstanceGroupManagerRequest

PatchRegionInstanceGroupManagerRequest message or plain object

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

Promise

patchPerInstanceConfigs(request, callback) → {undefined}

Calls PatchPerInstanceConfigs.

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

PatchPerInstanceConfigsRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.PatchPerInstanceConfigsCallback

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

Returns:
Type Description
undefined

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

Calls PatchPerInstanceConfigs.

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

PatchPerInstanceConfigsRegionInstanceGroupManagerRequest message or plain object

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

Promise

recreateInstances(request, callback) → {undefined}

Calls RecreateInstances.

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

RecreateInstancesRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.RecreateInstancesCallback

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

Returns:
Type Description
undefined

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

Calls RecreateInstances.

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

RecreateInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

resize(request, callback) → {undefined}

Calls Resize.

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

ResizeRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.ResizeCallback

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

Returns:
Type Description
undefined

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

Calls Resize.

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

ResizeRegionInstanceGroupManagerRequest message or plain object

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

Promise

setInstanceTemplate(request, callback) → {undefined}

Calls SetInstanceTemplate.

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

SetInstanceTemplateRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.SetInstanceTemplateCallback

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

Returns:
Type Description
undefined

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

Calls SetInstanceTemplate.

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

SetInstanceTemplateRegionInstanceGroupManagerRequest message or plain object

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

Promise

setTargetPools(request, callback) → {undefined}

Calls SetTargetPools.

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

SetTargetPoolsRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.SetTargetPoolsCallback

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

Returns:
Type Description
undefined

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

Calls SetTargetPools.

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

SetTargetPoolsRegionInstanceGroupManagerRequest message or plain object

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

Promise

updatePerInstanceConfigs(request, callback) → {undefined}

Calls UpdatePerInstanceConfigs.

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

UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest message or plain object

callback google.cloud.compute.v1.RegionInstanceGroupManagers.UpdatePerInstanceConfigsCallback

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

Returns:
Type Description
undefined

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

Calls UpdatePerInstanceConfigs.

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

UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest message or plain object

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

Promise

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

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

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

Type Definitions

AbandonInstancesCallback(error, responseopt)

Callback as used by abandonInstances.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation

ApplyUpdatesToInstancesCallback(error, responseopt)

Callback as used by applyUpdatesToInstances.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation

CreateInstancesCallback(error, responseopt)

Callback as used by createInstances.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation

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

DeleteInstancesCallback(error, responseopt)

Callback as used by deleteInstances.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation

DeletePerInstanceConfigsCallback(error, responseopt)

Callback as used by deletePerInstanceConfigs.

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.InstanceGroupManager <optional>

InstanceGroupManager

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.RegionInstanceGroupManagerList <optional>

RegionInstanceGroupManagerList

ListErrorsCallback(error, responseopt)

Callback as used by listErrors.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

RegionInstanceGroupManagersListErrorsResponse

ListManagedInstancesCallback(error, responseopt)

Callback as used by listManagedInstances.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

RegionInstanceGroupManagersListInstancesResponse

ListPerInstanceConfigsCallback(error, responseopt)

Callback as used by listPerInstanceConfigs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

RegionInstanceGroupManagersListInstanceConfigsResp

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

PatchPerInstanceConfigsCallback(error, responseopt)

Callback as used by patchPerInstanceConfigs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation

RecreateInstancesCallback(error, responseopt)

Callback as used by recreateInstances.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation

ResizeCallback(error, responseopt)

Callback as used by resize.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation

SetInstanceTemplateCallback(error, responseopt)

Callback as used by setInstanceTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation

SetTargetPoolsCallback(error, responseopt)

Callback as used by setTargetPools.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation

UpdatePerInstanceConfigsCallback(error, responseopt)

Callback as used by updatePerInstanceConfigs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

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

Operation