# GKE Hub V1 API - Class Google::Cloud::GkeHub::V1::ListMembershipsResponse (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::ListMembershipsResponse.

Response message for the `GkeHub.ListMemberships` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.
**Returns**

- (::String) --- A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.

### #resources

    def resources() -> ::Array<::Google::Cloud::GkeHub::V1::Membership>

**Returns**

- (::Array\<[::Google::Cloud::GkeHub::V1::Membership](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-Membership)\>) --- The list of matching Memberships.

### #resources=

    def resources=(value) -> ::Array<::Google::Cloud::GkeHub::V1::Membership>

**Parameter**

- **value** (::Array\<[::Google::Cloud::GkeHub::V1::Membership](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-Membership)\>) --- The list of matching Memberships.
**Returns**

- (::Array\<[::Google::Cloud::GkeHub::V1::Membership](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-Membership)\>) --- The list of matching Memberships.

### #unreachable

    def unreachable() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- List of locations that could not be reached while fetching this list.

### #unreachable=

    def unreachable=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- List of locations that could not be reached while fetching this list.
**Returns**

- (::Array\<::String\>) --- List of locations that could not be reached while fetching this list.