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

List of Memberships bound to a Scope.

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

## Namespace

Google \\ Cloud \\ GkeHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ memberships` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/V1.Membership>` The list of Memberships bound to the given Scope. |
| `↳ unreachable` | `string[]` List of locations that could not be reached while fetching this list. |
| `↳ next_page_token` | `string` A token to request the next page of resources from the `ListBoundMemberships` method. The value of an empty string means that there are no more resources to return. |

### getMemberships

The list of Memberships bound to the given Scope.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-gke-hub/latest/V1.Membership>` |   |

### setMemberships

The list of Memberships bound to the given Scope.

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

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

### getUnreachable

List of locations that could not be reached while fetching this list.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setUnreachable

List of locations that could not be reached while fetching this list.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

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

### getNextPageToken

A token to request the next page of resources from the
`ListBoundMemberships` method. The value of an empty string means that
there are no more resources to return.

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

### setNextPageToken

A token to request the next page of resources from the
`ListBoundMemberships` method. The value of an empty string means that
there are no more resources to return.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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