Required. The parent (project and location) where the resource maintenances will be listed. Specified in the format projects/*/locations/*.
For target resources that are regional and global, the location of ResourceMaintenance is always the same as the target resource location.
For target resources that are zonal, the ResourceMaintenance location is a region corresponding to the zone of target resource. For example, for a Cloud SQL instance in the us-west1-a zone, the ResourceMaintenance is in the us-west1 region.
Location "-" matches all locations.
Query parameters
Parameters
pageSize
integer
The maximum number of resource maintenances to send per page. The default page size is 20 and the maximum is 1000.
pageToken
string
The page token: If the nextPageToken from a previous response is provided, this request will send the subsequent page.
If present, the next page token can be provided to a subsequent resourceMaintenances.list call to list the next page. If empty, there are no more pages.
[[["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-05-30 UTC."],[],[],null,["# Method: projects.locations.resourceMaintenances.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.ListResourceMaintenancesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nRetrieve a collection of resource maintenances.\n\n### HTTP request\n\n`GET https://maintenance.googleapis.com/v1beta/{parent=projects/*/locations/*}/resourceMaintenances`\n\nThe URL uses [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 structure for the resourceMaintenances.list method.\n\nIf successful, the response body contains data with the following structure:\n}\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](/iam/docs) permission on the `parent` resource:\n\n- `maintenance.resourceMaintenances.list`\n\nFor more information, see the [IAM documentation](/iam/docs)."]]