# 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 describes the state of a Membership resource.

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

## Namespace

Google \\ Cloud \\ GkeHub \\ V1 \\ MembershipState

## Methods

### static::name

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

### static::value

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

## Constants

### CODE_UNSPECIFIED

    Value: 0

The code is not set.

Generated from protobuf enum `CODE_UNSPECIFIED = 0;`

### CREATING

    Value: 1

The cluster is being registered.

Generated from protobuf enum `CREATING = 1;`

### READY

    Value: 2

The cluster is registered.

Generated from protobuf enum `READY = 2;`

### DELETING

    Value: 3

The cluster is being unregistered.

Generated from protobuf enum `DELETING = 3;`

### UPDATING

    Value: 4

The Membership is being updated.

Generated from protobuf enum `UPDATING = 4;`

### SERVICE_UPDATING

    Value: 5

The Membership is being updated by the Hub Service.

Generated from protobuf enum `SERVICE_UPDATING = 5;`