- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Lists all backups associated with the project.
HTTP request
GET https://sqladmin.googleapis.com/v1/{parent=projects/*}/backups
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent that owns this collection of backups. Format: projects/{project} |
Query parameters
Parameters | |
---|---|
page |
The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000. |
page |
A page token, received from a previous When paginating, all other parameters provided to |
filter |
Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location. |
Request body
The request body must be empty.
Response body
The response payload containing a list of the backups.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "backups": [ { object ( |
Fields | |
---|---|
backups[] |
A list of backups. |
next |
A token, which can be sent as |
warnings[] |
If a region isn't unavailable or if an unknown error occurs, then a warning message is returned. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/sqlservice.admin
For more information, see the Authentication Overview.