Method: projects.deployments.replaceDeployment

  • 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.

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.