El recurso propietario de la colección de ubicaciones, si corresponde.
Parámetros de consulta
Parámetros
filter
string
Un filtro para limitar los resultados a un subconjunto preferido. El lenguaje de filtrado acepta cadenas como "displayName=tokyo" y se documenta con más detalle en AIP-160.
pageSize
integer
La cantidad máxima de resultados que se mostrarán. Si no se configura, el servicio selecciona una configuración predeterminada.
pageToken
string
Un token de página recibido del campo nextPageToken en la respuesta. Envía ese token de página para recibir la página siguiente.
Cuerpo de la solicitud
El cuerpo de la solicitud debe estar vacío.
Cuerpo de la respuesta
El mensaje de respuesta para Locations.ListLocations.
Si se ejecuta correctamente, el cuerpo de la respuesta contiene datos con la siguiente estructura:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-05-21 (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/)."]]