Die Ressource, die Eigentümer der aufgeführten Standorte ist, sofern zutreffend.
Abfrageparameter
Parameter
filter
string
Ein Filter, mit dem die Ergebnisse auf eine bevorzugte Teilmenge eingegrenzt werden können. Die Filtersprache akzeptiert Strings wie "displayName=tokyo" und wird in AIP-160 genauer beschrieben.
pageSize
integer
Die maximale Anzahl von zurückzugebenden Ergebnissen. Wenn kein Wert festgelegt ist, wählt der Dienst einen Standardwert aus.
pageToken
string
Ein Seitentoken, das vom Feld nextPageToken in der Antwort empfangen wurde. Senden Sie dieses Seitentoken, um die nächste Seite zu empfangen.
extraLocationTypes[]
string
Optional. Eine Liste zusätzlicher Standorttypen, die als Bedingungen für die Steuerung der Sichtbarkeit der Standorte verwendet werden sollen.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Die Antwortnachricht für Locations.ListLocations.
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext Daten mit der folgenden Struktur:
[[["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-08-19 (UTC)."],[[["\u003cp\u003eThis API endpoint retrieves a list of supported locations for the service using a \u003ccode\u003eGET\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL utilizes gRPC Transcoding syntax and requires a \u003ccode\u003ename\u003c/code\u003e path parameter to specify the resource owning the locations.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters, such as \u003ccode\u003efilter\u003c/code\u003e, \u003ccode\u003epageSize\u003c/code\u003e, and \u003ccode\u003epageToken\u003c/code\u003e, are available for refining the search and managing pagination.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the successful response contains a list of \u003ccode\u003elocations\u003c/code\u003e and an optional \u003ccode\u003enextPageToken\u003c/code\u003e for further pagination.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],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\nLists information about the supported locations for this service.\n\n### HTTP request\n\n`GET https://cloudaicompanion.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`.\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)."]]