Method: projects.deployments.replaceDeployment
لإنشاء عملية نشر أو استبدالها بالاسم المحدّد
طلب HTTP
PUT https://gsuiteaddons.googleapis.com/v1/{deployment.name=projects/*/deployments/*}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
deployment.name |
string
اسم مورد النشر مثال: projects/123/deployments/my_deployment
|
نص الطلب
يحتوي نص الطلب على مثال Deployment
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال Deployment
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/cloud-platform
لمزيد من المعلومات، يُرجى الاطّلاع على OAuth 2.0 Overview.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-01-15 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-01-15 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]