A list of Redis instances in the project in the specified location, or across all locations. If thelocation_idin 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 thenamefield set to a value of the formprojects/{project_id}/locations/{location_id}/instances/- and thestatusfield set to ERROR andstatus_messagefield set to "location not available for ListInstances".
↳ next_page_token
string
Token to retrieve the next page of results, or empty if there are no more results in the list.
↳ unreachable
array
Locations that could not be reached.
getInstances
A list of Redis instances in the project in the specified location,
or across all locations.
If thelocation_idin 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 thenamefield set to a
value of the formprojects/{project_id}/locations/{location_id}/instances/- and thestatusfield set to ERROR andstatus_messagefield set to "location not
available for ListInstances".
A list of Redis instances in the project in the specified location,
or across all locations.
If thelocation_idin 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 thenamefield set to a
value of the formprojects/{project_id}/locations/{location_id}/instances/- and thestatusfield set to ERROR andstatus_messagefield 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-09-09 UTC."],[],[],null,["# Google Cloud Redis V1 Client - Class ListInstancesResponse (2.1.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.6 (latest)](/php/docs/reference/cloud-redis/latest/V1.ListInstancesResponse)\n- [2.1.5](/php/docs/reference/cloud-redis/2.1.5/V1.ListInstancesResponse)\n- [2.0.0](/php/docs/reference/cloud-redis/2.0.0/V1.ListInstancesResponse)\n- [1.9.5](/php/docs/reference/cloud-redis/1.9.5/V1.ListInstancesResponse)\n- [1.8.4](/php/docs/reference/cloud-redis/1.8.4/V1.ListInstancesResponse)\n- [1.7.0](/php/docs/reference/cloud-redis/1.7.0/V1.ListInstancesResponse)\n- [1.6.12](/php/docs/reference/cloud-redis/1.6.12/V1.ListInstancesResponse) \nReference documentation and code samples for the Google Cloud Redis V1 Client class ListInstancesResponse.\n\nResponse for [ListInstances](/php/docs/reference/cloud-redis/latest/V1.Client.CloudRedisClient#_Google_Cloud_Redis_V1_Client_CloudRedisClient__listInstances__).\n\nGenerated from protobuf message `google.cloud.redis.v1.ListInstancesResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Redis \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInstances\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### setInstances\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### getNextPageToken\n\nToken to retrieve the next page of results, or empty if there are no more\nresults in the list.\n\n### setNextPageToken\n\nToken to retrieve the next page of results, or empty if there are no more\nresults in the list.\n\n### getUnreachable\n\nLocations that could not be reached.\n\n### setUnreachable\n\nLocations that could not be reached."]]