Oto lista najczęstszych terminów używanych w interfejsie Sheets API:
Arkusz kalkulacyjny
Główny obiekt w Arkuszach Google. Może zawierać wiele elementów Sheets, z których każdy zawiera informacje strukturalne w elemencie Cells. Zasób spreadsheets reprezentuje arkusz kalkulacyjny. Zawiera unikalną wartość spreadsheetId.
Identyfikator arkusza kalkulacyjnego
Unikalny identyfikator arkusza kalkulacyjnego. Jest to ciąg znaków zawierający litery, cyfry i niektóre znaki specjalne, który odwołuje się do arkusza kalkulacyjnego i może być wyodrębniony z jego adresu URL. Identyfikatory arkuszy kalkulacyjnych są stałe, nawet jeśli nazwa arkusza ulegnie zmianie.
Strona lub karta w arkuszu kalkulacyjnym. Zasób Sheets reprezentuje arkusz. Zawiera unikalną wartość liczbową sheetId i arkusz title jako część obiektu SheetProperties.
Identyfikator arkusza
Unikalny identyfikator konkretnego arkusza w arkuszu kalkulacyjnym. Jest to konkretna liczba całkowita zawierająca cyfry, które odwołują się do arkusza, i można ją uzyskać z adresu URL arkusza kalkulacyjnego. Identyfikatory arkuszy są stałe, nawet jeśli nazwa arkusza się zmieni. Przykład znajdziesz w sekcji Identyfikator arkusza kalkulacyjnego.
Komórka
Pojedyncze pole tekstu lub danych w arkuszu. Komórki są ułożone w wierszach i kolumnach i można je grupować w zakresy komórek. Zasób Cells reprezentuje każdą komórkę, ale nie ma unikalnej wartości identyfikatora. Zamiast tego komórki są identyfikowane za pomocą współrzędnych wierszy i kolumn.
Notacja A1
Składnia używana do definiowania komórki lub zakresu komórek za pomocą ciągu znaków, który zawiera nazwę arkusza oraz współrzędne komórki początkowej i końcowej z literami kolumn i numerami wierszy. Ta metoda jest najpopularniejsza i najbardziej przydatna, gdy odwołujesz się do bezwzględnego zakresu komórek.
Sheet1!A1:B2 odnosi się do wszystkich komórek w pierwszych dwóch wierszach i kolumnach arkusza Arkusz1.
Sheet1!A:A odnosi się do wszystkich komórek w pierwszej kolumnie arkusza Arkusz1.
Sheet1!1:2 odnosi się do wszystkich komórek w pierwszych dwóch wierszach arkusza Arkusz1.
Sheet1!A5:A odnosi się do wszystkich komórek w pierwszej kolumnie arkusza 1, od wiersza 5.
A1:B2 odnosi się do wszystkich komórek w pierwszych dwóch wierszach i kolumnach pierwszego widocznego arkusza.
Sheet1 odnosi się do wszystkich komórek w Arkuszu1.
'Jon's_Data'!A1:D5 odnosi się do wszystkich komórek w pierwszych 5 wierszach i 4 kolumnach arkusza o nazwie „Dane_Jona”.
'My Custom Sheet'!A:A odnosi się do wszystkich komórek w pierwszej kolumnie arkusza o nazwie „Mój arkusz niestandardowy”.
'My Custom Sheet' odnosi się do wszystkich komórek w arkuszu „Mój arkusz niestandardowy”.
W przypadku nazw arkuszy zawierających spacje lub znaki specjalne wymagane są cudzysłowy pojedyncze.
Wskazówka: w miarę możliwości używaj w arkuszach kalkulacyjnych różnych nazw obiektów. Na przykład A1 (bez cudzysłowu) odnosi się do komórki A1 w pierwszym widocznym arkuszu. 'A1' odnosi się do arkusza o nazwie A1. Podobnie Arkusz1 odnosi się do arkusza o nazwie Arkusz1. Jeśli jednak istnieje nazwany zakres o nazwie „Arkusz1”, to Arkusz1 odnosi się do nazwanego zakresu, a 'Sheet1' odnosi się do arkusza.
Notacja R1C1
Składnia używana do definiowania komórki lub zakresu komórek za pomocą ciągu znaków, który zawiera nazwę arkusza oraz współrzędne komórki początkowej i końcowej z numerami wierszy i kolumn. Ta metoda jest mniej popularna niż notacja A1, ale może być przydatna, gdy odwołujesz się do zakresu komórek względem pozycji danej komórki.
Sheet1!R1C1:R2C2 odnosi się do pierwszych dwóch komórek w dwóch górnych wierszach arkusza Arkusz1.
R1C1:R2C2 odnosi się do pierwszych dwóch komórek w pierwszych dwóch wierszach pierwszego widocznego arkusza.
Sheet1!R[3]C[1] odnosi się do komórki, która znajduje się 3 wiersze poniżej i 1 kolumnę na prawo od bieżącej komórki.
Zakres nazwany
Zdefiniowana komórka lub zakres komórek z niestandardową nazwą, która ułatwia odwoływanie się do nich w aplikacji. Zasób A FilterView reprezentuje nazwany zakres.
Zakres chroniony
Zdefiniowana komórka lub zakres komórek, których nie można modyfikować. Zasób A ProtectedRange reprezentuje zakres chroniony.
Powiązane artykuły
Więcej informacji o tworzeniu aplikacji z wykorzystaniem interfejsów Google Workspace API, w tym o obsłudze uwierzytelniania i autoryzacji, znajdziesz w artykule Tworzenie aplikacji w Google Workspace.
Aby dowiedzieć się, jak skonfigurować i uruchomić aplikację interfejsu Google Sheets API, wypróbuj szybki start w JavaScript.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-08-04 UTC."],[],[],null,["The Google Sheets API is a RESTful interface that lets you read and modify a\nspreadsheet's data. The Sheets API lets you:\n\n- Create spreadsheets\n- Read and write spreadsheet cell values\n- Update spreadsheet formatting\n- Manage Connected Sheets\n\nThe following is a list of common terms used in the Sheets API:\n\n*Spreadsheet*\n\n: The primary object in Google Sheets. It can contain multiple `Sheets`, each\n with structured information contained in `Cells`. The\n [`spreadsheets`](/workspace/sheets/api/reference/rest/v4/spreadsheets)\n resource represents a spreadsheet. It contains a unique `spreadsheetId`\n value.\n\n *Spreadsheet ID*\n : The unique identifier for a spreadsheet. It's a particular string\n containing letters, numbers, and some special characters that reference a\n spreadsheet and it can be derived from the spreadsheet's URL. Spreadsheet\n IDs are stable, even if the spreadsheet name changes. \n\n https://docs.google.com/spreadsheets/d/\u003cvar translate=\"no\"\u003eSPREADSHEET_ID\u003c/var\u003e/edit?gid=\u003cvar translate=\"no\"\u003eSHEET_ID\u003c/var\u003e#gid=\u003cvar translate=\"no\"\u003eSHEET_ID\u003c/var\u003e\n\n*Sheet*\n\n: A page or tab within a spreadsheet. The\n [`Sheets`](/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets) resource\n represents a sheet. It contains a unique numeric `sheetId` value and sheet\n `title` as part of the\n [`SheetProperties`](/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#sheetproperties)\n object.\n\n *Sheet ID*\n : The unique identifier for a specific sheet within a spreadsheet. It's a\n particular integer containing numbers that reference a sheet and it can be\n derived from the spreadsheet's URL. Sheet IDs are stable, even if the sheet\n name changes. For an example, see [Spreadsheet ID](#spreadsheet-id).\n\n*Cell*\n\n: An individual field of text or data within a sheet. Cells are arranged in rows\n and columns, and can be grouped as a range of cells. The\n [`Cells`](/workspace/sheets/api/reference/rest/v4/spreadsheets/cells)\n resource represents each cell, but it doesn't have a unique ID value.\n Instead, row and column coordinates identify the cells.\n\n *A1 notation*\n : A syntax used to define a cell or range of cells with a string that\n contains the sheet name plus the starting and ending cell coordinates using\n column letters and row numbers. This method is the most common and useful\n when referencing an absolute range of cells.\n - `Sheet1!A1:B2` refers to all the cells in the first two rows and columns of Sheet1.\n - `Sheet1!A:A` refers to all the cells in the first column of Sheet1.\n - `Sheet1!1:2` refers to all the cells in the first two rows of Sheet1.\n - `Sheet1!A5:A` refers to all the cells of the first column of Sheet 1, from row 5 onward.\n - `A1:B2` refers to all the cells in the first two rows and columns of the first visible sheet.\n - `Sheet1` refers to all the cells in Sheet1.\n - `'Jon's_Data'!A1:D5` refers to all the cells in the first five rows and four columns of a sheet named \"Jon's_Data.\"\n - `'My Custom Sheet'!A:A` refers to all the cells in the first column of a sheet named \"My Custom Sheet.\"\n - `'My Custom Sheet'` refers to all the cells in \"My Custom Sheet\".\n\n Single quotes are required for sheet names with spaces or special characters.\n\n **Tip** : Where possible, use distinct names for objects in your spreadsheets. For example, A1 (without quotes) refers to cell A1 in the first visible sheet. `'A1'` refers to a sheet with the name A1. Similarly, Sheet1 refers to a sheet with the name Sheet1. However, if there's a named range titled \"Sheet1\", then Sheet1 refers to the named range and `'Sheet1'` refers to the sheet.\n\n *R1C1 notation*\n : A syntax used to define a cell or range of cells with a string that\n contains the sheet name plus the starting and ending cell coordinates using\n row numbers and column numbers. This method is less common than A1 notation,\n but can be useful when referencing a range of cells relative to a given\n cell's position.\n - `Sheet1!R1C1:R2C2` refers to the first two cells in the top two rows of Sheet1.\n - `R1C1:R2C2` refers to the first two cells in the top two rows of the first visible sheet.\n - `Sheet1!R[3]C[1]` refers to the cell that is three rows below and one column to the right of the current cell.\n\n *Named range*\n : A defined cell or range of cells with a custom name to simplify references\n throughout an application. A\n [`FilterView`](/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#filterview)\n resource represents a named range.\n\n *Protected range*\n : A defined cell or range of cells that cannot be modified. A\n [`ProtectedRange`](/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#protectedrange)\n resource represents a protected range.\n\nRelated topics\n\n- To learn about developing with Google Workspace APIs, including handling\n authentication and authorization, refer to [Develop on\n Google Workspace](/workspace/guides/get-started).\n\n- To learn how to configure and run a Sheets API app, try the\n [JavaScript quickstart](/workspace/sheets/api/quickstart/js)."]]