Listet alle Sicherungssammlungen auf, die einem Consumer-Projekt am angegebenen Standort (Region) oder an allen Standorten gehören.
Wenn locationId als - (Platzhalter) angegeben wird, werden alle für das Projekt verfügbaren Regionen abgefragt und die Ergebnisse werden zusammengefasst.
HTTP-Anfrage
GET https://redis.googleapis.com/v1/{parent=projects/*/locations/*}/backupCollections
Pflichtangabe. Der Ressourcenname des BackupCollection-Standorts im Format projects/{projectId}/locations/{locationId}, wobei sich locationId auf eine Google Cloud-Region bezieht.
Abfrageparameter
Parameter
pageSize
integer
Optional. Die maximale Anzahl der Elemente, die zurückzugeben sind.
Wenn nicht angegeben, wird vom Dienst der Standardwert 1.000 verwendet. Unabhängig vom pageSize-Wert kann die Antwort eine unvollständige Liste enthalten und ein Aufrufer sollte sich nur auf die Antwort nextPageToken verlassen, um zu bestimmen, ob noch weitere Cluster abzufragen sind.
pageToken
string
Optional. Der Wert nextPageToken wurde gegebenenfalls von einer vorherigen [backupCollections.list]-Anfrage zurückgegeben.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Antwort für [backupCollections.list].
Bei Erfolg enthält der Antworttext Daten mit der folgenden Struktur:
Wenn locationId im übergeordneten Feld der Anfrage „-“ ist, werden alle für das Projekt verfügbaren Regionen abgefragt und die Ergebnisse zusammengefasst. Wenn in einer solchen aggregierten Abfrage ein Standort nicht verfügbar ist, wird in die Antwort ein Platzhalter-backupCollection-Eintrag aufgenommen, bei dem das Feld name auf einen Wert der Form projects/{projectId}/locations/{locationId}/backupCollections/- gesetzt ist, das Feld status auf ERROR und das Feld statusMessage auf „location not available for backupCollections.list“.
nextPageToken
string
Token zum Abrufen der nächsten Ergebnisseite. Leer, wenn keine weiteren Ergebnisse in der Liste vorhanden sind.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[],[],null,["# Method: projects.locations.backupCollections.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.ListBackupCollectionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nLists all backup collections owned by a consumer project in either the specified location (region) or all locations.\n\nIf `locationId` is specified as `-` (wildcard), then all regions available to the project are queried, and the results are aggregated.\n\n### HTTP request\n\n`GET https://redis.googleapis.com/v1/{parent=projects/*/locations/*}/backupCollections`\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\nResponse for \\[backupCollections.list\\].\n\nIf successful, the response body contains data with the following structure:\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)."]]