Reference documentation and code samples for the Google Cloud Memorystore for Memcached V1 API class Google::Cloud::Memcache::V1::ListInstancesResponse.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Memorystore for Memcached V1 API - Class Google::Cloud::Memcache::V1::ListInstancesResponse (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-memcache-v1/latest/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [2.0.1](/ruby/docs/reference/google-cloud-memcache-v1/2.0.1/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [1.2.0](/ruby/docs/reference/google-cloud-memcache-v1/1.2.0/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [1.1.0](/ruby/docs/reference/google-cloud-memcache-v1/1.1.0/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [1.0.2](/ruby/docs/reference/google-cloud-memcache-v1/1.0.2/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [0.9.0](/ruby/docs/reference/google-cloud-memcache-v1/0.9.0/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [0.8.2](/ruby/docs/reference/google-cloud-memcache-v1/0.8.2/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [0.7.0](/ruby/docs/reference/google-cloud-memcache-v1/0.7.0/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [0.6.1](/ruby/docs/reference/google-cloud-memcache-v1/0.6.1/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [0.5.0](/ruby/docs/reference/google-cloud-memcache-v1/0.5.0/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [0.4.0](/ruby/docs/reference/google-cloud-memcache-v1/0.4.0/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [0.3.0](/ruby/docs/reference/google-cloud-memcache-v1/0.3.0/Google-Cloud-Memcache-V1-ListInstancesResponse)\n- [0.2.5](/ruby/docs/reference/google-cloud-memcache-v1/0.2.5/Google-Cloud-Memcache-V1-ListInstancesResponse) \nReference documentation and code samples for the Google Cloud Memorystore for Memcached V1 API class Google::Cloud::Memcache::V1::ListInstancesResponse.\n\nResponse for [ListInstances](/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)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #instances\n\n def instances() -\u003e ::Array\u003c::Google::Cloud::Memcache::V1::Instance\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Memcache::V1::Instance](./Google-Cloud-Memcache-V1-Instance)\\\u003e) --- A list of Memcached instances in the project in the specified location, or across all locations.\n\n\n If the `location_id` in the parent field of the request is \"-\", all regions\n available to the project are queried, and the results aggregated.\n\n### #instances=\n\n def instances=(value) -\u003e ::Array\u003c::Google::Cloud::Memcache::V1::Instance\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Memcache::V1::Instance](./Google-Cloud-Memcache-V1-Instance)\\\u003e) --- A list of Memcached instances in the project in the specified location, or across all locations.\n\n\n If the `location_id` in the parent field of the request is \"-\", all regions\navailable to the project are queried, and the results aggregated. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Memcache::V1::Instance](./Google-Cloud-Memcache-V1-Instance)\\\u003e) --- A list of Memcached instances in the project in the specified location, or across all locations.\n\n\n If the `location_id` in the parent field of the request is \"-\", all regions\n available to the project are queried, and the results aggregated.\n\n### #next_page_token\n\n def next_page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.\n\n### #next_page_token=\n\n def next_page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list. \n**Returns**\n\n- (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.\n\n### #unreachable\n\n def unreachable() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Locations that could not be reached.\n\n### #unreachable=\n\n def unreachable=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- Locations that could not be reached. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Locations that could not be reached."]]