RegionInstanceGroupManagersResourceApi class

Constructors

RegionInstanceGroupManagersResourceApi(ApiRequester client)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

abandonInstances(RegionInstanceGroupManagersAbandonInstancesRequest request, String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. [...]
applyUpdatesToInstances(RegionInstanceGroupManagersApplyUpdatesRequest request, String project, String region, String instanceGroupManager, {String $fields}) Future<Operation>
Apply updates to selected instances the managed instance group. [...]
createInstances(RegionInstanceGroupManagersCreateInstancesRequest request, String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Creates instances with per-instance configs in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method. [...]
delete(String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Deletes the specified managed instance group and all of the instances in that group. [...]
deleteInstances(RegionInstanceGroupManagersDeleteInstancesRequest request, String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method. [...]
deletePerInstanceConfigs(RegionInstanceGroupManagerDeleteInstanceConfigReq request, String project, String region, String instanceGroupManager, {String $fields}) Future<Operation>
Deletes selected per-instance configs for the managed instance group. [...]
get(String project, String region, String instanceGroupManager, {String $fields}) Future<InstanceGroupManager>
Returns all of the details about the specified managed instance group. [...]
insert(InstanceGroupManager request, String project, String region, {String requestId, String $fields}) Future<Operation>
Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. [...]
list(String project, String region, {String filter, int maxResults, String orderBy, String pageToken, bool returnPartialSuccess, String $fields}) Future<RegionInstanceGroupManagerList>
Retrieves the list of managed instance groups that are contained within the specified region. [...]
listErrors(String project, String region, String instanceGroupManager, {String filter, int maxResults, String orderBy, String pageToken, bool returnPartialSuccess, String $fields}) Future<RegionInstanceGroupManagersListErrorsResponse>
Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported. [...]
listManagedInstances(String project, String region, String instanceGroupManager, {String filter, int maxResults, String orderBy, String pageToken, bool returnPartialSuccess, String $fields}) Future<RegionInstanceGroupManagersListInstancesResponse>
Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported. [...]
listPerInstanceConfigs(String project, String region, String instanceGroupManager, {String filter, int maxResults, String orderBy, String pageToken, bool returnPartialSuccess, String $fields}) Future<RegionInstanceGroupManagersListInstanceConfigsResp>
Lists all of the per-instance configs defined for the managed instance group. The orderBy query parameter is not supported. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(InstanceGroupManager request, String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. [...]
patchPerInstanceConfigs(RegionInstanceGroupManagerPatchInstanceConfigReq request, String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Insert or patch (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch. [...]
recreateInstances(RegionInstanceGroupManagersRecreateRequest request, String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Flags the specified instances in the managed instance group to be immediately recreated. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method. [...]
resize(String project, String region, String instanceGroupManager, int size, {String requestId, String $fields}) Future<Operation>
Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. [...]
setInstanceTemplate(RegionInstanceGroupManagersSetTemplateRequest request, String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected. [...]
setTargetPools(RegionInstanceGroupManagersSetTargetPoolsRequest request, String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected. [...]
toString() String
Returns a string representation of this object.
inherited
updatePerInstanceConfigs(RegionInstanceGroupManagerUpdateInstanceConfigReq request, String project, String region, String instanceGroupManager, {String requestId, String $fields}) Future<Operation>
Insert or update (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch. [...]

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited