Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Method: projects.deployments.create
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen ada ve yapılandırmayla bir dağıtım oluşturur.
HTTP isteği
POST https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
| Parametreler |
parent |
string
Zorunlu. Dağıtımın oluşturulacağı projenin adı. Örnek: projects/my_project.
Yetkilendirme, belirtilen kaynak parent için aşağıdaki IAM iznini gerektirir:
gsuiteaddons.deployments.create
|
Sorgu parametreleri
| Parametreler |
deploymentId |
string
Zorunlu. Bu dağıtım için kullanılacak kimlik. Oluşturulan kaynağın tam adı projects/<projectNumber>/deployments/<deploymentId> olur.
|
İstek içeriği
İstek metni, Deployment öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt metni, yeni oluşturulmuş bir Deployment örneği 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 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: 2026-02-02 UTC.
[null,null,["Son güncelleme tarihi: 2026-02-02 UTC."],[],["This outlines creating a deployment using a POST request to `https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments`. It requires a `parent` path parameter specifying the project and a `deploymentId` query parameter. The request body defines the deployment's configuration, and a successful response returns a newly created deployment instance. Authorization requires the `gsuiteaddons.deployments.create` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope.\n"]]