Method: projects.deployments.replaceDeployment
Erstellt oder ersetzt ein Deployment mit dem angegebenen Namen.
HTTP-Anfrage
PUT https://gsuiteaddons.googleapis.com/v1/{deployment.name=projects/*/deployments/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
deployment.name |
string
Der Name der Bereitstellungsressource. Beispiel: projects/123/deployments/my_deployment .
|
Anfragetext
Der Anfragetext enthält eine Instanz von Deployment
.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Deployment
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/cloud-platform
Weitere Informationen finden Sie unter OAuth 2.0 Overview.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-02-27 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-02-27 (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"]]