A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the name field set to a
value of the form
projects/{project_id}/locations/{location_id}/instances/- and the
status field set to ERROR and status_message field set to "location not
available for ListInstances".
[[["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-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eListInstancesResponse\u003c/code\u003e class within the Google Cloud Memorystore for Redis v1 API, specifically for the .NET environment, with the latest version being 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListInstancesResponse\u003c/code\u003e class is designed to handle the response from a \u003ccode\u003eListInstances\u003c/code\u003e API call and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, \u003ccode\u003eIPageResponse\u003c/code\u003e, and \u003ccode\u003eIEnumerable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eInstances\u003c/code\u003e (a list of Redis instances), \u003ccode\u003eNextPageToken\u003c/code\u003e (for pagination), and \u003ccode\u003eUnreachable\u003c/code\u003e (for locations that couldn't be accessed), along with constructor options and methods such as \u003ccode\u003eGetEnumerator\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Cloud Memorystore for Redis v1 API has 10 different versions available, from 2.2.0 to the latest 3.5.0, each with corresponding documentation.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1 API - Class ListInstancesResponse (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.ListInstancesResponse)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.ListInstancesResponse)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.ListInstancesResponse)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.ListInstancesResponse)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.ListInstancesResponse)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.ListInstancesResponse)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.ListInstancesResponse)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.ListInstancesResponse)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.ListInstancesResponse)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.ListInstancesResponse) \n\n public sealed class ListInstancesResponse : IMessage\u003cListInstancesResponse\u003e, IEquatable\u003cListInstancesResponse\u003e, IDeepCloneable\u003cListInstancesResponse\u003e, IBufferMessage, IMessage, IPageResponse\u003cInstance\u003e, IEnumerable\u003cInstance\u003e, IEnumerable\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class ListInstancesResponse.\n\nResponse for \\[ListInstances\\]\\[google.cloud.redis.v1.CloudRedis.ListInstances\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListInstancesResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListInstancesResponse](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.ListInstancesResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListInstancesResponse](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.ListInstancesResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListInstancesResponse](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.ListInstancesResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html), [IPageResponse](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/PagedEnumerableCommon.cs)[Instance](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.Instance), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[Instance](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.Instance), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Redis.V1](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Redis.V1.dll\n\nConstructors\n------------\n\n### ListInstancesResponse()\n\n public ListInstancesResponse()\n\n### ListInstancesResponse(ListInstancesResponse)\n\n public ListInstancesResponse(ListInstancesResponse other)\n\nProperties\n----------\n\n### Instances\n\n public RepeatedField\u003cInstance\u003e Instances { get; }\n\nA list of Redis instances in the project in the specified location,\nor across all locations.\n\nIf the `location_id` in the parent field of the request is \"-\", all regions\navailable to the project are queried, and the results aggregated.\nIf in such an aggregated query a location is unavailable, a placeholder\nRedis entry is included in the response with the `name` field set to a\nvalue of the form\n`projects/{project_id}/locations/{location_id}/instances/`- and the\n`status` field set to ERROR and `status_message` field set to \"location not\navailable for ListInstances\".\n\n### NextPageToken\n\n public string NextPageToken { get; set; }\n\nToken to retrieve the next page of results, or empty if there are no more\nresults in the list.\n\n### Unreachable\n\n public RepeatedField\u003cstring\u003e Unreachable { get; }\n\nLocations that could not be reached.\n\nMethods\n-------\n\n### GetEnumerator()\n\n public IEnumerator\u003cInstance\u003e GetEnumerator()\n\nReturns an enumerator that iterates through the resources in this response."]]