# Compute V1 Client - Class CurrentAction (2.10.0)

2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.1 1.21.0 1.20.0 1.19.0 1.18.1 1.17.0 1.16.2 1.14.0 1.13.0 1.12.1 1.11.1 1.10.1 1.9.1 1.8.3 1.7.1 1.6.1 1.5.0 Reference documentation and code samples for the Compute V1 Client class CurrentAction.

Output only. \[Output Only\] The current action that the managed instance group has
scheduled for the instance. Possible values:

- NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance.

<!-- -->

- CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.
  - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  - RECREATING The managed instance group is recreating this instance.
  - DELETING The managed instance group is permanently deleting this instance.
  - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.
  - RESTARTING The managed instance group is restarting the instance.
  - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.
  - VERIFYING The managed instance group has created the instance and it is in the process of being verified. Additional supported values which may be not listed in the enum directly due to technical reasons: STOPPING SUSPENDING

Protobuf type `google.cloud.compute.v1.ManagedInstance.CurrentAction`

## Namespace

Google \\ Cloud \\ Compute \\ V1 \\ ManagedInstance

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### UNDEFINED_CURRENT_ACTION

    Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum `UNDEFINED_CURRENT_ACTION = 0;`

### ABANDONING

    Value: 388244813

The managed instance group is abandoning this instance. The instance
will be removed from the instance group and from any target pools that
are associated with this group.

Generated from protobuf enum `ABANDONING = 388244813;`

### CREATING

    Value: 455564985

The managed instance group is creating this instance. If the group
fails to create this instance, it will try again until it is
successful.

Generated from protobuf enum `CREATING = 455564985;`

### CREATING_WITHOUT_RETRIES

    Value: 428843785

The managed instance group is attempting to create this instance
only once. If the group fails to create this instance, it does
not try again and the group's targetSize value is
decreased.

Generated from protobuf enum `CREATING_WITHOUT_RETRIES = 428843785;`

### DELETING

    Value: 528602024

The managed instance group is permanently deleting this instance.

Generated from protobuf enum `DELETING = 528602024;`

### NONE

    Value: 2402104

The managed instance group has not scheduled any actions for this
instance.

Generated from protobuf enum `NONE = 2402104;`

### RECREATING

    Value: 287278572

The managed instance group is recreating this instance.

Generated from protobuf enum `RECREATING = 287278572;`

### REFRESHING

    Value: 163266343

The managed instance group is applying configuration changes to the
instance without stopping it. For example, the group can update the
target pool list for an instance without stopping that instance.

Generated from protobuf enum `REFRESHING = 163266343;`

### RESTARTING

    Value: 320534387

The managed instance group is restarting this instance.

Generated from protobuf enum `RESTARTING = 320534387;`

### RESUMING

    Value: 446856618

The managed instance group is resuming this instance.

Generated from protobuf enum `RESUMING = 446856618;`

### STARTING

    Value: 488820800

The managed instance group is starting this instance.

Generated from protobuf enum `STARTING = 488820800;`

### VERIFYING

    Value: 16982185

The managed instance group is verifying this already created instance.

Verification happens every time the instance is (re)created or restarted
and consists of:

1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified
2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).

Generated from protobuf enum `VERIFYING = 16982185;`