Method: projects.deployments.replaceDeployment
Membuat atau mengganti deployment dengan nama yang ditentukan.
Permintaan HTTP
PUT https://gsuiteaddons.googleapis.com/v1/{deployment.name=projects/*/deployments/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
deployment.name |
string
Nama resource deployment. Contoh: projects/123/deployments/my_deployment .
|
Isi permintaan
Isi permintaan memuat instance Deployment
.
Isi respons
Jika berhasil, isi respons memuat instance Deployment
.
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 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"]]