# Google Cloud Vm Migration V1 Client - Class WarningCode (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 WarningCode.

Represents possible warning codes.

Protobuf type `google.cloud.vmmigration.v1.MigrationWarning.WarningCode`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1 \\ MigrationWarning

## Methods

### static::name

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

### static::value

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

## Constants

### WARNING_CODE_UNSPECIFIED

    Value: 0

Default value. This value is not used.

Generated from protobuf enum `WARNING_CODE_UNSPECIFIED = 0;`

### ADAPTATION_WARNING

    Value: 1

A warning originated from OS Adaptation.

Generated from protobuf enum `ADAPTATION_WARNING = 1;`