gcloud alpha design-center spaces applications deploy

NAME
gcloud alpha design-center spaces applications deploy - deploy an application
SYNOPSIS
gcloud alpha design-center spaces applications deploy(APPLICATION :--location=LOCATION--space=SPACE)[--async][--replace][--service-account=SERVICE_ACCOUNT][--worker-pool=WORKER_POOL][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Deploy an application in a space.
EXAMPLES
To deploy the applicationmy-application in spacemy-space, projectmy-project and locationus-central1, run:
gcloudalphadesign-centerspacesapplicationsdeploymy-application--space=my-space--project=my-project--location=us-central1

Or run:

gcloudalphadesign-centerspacesapplicationsdeployprojects/my-project/locations/us-central1/spaces/my-space/applications/my-application

To deploy the applicationmy-application in spacemy-space, projectmy-project and locationus-central1 and replace the existing deployment, run:

gcloudalphadesign-centerspacesapplicationsdeploymy-application--space=my-space--project=my-project--location=us-central1--replace

To deploy the applicationmy-application in spacemy-space, projectmy-project and locationus-central1 using a worker poolprojects/my-project/locations/us-central1/workerPools/my-worker-pool,run:

gcloudalphadesign-centerspacesapplicationsdeploymy-application--space=my-space--project=my-project--location=us-central1--worker-pool=projects/my-project/locations/us-central1/workerPools/my-worker-pool

To deploy the applicationmy-application in spacemy-space, projectmy-project and locationus-central1 asynchronously, run:

gcloudalphadesign-centerspacesapplicationsdeploymy-application--space=my-space--project=my-project--location=us-central1--async
POSITIONAL ARGUMENTS
Application resource - The application name. Format:projects/$project/locations/$location/spaces/$space/applications/$applicationThe arguments in this group can be used to specify the attributes of thisresource. (NOTE) Some attributes are not given arguments in this group but canbe set in other ways.

To set theproject attribute:

  • provide the argumentapplication on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

APPLICATION
ID of the application or fully qualified identifier for the application.

To set theapplication attribute:

  • provide the argumentapplication on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location id of the application resource.

To set thelocation attribute:

  • provide the argumentapplication on the command line with a fullyspecified name;
  • provide the argument--location on the command line.
--space=SPACE
The space id of the application resource.

To set thespace attribute:

  • provide the argumentapplication on the command line with a fullyspecified name;
  • provide the argument--space on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--replace
Flag to update the existing deployment. If not set or false, deploy will fail ifapplicationstate is in theDEPLOYED state.
--service-account=SERVICE_ACCOUNT
The email address of the service account to use for this deployment.
  • If provided, this service account will be used to execute the deploymentprocess, taking precedence over any service_account specified on the Applicationresource.
  • The caller must have the 'iam.serviceAccounts.actAs' permission on this serviceaccount.
  • If this field is omitted, the system will use the 'service_account' definedwithin the Application resource.
  • We recommend that you provide a service account here or on the Applicationresource. If you don't provide a service account, the deployment will fail.Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
--worker-pool=WORKER_POOL
The user-specified Worker Pool resource in which the Cloud Build job willexecute. Format:projects/{project}/locations/{location}/workerPools/{workerPoolId} If this flagis omitted, the worker pool already defined on the application will be used. Ifno worker pool is defined on the application, the default Cloud Build workerpool is used. The worker pool must exist in the same region as the application.
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 help for details.

API REFERENCE
This command uses thedesigncenter/v1alpha API. The fulldocumentation for this API can be found at:http://cloud.google.com/application-design-center/docs
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gclouddesign-centerspacesapplicationsdeploy

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-18 UTC.