Method: projects.deployments.replaceDeployment
Belirtilen ada sahip bir dağıtım oluşturur veya mevcut 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 OAuth 2.0 Overview sayfasına bakı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-02-27 UTC.
[null,null,["Son güncelleme tarihi: 2025-02-27 UTC."],[[["Creates or replaces a Google Workspace Add-on deployment with a specific name."],["Utilizes an HTTP PUT request with path parameters to identify the target deployment."],["Requires a request body containing the deployment details and an authorization scope for cloud platform access."],["Returns the updated deployment details in the response body upon successful execution."]]],["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"]]