# Memorystore V1 API - Class Google::Cloud::Memorystore::V1::ListInstancesResponse (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::ListInstancesResponse.

Response message for \[ListInstances\]\[\].

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instances

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

**Returns**

- (::Array\<[::Google::Cloud::Memorystore::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-Instance)\>) --- If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.

### #instances=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::Memorystore::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-Instance)\>) --- If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.
**Returns**

- (::Array\<[::Google::Cloud::Memorystore::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-Instance)\>) --- If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
**Returns**

- (::String) --- A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

### #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.