# Google Cloud Gke Hub V1 Client - Class MembershipFeatureState (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 MembershipFeatureState.

MembershipFeatureState contains Feature status information for a single
Membership.

Generated from protobuf message `google.cloud.gkehub.v1.MembershipFeatureState`

## Namespace

Google \\ Cloud \\ GkeHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ configmanagement` | `https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.MembershipState` Config Management-specific state. |
| `↳ state` | `https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/V1.FeatureState` The high-level state of this Feature for a single membership. |

### getConfigmanagement

Config Management-specific state.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.MembershipState|null` |   |

### hasConfigmanagement

### setConfigmanagement

Config Management-specific state.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/ConfigManagement.V1.MembershipState` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getState

The high-level state of this Feature for a single membership.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/V1.FeatureState|null` |   |

### hasState

### clearState

### setState

The high-level state of this Feature for a single membership.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/V1.FeatureState` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFeatureState

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |