gcloud design-center spaces create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud design-center spaces create - create a space
- SYNOPSIS
gcloud design-center spaces create(SPACE:--location=LOCATION)[--description=DESCRIPTION][--display-name=DISPLAY_NAME][--enable-gcp-shared-templates][--gcs-bucket=GCS_BUCKET][--tags=[TAGS,…]][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Create a space.
- EXAMPLES
- To create the space
my-spacein projectmy-projectandlocationus-central1, run:gclouddesign-centerspacescreatemy-space--project=my-project--location=us-central1Or run:
gclouddesign-centerspacescreateprojects/my-project/locations/us-central1/spaces/my-spaceTo create the space
my-spacein projectmy-projectandlocationus-central1with display name, description, and enablegoogle templates, run:gclouddesign-centerspacescreatemy-space--project=my-project--location=us-central1--display-name=my-display-name--description=my-description--enable-gcp-shared-templates - POSITIONAL ARGUMENTS
- Space resource - Identifier. The space name. The arguments in this group can beused to specify the attributes of this resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
spaceon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
SPACE- ID of the space or fully qualified identifier for the space.
To set the
spaceattribute:- provide the argument
spaceon 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 space resource.
To set the
locationattribute:- provide the argument
spaceon the command line with a fullyspecified name; - provide the argument
--locationon the command line.
- provide the argument
- provide the argument
- Space resource - Identifier. The space name. The arguments in this group can beused to specify the attributes of this resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.
- FLAGS
--description=DESCRIPTION- Description for the space.
--display-name=DISPLAY_NAME- Display name for the space.
- Arguments for the enable gcp shared templates.
--enable-gcp-shared-templates- Flag to enable Google opinionated shared templates.
--gcs-bucket=GCS_BUCKET- An existing Google Cloud Storage bucket that you want to use instead of creatinga new bucket during ADC setup. If not provided, a default bucket is createdduring setup. The bucket must exist in the same project as the space. If thebucket name does not exist in the same project as the space, the request failswith an INVALID_ARGUMENT error. If you do not have access to the bucket, therequest fails with a PERMISSION_DENIED error. Format: {$bucket_name} Forexample, if the Cloud Storage bucket URI is gs:\/\/{$bucket_name}, the format is{$bucket_name}.
--tags=[TAGS,…]- Tags are key/values bound to space resource. Example:
"123/environment":"production" "123/costCenter": "marketing". For more information on tagcreation and management, seehttps://cloud.google.com/resource-manager/docs/tags/tags-overview.KEY- Sets
KEYvalue. VALUE- Sets
VALUEvalue.
Shorthand Example:--tags=string=string
JSON Example:--tags='{"string": "string"}'
File Example:--tags=path_to_file.(yaml|json)
- 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/v1API. The full documentationfor this API can be found at:http://cloud.google.com/application-design-center/docs - NOTES
- This variant is also available:
gcloudalphadesign-centerspacescreate
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.