Got 5 mins? Help us improve Add-ons documentation by taking a quick online study.

Method: projects.deployments.replaceDeployment

Creates or replaces a deployment with the specified name.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The deployment resource name. Example: projects/123/deployments/my_deployment.

Request body

The request body contains an instance of Deployment.

Response body

If successful, the response body contains an instance of Deployment.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the OAuth 2.0 Overview.