Die Hauptdimension, die in den Ergebnissen verwendet werden soll.
Wenn die Tabellendaten beispielsweise A1=1,B1=2,A2=3,B2=4 lauten, wird bei der Anforderung von ranges=["A1:B2"],majorDimension=ROWS[[1,2],[3,4]] zurückgegeben, während die Anforderung von ranges=["A1:B2"],majorDimension=COLUMNS[[1,3],[2,4]] zurückgibt.
Wie Datum, Uhrzeit und Dauer in der Ausgabe dargestellt werden sollen. Dies wird ignoriert, wenn valueRenderOption den Wert FORMATTED_VALUE hat. Die standardmäßige Renderingoption für „dateTime“ ist SERIAL_NUMBER.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Die Antwort, wenn mehr als ein Wertebereich in einer Tabelle abgerufen wird.
Bei Erfolg 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"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-09-05 (UTC)."],[[["This method allows retrieval of one or more ranges of values from a specified Google Sheet using the spreadsheet ID and desired ranges."],["Users can customize data retrieval by defining the major dimension (ROWS or COLUMNS), value rendering options, and date/time formatting."],["The response includes the spreadsheet ID and an array of ValueRanges containing the requested values, mirroring the order of requested ranges."],["Authorization requires specific OAuth scopes, including read or write access to Google Drive or Sheets."]]],["This outlines how to retrieve multiple ranges of values from a spreadsheet using a `GET` request. The core actions include specifying the `spreadsheetId` in the URL path and defining desired `ranges` in the query parameters. Other query parameters like `majorDimension`, `valueRenderOption`, and `dateTimeRenderOption` further customize the output. An empty request body is required. The response, structured in JSON, includes the `spreadsheetId` and the retrieved `valueRanges`. Appropriate authorization scopes are also required.\n"]]