Class protos.google.cloud.compute.v1.RegionInstanceGroupManagers (3.8.1)

Represents a RegionInstanceGroupManagers

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new RegionInstanceGroupManagers service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

abandonInstances(request, callback)

public abandonInstances(request: google.cloud.compute.v1.IAbandonInstancesRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.AbandonInstancesCallback): void;

Calls AbandonInstances.

Parameters
NameDescription
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
TypeDescription
void

abandonInstances(request)

public abandonInstances(request: google.cloud.compute.v1.IAbandonInstancesRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls AbandonInstances.

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

AbandonInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

applyUpdatesToInstances(request, callback)

public applyUpdatesToInstances(request: google.cloud.compute.v1.IApplyUpdatesToInstancesRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.ApplyUpdatesToInstancesCallback): void;

Calls ApplyUpdatesToInstances.

Parameters
NameDescription
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
TypeDescription
void

applyUpdatesToInstances(request)

public applyUpdatesToInstances(request: google.cloud.compute.v1.IApplyUpdatesToInstancesRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls ApplyUpdatesToInstances.

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

ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

create(rpcImpl, requestDelimited, responseDelimited)

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

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

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

createInstances(request, callback)

public createInstances(request: google.cloud.compute.v1.ICreateInstancesRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.CreateInstancesCallback): void;

Calls CreateInstances.

Parameters
NameDescription
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
TypeDescription
void

createInstances(request)

public createInstances(request: google.cloud.compute.v1.ICreateInstancesRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls CreateInstances.

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

CreateInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

delete(request, callback)

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

Calls Delete.

Parameters
NameDescription
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
TypeDescription
void

delete(request)

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

Calls Delete.

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

DeleteRegionInstanceGroupManagerRequest message or plain object

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

Promise

deleteInstances(request, callback)

public deleteInstances(request: google.cloud.compute.v1.IDeleteInstancesRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.DeleteInstancesCallback): void;

Calls DeleteInstances.

Parameters
NameDescription
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
TypeDescription
void

deleteInstances(request)

public deleteInstances(request: google.cloud.compute.v1.IDeleteInstancesRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls DeleteInstances.

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

DeleteInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

deletePerInstanceConfigs(request, callback)

public deletePerInstanceConfigs(request: google.cloud.compute.v1.IDeletePerInstanceConfigsRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.DeletePerInstanceConfigsCallback): void;

Calls DeletePerInstanceConfigs.

Parameters
NameDescription
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
TypeDescription
void

deletePerInstanceConfigs(request)

public deletePerInstanceConfigs(request: google.cloud.compute.v1.IDeletePerInstanceConfigsRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls DeletePerInstanceConfigs.

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

DeletePerInstanceConfigsRegionInstanceGroupManagerRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

Parameters
NameDescription
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
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.InstanceGroupManager>;

Calls Get.

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

GetRegionInstanceGroupManagerRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

Parameters
NameDescription
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
TypeDescription
void

insert(request)

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

Calls Insert.

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

InsertRegionInstanceGroupManagerRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

Parameters
NameDescription
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
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListRegionInstanceGroupManagersRequest): Promise<google.cloud.compute.v1.RegionInstanceGroupManagerList>;

Calls List.

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

ListRegionInstanceGroupManagersRequest message or plain object

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

Promise

listErrors(request, callback)

public listErrors(request: google.cloud.compute.v1.IListErrorsRegionInstanceGroupManagersRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.ListErrorsCallback): void;

Calls ListErrors.

Parameters
NameDescription
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
TypeDescription
void

listErrors(request)

public listErrors(request: google.cloud.compute.v1.IListErrorsRegionInstanceGroupManagersRequest): Promise<google.cloud.compute.v1.RegionInstanceGroupManagersListErrorsResponse>;

Calls ListErrors.

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

ListErrorsRegionInstanceGroupManagersRequest message or plain object

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

Promise

listManagedInstances(request, callback)

public listManagedInstances(request: google.cloud.compute.v1.IListManagedInstancesRegionInstanceGroupManagersRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.ListManagedInstancesCallback): void;

Calls ListManagedInstances.

Parameters
NameDescription
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
TypeDescription
void

listManagedInstances(request)

public listManagedInstances(request: google.cloud.compute.v1.IListManagedInstancesRegionInstanceGroupManagersRequest): Promise<google.cloud.compute.v1.RegionInstanceGroupManagersListInstancesResponse>;

Calls ListManagedInstances.

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

ListManagedInstancesRegionInstanceGroupManagersRequest message or plain object

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

Promise

listPerInstanceConfigs(request, callback)

public listPerInstanceConfigs(request: google.cloud.compute.v1.IListPerInstanceConfigsRegionInstanceGroupManagersRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.ListPerInstanceConfigsCallback): void;

Calls ListPerInstanceConfigs.

Parameters
NameDescription
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
TypeDescription
void

listPerInstanceConfigs(request)

public listPerInstanceConfigs(request: google.cloud.compute.v1.IListPerInstanceConfigsRegionInstanceGroupManagersRequest): Promise<google.cloud.compute.v1.RegionInstanceGroupManagersListInstanceConfigsResp>;

Calls ListPerInstanceConfigs.

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

ListPerInstanceConfigsRegionInstanceGroupManagersRequest message or plain object

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

Promise

patch(request, callback)

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

Calls Patch.

Parameters
NameDescription
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
TypeDescription
void

patch(request)

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

Calls Patch.

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

PatchRegionInstanceGroupManagerRequest message or plain object

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

Promise

patchPerInstanceConfigs(request, callback)

public patchPerInstanceConfigs(request: google.cloud.compute.v1.IPatchPerInstanceConfigsRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.PatchPerInstanceConfigsCallback): void;

Calls PatchPerInstanceConfigs.

Parameters
NameDescription
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
TypeDescription
void

patchPerInstanceConfigs(request)

public patchPerInstanceConfigs(request: google.cloud.compute.v1.IPatchPerInstanceConfigsRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls PatchPerInstanceConfigs.

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

PatchPerInstanceConfigsRegionInstanceGroupManagerRequest message or plain object

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

Promise

recreateInstances(request, callback)

public recreateInstances(request: google.cloud.compute.v1.IRecreateInstancesRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.RecreateInstancesCallback): void;

Calls RecreateInstances.

Parameters
NameDescription
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
TypeDescription
void

recreateInstances(request)

public recreateInstances(request: google.cloud.compute.v1.IRecreateInstancesRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls RecreateInstances.

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

RecreateInstancesRegionInstanceGroupManagerRequest message or plain object

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

Promise

resize(request, callback)

public resize(request: google.cloud.compute.v1.IResizeRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.ResizeCallback): void;

Calls Resize.

Parameters
NameDescription
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
TypeDescription
void

resize(request)

public resize(request: google.cloud.compute.v1.IResizeRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Resize.

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

ResizeRegionInstanceGroupManagerRequest message or plain object

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

Promise

setInstanceTemplate(request, callback)

public setInstanceTemplate(request: google.cloud.compute.v1.ISetInstanceTemplateRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.SetInstanceTemplateCallback): void;

Calls SetInstanceTemplate.

Parameters
NameDescription
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
TypeDescription
void

setInstanceTemplate(request)

public setInstanceTemplate(request: google.cloud.compute.v1.ISetInstanceTemplateRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetInstanceTemplate.

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

SetInstanceTemplateRegionInstanceGroupManagerRequest message or plain object

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

Promise

setTargetPools(request, callback)

public setTargetPools(request: google.cloud.compute.v1.ISetTargetPoolsRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.SetTargetPoolsCallback): void;

Calls SetTargetPools.

Parameters
NameDescription
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
TypeDescription
void

setTargetPools(request)

public setTargetPools(request: google.cloud.compute.v1.ISetTargetPoolsRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetTargetPools.

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

SetTargetPoolsRegionInstanceGroupManagerRequest message or plain object

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

Promise

updatePerInstanceConfigs(request, callback)

public updatePerInstanceConfigs(request: google.cloud.compute.v1.IUpdatePerInstanceConfigsRegionInstanceGroupManagerRequest, callback: google.cloud.compute.v1.RegionInstanceGroupManagers.UpdatePerInstanceConfigsCallback): void;

Calls UpdatePerInstanceConfigs.

Parameters
NameDescription
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
TypeDescription
void

updatePerInstanceConfigs(request)

public updatePerInstanceConfigs(request: google.cloud.compute.v1.IUpdatePerInstanceConfigsRegionInstanceGroupManagerRequest): Promise<google.cloud.compute.v1.Operation>;

Calls UpdatePerInstanceConfigs.

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

UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest message or plain object

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

Promise