# Filestore V1 API - Class Google::Cloud::Filestore::V1::ListInstancesResponse (v2.7.0)

2.7.0 (latest) 2.6.1 2.5.0 2.4.1 2.3.1 2.2.0 2.1.1 2.0.0 1.2.0 1.1.0 1.0.1 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::ListInstancesResponse.

ListInstancesResponse is the result of ListInstancesRequest.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instances

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

**Returns**

- (::Array\<[::Google::Cloud::Filestore::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-Instance)\>) --- A list of instances in the project for the specified location.


  If the `{location}` value in the request is "-", the response contains a
  list of instances from all locations. If any location is unreachable, the
  response will only return instances in reachable locations and the
  "unreachable" field will be populated with a list of unreachable locations.

### #instances=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::Filestore::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-Instance)\>) --- A list of instances in the project for the specified location.


  If the `{location}` value in the request is "-", the response contains a
  list of instances from all locations. If any location is unreachable, the
  response will only return instances in reachable locations and the
  "unreachable" field will be populated with a list of unreachable locations.
**Returns**

- (::Array\<[::Google::Cloud::Filestore::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-Instance)\>) --- A list of instances in the project for the specified location.


  If the `{location}` value in the request is "-", the response contains a
  list of instances from all locations. If any location is unreachable, the
  response will only return instances in reachable locations and the
  "unreachable" field will be populated with a list of unreachable locations.

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
**Returns**

- (::String) --- The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

### #unreachable

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

**Returns**

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

### #unreachable=

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

**Parameter**

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

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