Method: projects.deployments.create
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 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 a deployment with a specified name and configuration using an HTTP POST request."],["Requires `gsuiteaddons.deployments.create` IAM permission and `https://www.googleapis.com/auth/cloud-platform` OAuth scope."],["Utilizes path parameters for project specification and query parameters for deployment ID."],["Request and response bodies contain instances of the `Deployment` resource, allowing configuration and retrieval of deployment details."]]],["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"]]