gcloud alpha design-center spaces applications deploy Stay organized with collections Save and categorize content based on your preferences.
- 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 application
my-applicationin spacemy-space, projectmy-projectand locationus-central1, run:gcloudalphadesign-centerspacesapplicationsdeploymy-application--space=my-space--project=my-project--location=us-central1Or run:
gcloudalphadesign-centerspacesapplicationsdeployprojects/my-project/locations/us-central1/spaces/my-space/applications/my-applicationTo deploy the application
my-applicationin spacemy-space, projectmy-projectand locationus-central1and replace the existing deployment, run:gcloudalphadesign-centerspacesapplicationsdeploymy-application--space=my-space--project=my-project--location=us-central1--replaceTo deploy the application
my-applicationin spacemy-space, projectmy-projectand locationus-central1using 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-poolTo deploy the application
my-applicationin spacemy-space, projectmy-projectand locationus-central1asynchronously, 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 the
projectattribute:- provide the argument
applicationon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
APPLICATION- ID of the application or fully qualified identifier for the application.
To set the
applicationattribute:- provide the argument
applicationon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location id of the application resource.
To set the
locationattribute:- provide the argument
applicationon the command line with a fullyspecified name; - provide the argument
--locationon the command line.
- provide the argument
--space=SPACE- The space id of the application resource.
To set the
spaceattribute:- provide the argument
applicationon the command line with a fullyspecified name; - provide the argument
--spaceon the command line.
- provide the argument
- provide the argument
- 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.
- 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 ifapplication
stateis in theDEPLOYEDstate. --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 helpfor details. - API REFERENCE
- This command uses the
designcenter/v1alphaAPI. 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.