Method: projects.deployments.replaceDeployment

Stay organized with collections Save and categorize content based on your preferences.

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 Authorization guide.