# Google Cloud Hypercompute Cluster V1 Client - Class TerminationAction (0.3.0)

0.3.0 (latest) 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1 Client class TerminationAction.

Specifies the termination action of the instance

Protobuf type `google.cloud.hypercomputecluster.v1.NewSpotInstancesConfig.TerminationAction`

## Namespace

Google \\ Cloud \\ HypercomputeCluster \\ V1 \\ NewSpotInstancesConfig

## Methods

### static::name

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

### static::value

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

## Constants

### TERMINATION_ACTION_UNSPECIFIED

    Value: 0

Not set.

Generated from protobuf enum `TERMINATION_ACTION_UNSPECIFIED = 0;`

### STOP

    Value: 1

Compute Engine stops the Spot VM on preemption.

Generated from protobuf enum `STOP = 1;`

### DELETE

    Value: 2

Compute Engine deletes the Spot VM on preemption.

Generated from protobuf enum `DELETE = 2;`