Method: projects.deployments.replaceDeployment
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen adla bir dağıtım oluşturur veya bir dağıtımı değiştirir.
HTTP isteği
PUT https://gsuiteaddons.googleapis.com/v1/{deployment.name=projects/*/deployments/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
deployment.name |
string
Dağıtım kaynağının adı. Örnek: projects/123/deployments/my_deployment .
|
İstek içeriği
İstek metni, Deployment
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, Deployment
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/cloud-platform
Daha fazla bilgi için Yetkilendirme kılavuzuna göz atın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-04-22 UTC.
[null,null,["Son güncelleme tarihi: 2025-04-22 UTC."],[],["This documentation details the process of creating or replacing a deployment via a `PUT` HTTP request to the specified URL. The URL structure is defined using gRPC Transcoding, and the request requires a deployment name as a path parameter (e.g., `projects/123/deployments/my_deployment`). The request body and successful response both utilize the `Deployment` resource. The authorization scope required is `https://www.googleapis.com/auth/cloud-platform`. The documentation also provide a \"Try it!\" section to test the API.\n"],null,[]]