- NAME
-
- gcloud workspace-add-ons deployments replace - replace a Google Workspace Add-ons deployment
- SYNOPSIS
-
-
gcloud workspace-add-ons deployments replaceDEPLOYMENT(--deployment-file=DEPLOYMENT_FILE|--deployment-object=DEPLOYMENT_OBJECT) [--etag=ETAG] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Replace a Google Workspace Add-ons deployment
- EXAMPLES
- To replace an deployment called
my-deploymentwith the deployment file, run:gcloud workspace-add-ons deployments replace my-deployment --deployment-file = my-deployment.jsonTo replace an deployment called
my-deploymentwith the deployment object, run:gcloud workspace-add-ons deployments replace my-deployment --deployment-object = my-deployment-string - POSITIONAL ARGUMENTS
-
- Deployment resource - Google Workspace Add-ons deployment to replace This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
To set the
projectattribute:- provide the argument
deploymenton the command line with a fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
-
DEPLOYMENT - ID of the deployment or fully qualified identifier for the deployment.
To set the
deploymentattribute:- provide the argument
deploymenton the command line.
- provide the argument
- provide the argument
- Deployment resource - Google Workspace Add-ons deployment to replace This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
- REQUIRED FLAGS
-
- Exactly one of these must be specified:
-
--deployment-file=DEPLOYMENT_FILE - path to the deployment file
-
--deployment-object=DEPLOYMENT_OBJECT - json string of the deploymentObject
-
- Exactly one of these must be specified:
- OPTIONAL FLAGS
-
-
--etag=ETAG - etag of the deployment file
-
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - API REFERENCE
- This command uses the
gsuiteaddons/v1API. The full documentation for this API can be found at: https://developers.google.com/workspace/add-ons/guides/alternate-runtimes
gcloud workspace-add-ons deployments replace
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

