Koleksiyonlar ile düzeninizi koruyun İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu bölümde, bir komut dosyası projesinin dağıtımlarını oluşturmak, listelemek, okumak, değiştirmek ve silmek için kullanabileceğiniz Apps Komut Dosyası API yöntemlerine genel bir bakış sunulmaktadır.
Sonuçlar: Bir komut dosyası projesi için yeni bir dağıtım oluşturun. Kullanılacak kod sürümünü, manifest dosyasını ve dağıtım açıklamasını belirtirsiniz. Dağıtım yapılandırması ayrıntılarını içeren bir Deployment nesnesi döndürür.
Uyarı: Bir dağıtımın silinmesi, bu dağıtımdan yararlanan tüm eklentilerin, web uygulamalarının veya diğer uygulamaların Apps Komut Dosyası projesine erişimini kaybetmesine neden olur. Bu durum genellikle söz konusu uygulamaların başarısız olmasına yol açar. Öncelikle kendisine bağlı olan uygulamaları güncellemeden bir dağıtımı silmeyin.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-08-04 UTC."],[[["\u003cp\u003eThis section explains how to manage script project deployments using the Apps Script API.\u003c/p\u003e\n"],["\u003cp\u003eYou can create new deployments with specific code versions, manifests, and descriptions.\u003c/p\u003e\n"],["\u003cp\u003eThe API allows listing, reading, updating, and deleting existing deployments for a script project.\u003c/p\u003e\n"],["\u003cp\u003eUpdating a deployment involves modifying its description, version, or manifest.\u003c/p\u003e\n"],["\u003cp\u003eDeleting deployments can cause dependent add-ons or applications to fail, requiring caution.\u003c/p\u003e\n"]]],[],null,["This section provides an overview of the Apps Script API methods you can\nuse to create, list, read, modify, and delete a script project's\n[deployments](/apps-script/concepts/deployments).\n\n| **API method overview** ||\n|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Create a deployment** | [projects.deployments.create](/apps-script/api/reference/rest/v1/projects.deployments/create) **Results** : Create a new deployment for a script project. You specify the code [version](/apps-script/guides/versions), the [manifest](/apps-script/concepts/manifests) file, and deployment description to use. Returns a [`Deployment`](/apps-script/api/reference/rest/v1/projects.deployments#resource-deployment) object, containing the deployment configuration details. |\n| **List a project's deployments** | [projects.deployments.list](/apps-script/api/reference/rest/v1/projects.deployments/list) **Results** : Returns an array of [`Deployment`](/apps-script/api/reference/rest/v1/projects.deployments#resource-deployment) objects, each representing one of the deployments of the script project. |\n| **Read a deployment** | [projects.deployments.get](/apps-script/api/reference/rest/v1/projects.deployments/get) **Results** : Returns a [`Deployment`](/apps-script/api/reference/rest/v1/projects.deployments#resource-deployment) that represents a specific deployment in a specific script project. |\n| **Update a deployment** | [projects.deployments.update](/apps-script/api/reference/rest/v1/projects.deployments/update) **Results** : Changes a deployment's description, code [version](/apps-script/guides/versions), or the [manifest](/apps-script/concepts/manifests) where the deployment is defined. |\n| **Delete a deployment** | [projects.deployments.delete](/apps-script/api/reference/rest/v1/projects.deployments/delete) **Results**: Removes a deployment. **Warning:** Deleting a deployment causes any add-on, web app, or other application that makes use of that deployment to lose access to the Apps Script project, usually causing them to fail. Do not delete a deployment without first updating any apps that depend on it. |"]]