Method: projects.deployments.get
รับการติดตั้งใช้งานโปรเจ็กต์ Apps Script
คำขอ HTTP
GET https://script.googleapis.com/v1/projects/{scriptId}/deployments/{deploymentId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
scriptId |
string
รหัสไดรฟ์ของโครงการสคริปต์
|
deploymentId |
string
รหัสการทำให้ใช้งานได้
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Deployment
ขอบเขตการให้สิทธิ์
ต้องมีขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/script.deployments
https://www.googleapis.com/auth/script.deployments.readonly
ดูข้อมูลเพิ่มเติมได้ที่ภาพรวมของ OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-12-01 UTC
[null,null,["อัปเดตล่าสุด 2023-12-01 UTC"],[[["Retrieves a specific deployment of an Apps Script project using its project ID and deployment ID."],["Requires an empty request body and returns a `Deployment` object upon success."],["Needs authorization with either `https://www.googleapis.com/auth/script.deployments` or `https://www.googleapis.com/auth/script.deployments.readonly` scope."],["Uses an HTTP GET request with path parameters for `scriptId` and `deploymentId`."]]],[]]