Managed Service for Redis API, gRPC: ClusterService.ListBackups
Retrieves the list of available backups for the specified Redis cluster.
gRPC request
rpc ListBackups (ListClusterBackupsRequest) returns (ListClusterBackupsResponse)
ListClusterBackupsRequest
{
"clusterId": "string",
"pageSize": "int64",
"pageToken": "string"
}
Field |
Description |
clusterId |
string Required field. ID of the Redis cluster. |
pageSize |
int64 The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
ListClusterBackupsResponse
{
"backups": [
{
"id": "string",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"sourceClusterId": "string",
"startedAt": "google.protobuf.Timestamp",
"sourceShardNames": [
"string"
]
}
],
"nextPageToken": "string"
}
Field |
Description |
backups[] |
List of Redis backups. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
Backup
Description of a Redis backup. For more information, see
the Managed Service for Redis documentation.
Field |
Description |
id |
string ID of the backup. |
folderId |
string ID of the folder that the backup belongs to. |
createdAt |
Creation timestamp in RFC3339 |
sourceClusterId |
string ID of the Redis cluster that the backup was created for. |
startedAt |
Start timestamp in RFC3339 |
sourceShardNames[] |
string Shard names used as a source for backup. |