redis.projects.locations.instances.list

GET {{baseUrl}}/v1/:parent/instances?pageSize=<integer>&pageToken=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

Lists all Redis instances owned by a project in either the specified location (region) or all locations. The location should have the following format: * projects/{project_id}/locations/{location_id} If location_id is specified as - (wildcard), then all regions available to the project are queried, and the results are aggregated.

Request Params

KeyDatatypeRequiredDescription
pageSizestringThe maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.
pageTokenstringThe next_page_token value returned from a previous ListInstances request, if any.
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
upload_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy upload protocol for media (e.g. "media", "multipart").

RESPONSES

status: OK

{&quot;instances&quot;:[{&quot;alternativeLocationId&quot;:&quot;\u003cstring\u003e&quot;,&quot;authorizedNetwork&quot;:&quot;\u003cstring\u003e&quot;,&quot;connectMode&quot;:&quot;\u003cstring\u003e&quot;,&quot;createTime&quot;:&quot;Lorem ullamco adipisicing&quot;,&quot;currentLocationId&quot;:&quot;in&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;,&quot;host&quot;:&quot;ipsum aliquip reprehenderit ex&quot;,&quot;labels&quot;:&quot;\u003cobject\u003e&quot;,&quot;locationId&quot;:&quot;\u003cstring\u003e&quot;,&quot;memorySizeGb&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;persistenceIamIdentity&quot;:&quot;dolor in&quot;,&quot;port&quot;:-64660361,&quot;redisConfigs&quot;:&quot;\u003cobject\u003e&quot;,&quot;redisVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;reservedIpRange&quot;:&quot;\u003cstring\u003e&quot;,&quot;state&quot;:&quot;DELETING&quot;,&quot;statusMessage&quot;:&quot;ad minim mollit sed velit&quot;,&quot;tier&quot;:&quot;\u003cstring\u003e&quot;},{&quot;alternativeLocationId&quot;:&quot;\u003cstring\u003e&quot;,&quot;authorizedNetwork&quot;:&quot;\u003cstring\u003e&quot;,&quot;connectMode&quot;:&quot;\u003cstring\u003e&quot;,&quot;createTime&quot;:&quot;reprehenderit qui&quot;,&quot;currentLocationId&quot;:&quot;ea culpa&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;,&quot;host&quot;:&quot;est&quot;,&quot;labels&quot;:&quot;\u003cobject\u003e&quot;,&quot;locationId&quot;:&quot;\u003cstring\u003e&quot;,&quot;memorySizeGb&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;persistenceIamIdentity&quot;:&quot;in&quot;,&quot;port&quot;:-52833225,&quot;redisConfigs&quot;:&quot;\u003cobject\u003e&quot;,&quot;redisVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;reservedIpRange&quot;:&quot;\u003cstring\u003e&quot;,&quot;state&quot;:&quot;UPDATING&quot;,&quot;statusMessage&quot;:&quot;officia enim&quot;,&quot;tier&quot;:&quot;\u003cstring\u003e&quot;}],&quot;nextPageToken&quot;:&quot;non tempor do&quot;,&quot;unreachable&quot;:[&quot;amet&quot;,&quot;aliqua Duis est adipisicing&quot;]}