File: //snap/google-cloud-cli/current/help/man/man1/gcloud_workspace-add-ons_deployments_replace.1
.TH "GCLOUD_WORKSPACE\-ADD\-ONS_DEPLOYMENTS_REPLACE" 1
.SH "NAME"
.HP
gcloud workspace\-add\-ons deployments replace \- replace a Google Workspace Add\-ons deployment
.SH "SYNOPSIS"
.HP
\f5gcloud workspace\-add\-ons deployments replace\fR \fIDEPLOYMENT\fR (\fB\-\-deployment\-file\fR=\fIDEPLOYMENT_FILE\fR\ |\ \fB\-\-deployment\-object\fR=\fIDEPLOYMENT_OBJECT\fR) [\fB\-\-etag\fR=\fIETAG\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Replace a Google Workspace Add\-ons deployment
.SH "EXAMPLES"
To replace an deployment called \f5my\-deployment\fR with the deployment file,
run:
.RS 2m
$ gcloud workspace\-add\-ons deployments replace my\-deployment \e
\-\-deployment\-file=my\-deployment.json
.RE
To replace an deployment called \f5my\-deployment\fR with the deployment object,
run:
.RS 2m
$ gcloud workspace\-add\-ons deployments replace my\-deployment \e
\-\-deployment\-object=my\-deployment\-string
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5deployment\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fIDEPLOYMENT\fR
ID of the deployment or fully qualified identifier for the deployment.
To set the \f5deployment\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5deployment\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-deployment\-file\fR=\fIDEPLOYMENT_FILE\fR
path to the deployment file
.TP 2m
\fB\-\-deployment\-object\fR=\fIDEPLOYMENT_OBJECT\fR
json string of the deploymentObject
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-etag\fR=\fIETAG\fR
etag of the deployment file
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "API REFERENCE"
This command uses the \fBgsuiteaddons/v1\fR API. The full documentation for this
API can be found at:
https://developers.google.com/workspace/add\-ons/guides/alternate\-runtimes