# Google Cloud Gke Hub V1 Client - Class Code (1.3.1)

1.3.1 (latest) 1.3.0 1.2.2 1.1.0 1.0.6 0.10.0 0.9.5 0.8.2 0.7.1 0.6.3 0.5.6 Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class Code.

Code represents a machine-readable, high-level status of the Feature.

Protobuf type `google.cloud.gkehub.v1.FeatureState.Code`

## Namespace

Google \\ Cloud \\ GkeHub \\ V1 \\ FeatureState

## Methods

### static::name

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

### static::value

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

## Constants

### CODE_UNSPECIFIED

    Value: 0

Unknown or not set.

Generated from protobuf enum `CODE_UNSPECIFIED = 0;`

### OK

    Value: 1

The Feature is operating normally.

Generated from protobuf enum `OK = 1;`

### WARNING

    Value: 2

The Feature has encountered an issue, and is operating in a degraded
state. The Feature may need intervention to return to normal operation.

See the description and any associated Feature-specific details for more
information.

Generated from protobuf enum `WARNING = 2;`

### ERROR

    Value: 3

The Feature is not operating or is in a severely degraded state.

The Feature may need intervention to return to normal operation.
See the description and any associated Feature-specific details for more
information.

Generated from protobuf enum `ERROR = 3;`