# Google Cloud Vm Migration V1 Client - Class RestartType (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class RestartType.

Defines whether the Instance should be automatically restarted whenever
it is terminated by Compute Engine (not terminated by user).

Protobuf type `google.cloud.vmmigration.v1.ComputeScheduling.RestartType`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1 \\ ComputeScheduling

## Methods

### static::name

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

### static::value

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

## Constants

### RESTART_TYPE_UNSPECIFIED

    Value: 0

Unspecified behavior. This will use the default.

Generated from protobuf enum `RESTART_TYPE_UNSPECIFIED = 0;`

### AUTOMATIC_RESTART

    Value: 1

The Instance should be automatically restarted whenever it is
terminated by Compute Engine.

Generated from protobuf enum `AUTOMATIC_RESTART = 1;`

### NO_AUTOMATIC_RESTART

    Value: 2

The Instance isn't automatically restarted whenever it is
terminated by Compute Engine.

Generated from protobuf enum `NO_AUTOMATIC_RESTART = 2;`