Wajib. Nama resource lokasi backupCollection menggunakan formulir: projects/{projectId}/locations/{locationId} dengan locationId mengacu pada region Google Cloud.
Parameter kueri
Parameter
pageSize
integer
Opsional. Jumlah maksimum item untuk ditampilkan.
Jika tidak ditentukan, nilai default 1000 akan digunakan oleh layanan. Terlepas dari nilai pageSize, respons dapat menyertakan daftar parsial dan pemanggil hanya boleh mengandalkan nextPageToken respons untuk menentukan apakah ada lebih banyak cluster yang tersisa untuk dikueri.
pageToken
string
Opsional. Nilai nextPageToken yang ditampilkan dari permintaan [backupCollections.list] sebelumnya, jika ada.
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Respons untuk [backupCollections.list].
Jika berhasil, isi respons memuat data dengan struktur berikut:
Jika locationId di kolom induk permintaan adalah "-", semua wilayah yang tersedia untuk project akan dikueri, dan hasilnya digabungkan. Jika dalam kueri gabungan seperti itu lokasi tidak tersedia, entri backupCollection placeholder akan disertakan dalam respons dengan kolom name yang ditetapkan ke nilai formulir projects/{projectId}/locations/{locationId}/backupCollections/- dan kolom status yang ditetapkan ke ERROR serta kolom statusMessage yang ditetapkan ke "location not available for backupCollections.list".
nextPageToken
string
Token untuk mengambil halaman hasil berikutnya, atau kosong jika tidak ada lagi hasil dalam daftar.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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/v1beta1/{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)."]]