Method: projects.deployments.replaceDeployment

Creates or replaces a deployment with the specified name.

HTTP request

PUT https://gsuiteaddons.googleapis.com/v1/{deployment.name=projects/*/deployments/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
deployment.name

string

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:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authorization guide.