- 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-application
in spacemy-space
, projectmy-project
and locationus-central1
, run:gcloud alpha design-center spaces applications deploy my-application --space=my-space --project=my-project --location=us-central1
Or run:
gcloud alpha design-center spaces applications deploy projects/my-project/locations/us-central1/spaces/my-space/applications/my-application
To deploy the application
my-application
in spacemy-space
, projectmy-project
and locationus-central1
and replace the existing deployment, run:gcloud alpha design-center spaces applications deploy my-application --space=my-space --project=my-project --location=us-central1 --replace
To deploy the application
my-application
in spacemy-space
, projectmy-project
and locationus-central1
using a worker poolprojects/my-project/locations/us-central1/workerPools/my-worker-pool
, run:gcloud alpha design-center spaces applications deploy my-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 application
my-application
in spacemy-space
, projectmy-project
and locationus-central1
asynchronously, run:gcloud alpha design-center spaces applications deploy my-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/$application
The arguments in this group can be used to specify the attributes of this
resource. (NOTE) Some attributes are not given arguments in this group but can
be set in other ways.
To set the
project
attribute:-
provide the argument
application
on the command line with a fully specified name; -
provide the argument
--project
on 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
application
attribute:-
provide the argument
application
on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location
=LOCATION
-
The location id of the application resource.
To set the
location
attribute:-
provide the argument
application
on the command line with a fully specified name; -
provide the argument
--location
on the command line.
-
provide the argument
--space
=SPACE
-
The space id of the application resource.
To set the
space
attribute:-
provide the argument
application
on the command line with a fully specified name; -
provide the argument
--space
on the command line.
-
provide the argument
-
provide the argument
-
Application resource - The application name. Format:
projects/$project/locations/$location/spaces/$space/applications/$application
The arguments in this group can be used to specify the attributes of this
resource. (NOTE) Some attributes are not given arguments in this group but can
be 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 if
application
state
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 deployment process, taking precedence over any service_account specified on the Application resource.
- The caller must have the 'iam.serviceAccounts.actAs' permission on this service account.
- If this field is omitted, the system will use the 'service_account' defined within the Application resource.
- We recommend that you provide a service account here or on the Application resource. 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 will execute, in the following format: projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and application resource ref provided has worker_pool defined, that worker pool is used.
- 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 the
designcenter/v1alpha
API. The full documentation 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 this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
gcloud alpha design-center spaces applications deploy
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 2025-09-16 UTC.