# Google Cloud Memorystore for Memcached V1 API - Class Google::Cloud::Memcache::V1::ListInstancesResponse (v2.5.0)

2.5.0 (latest) 2.4.1 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.5 Reference documentation and code samples for the Google Cloud Memorystore for Memcached V1 API class Google::Cloud::Memcache::V1::ListInstancesResponse.

Response for [ListInstances](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-CloudMemcache-Client#Google__Cloud__Memcache__V1__CloudMemcache__Client_list_instances_instance_ "Google::Cloud::Memcache::V1::CloudMemcache::Client#list_instances (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instances

    def instances() -> ::Array<::Google::Cloud::Memcache::V1::Instance>

**Returns**

- (::Array\<[::Google::Cloud::Memcache::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-Instance)\>) --- A list of Memcached instances in the project in the specified location, or across all locations.


  If the `location_id` in the parent field of the request is "-", all regions
  available to the project are queried, and the results aggregated.

### #instances=

    def instances=(value) -> ::Array<::Google::Cloud::Memcache::V1::Instance>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Memcache::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-Instance)\>) --- A list of Memcached instances in the project in the specified location, or across all locations.


  If the `location_id` in the parent field of the request is "-", all regions
  available to the project are queried, and the results aggregated.
**Returns**

- (::Array\<[::Google::Cloud::Memcache::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-Instance)\>) --- A list of Memcached instances in the project in the specified location, or across all locations.


  If the `location_id` in the parent field of the request is "-", all regions
  available to the project are queried, and the results aggregated.

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.
**Returns**

- (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.

### #unreachable

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

**Returns**

- (::Array\<::String\>) --- Locations that could not be reached.

### #unreachable=

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

**Parameter**

- **value** (::Array\<::String\>) --- Locations that could not be reached.
**Returns**

- (::Array\<::String\>) --- Locations that could not be reached.