- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Retrieve a collection of resource maintenances.
HTTP request
GET https://maintenance.googleapis.com/v1beta/{parent=projects/*/locations/*}/resourceMaintenances
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent (project and location) where the resource maintenances will be listed. Specified in the format For target resources that are regional and global, the location of For target resources that are zonal, the Location |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of resource maintenances to send per page. The default page size is 20 and the maximum is 1000. |
pageToken |
The page token: If the nextPageToken from a previous response is provided, this request will send the subsequent page. |
filter |
Filter the list as specified in https://google.aip.dev/160. Supported fields include:
|
Request body
The request body must be empty.
Response body
The response structure for the resourceMaintenances.list method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"resourceMaintenances": [
{
object ( |
}
Fields | |
---|---|
resourceMaintenances[] |
The resulting resource maintenances. |
nextPageToken |
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. |
unreachable[] |
Locations that could not be reached. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
maintenance.resourceMaintenances.list
For more information, see the IAM documentation.