Method: projects.deployments.get
Mendapatkan deployment project Apps Script.
Permintaan HTTP
GET https://script.googleapis.com/v1/projects/{scriptId}/deployments/{deploymentId}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
scriptId |
string
ID Drive project skrip.
|
deploymentId |
string
ID deployment.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance Deployment
.
Cakupan Otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/script.deployments
https://www.googleapis.com/auth/script.deployments.readonly
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-01 UTC.
[null,null,["Terakhir diperbarui pada 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`."]]],[]]