Erforderlich. Der Ressourcenname des Speicherorts der Sicherungssammlung 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 nextPageToken in der Antwort 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 das 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 zusammengefassten Abfrage ein Speicherort nicht verfügbar ist, wird in der Antwort ein Platzhaltereintrag für die Sicherungssammlung mit dem Wert „projects/{projectId}/locations/{locationId}/backupCollections/-“ für das Feld name, dem Wert „FEHLER“ für das Feld status und dem Wert „Speicherort nicht verfügbar für backupCollections.list“ für das Feld statusMessage eingefügt.
nextPageToken
string
Token zum Abrufen der nächsten Ergebnisseite. Leer, wenn keine weiteren Ergebnisse in der Liste vorhanden sind.
unreachable[]
string
Standorte, die nicht erreicht werden konnten.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/cloud-platform
IAM-Berechtigungen
Erfordert die folgende IAM-Berechtigung für die Ressource parent:
[[["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-07-30 (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- [IAM Permissions](#body.aspect_1)\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://memorystore.googleapis.com/v1beta/{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\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `memorystore.backupCollections.list`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]