Required. The instance whose instance partitions should be listed. Values are of the formprojects/<project>/instances/<instance>. Use{instance} = '-'to list instance partitions for all Instances in a project, e.g.,projects/myproject/instances/-.
Authorization requires the followingIAMpermission on the specified resourceparent:
spanner.instancePartitions.list
Query parameters
Parameters
pageSize
integer
Number of instance partitions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
Optional. Deadline used while retrieving metadata for instance partitions. Instance partitions whose metadata cannot be retrieved within this deadline will be added tounreachableinListInstancePartitionsResponse.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:"2014-10-02T15:01:23Z","2014-10-02T15:01:23.045123456Z"or"2014-10-02T15:01:23+05:30".
nextPageTokencan be sent in a subsequentinstancePartitions.listcall to fetch more of the matching instance partitions.
unreachable[]
string
The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved withininstancePartitionDeadline.
[[["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-04 UTC."],[],[],null,["# Method: projects.instances.instancePartitions.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListInstancePartitionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists all instance partitions for the given instance.\n\n### HTTP request\n\nChoose a location: \nglobal europe-west8 me-central2 us-central1 us-central2 us-east1 us-east4 us-east5 us-south1 us-west1 us-west2 us-west3 us-west4 us-west8 us-east7 \n\n\u003cbr /\u003e\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response for [instancePartitions.list](/spanner/docs/reference/rest/v1/projects.instances.instancePartitions/list#google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/spanner.admin`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]