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 OAuth 2.0 Overview.