Resource yang memiliki kumpulan lokasi, jika berlaku.
Parameter kueri
Parameter
filter
string
Filter untuk mempersempit hasil ke subkumpulan yang diinginkan. Bahasa pemfilteran menerima string seperti "displayName=tokyo", dan didokumentasikan secara lebih mendetail dalam AIP-160.
pageSize
integer
Jumlah hasil maksimum yang akan ditampilkan. Jika tidak disetel, layanan akan memilih default.
pageToken
string
Token halaman diterima dari kolom nextPageToken dalam respons. Kirim token halaman tersebut untuk menerima halaman berikutnya.
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Pesan respons untuk Locations.ListLocations.
Jika berhasil, isi respons memuat data dengan struktur berikut:
[[["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 2024-04-19 UTC."],[],[],null,["# Method: projects.locations.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.ListLocationsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists information about the supported locations for this service.\n\n### HTTP request\n\n`GET https://gkebackup.googleapis.com/v1/{name=projects/*}/locations`\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\nThe response message for [Locations.ListLocations](/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/projects.locations/list#google.cloud.location.Locations.ListLocations).\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](https://cloud.google.com/docs/authentication/)."]]