Method: projects.deployments.create
Membuat deployment dengan nama dan konfigurasi yang ditentukan.
Permintaan HTTP
POST https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Nama project tempat deployment akan dibuat. Contoh: projects/my_project .
Otorisasi memerlukan izin IAM berikut pada resource parent yang ditentukan:
gsuiteaddons.deployments.create
|
Parameter kueri
Parameter |
deploymentId |
string
Wajib. ID yang akan digunakan untuk deployment ini. Nama lengkap resource yang dibuat adalah projects/<projectNumber>/deployments/<deploymentId> .
|
Isi permintaan
Isi permintaan memuat instance Deployment
.
Isi respons
Jika berhasil, isi respons memuat instance Deployment
yang baru dibuat.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/cloud-platform
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-15 UTC.
[null,null,["Terakhir diperbarui pada 2025-01-15 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"]]