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
โปรดดูข้อมูลเพิ่มเติมที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers 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"]]