Method: spreadsheets.create
Создает электронную таблицу, возвращая вновь созданную электронную таблицу.
HTTP-запрос
POST https://sheets.googleapis.com/v4/spreadsheets
URL-адрес использует синтаксис транскодирования gRPC .
Тело запроса
Тело запроса содержит экземпляр Spreadsheet
.
Тело ответа
В случае успеха тело ответа содержит вновь созданный экземпляр Spreadsheet
.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/drive
-
https://www.googleapis.com/auth/drive.file
-
https://www.googleapis.com/auth/spreadsheets
Дополнительную информацию см. в руководстве по авторизации .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-09-05 UTC.
[null,null,["Последнее обновление: 2024-09-05 UTC."],[[["Creates a new Google Spreadsheet using the provided data."],["Sends an HTTP POST request to `https://sheets.googleapis.com/v4/spreadsheets`."],["Requires authorization with specific OAuth scopes like `https://www.googleapis.com/auth/spreadsheets` or similar."],["Returns the newly created spreadsheet data in the response."]]],["A `POST` request is sent to `https://sheets.googleapis.com/v4/spreadsheets` to create a new spreadsheet. The request body must contain a `Spreadsheet` instance. Upon success, the response body returns the newly created `Spreadsheet` instance. This action requires one of the following OAuth scopes for authorization: `drive`, `drive.file`, or `spreadsheets`. The URL follows gRPC Transcoding syntax.\n"]]