gcloud design-center spaces shared-templates list Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud design-center spaces shared-templates list - list shared templates
- SYNOPSIS
gcloud design-center spaces shared-templates list(--google-catalog| [--space=SPACE:--project=PROJECT])[--location=LOCATION][--filter=EXPRESSION][--limit=LIMIT][--page-size=PAGE_SIZE][--sort-by=[FIELD,…]][--uri][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- List shared templates in a given space.
- EXAMPLES
- To list all shared templates in space
my-space, projectmy-projectand locationus-central1, run:gclouddesign-centerspacesshared-templateslist--space=my-space--project=my-project--location=us-central1Or run:
gclouddesign-centerspacesshared-templateslist--space=projects/my-project/locations/us-central1/spaces/my-spaceTo list all shared templates from the Google Catalog in location
us-central1, run:gclouddesign-centerspacesshared-templateslist--google-catalog--location=us-central1To filter and list shared templates that contain a
my-shared-templateprefix in the display name in spacemy-space, projectmy-projectand locationus-central1, run:gclouddesign-centerspacesshared-templateslist--space=my-space--project=my-project--location=us-central1--filter="displayName:my-shared-template*"To list up to 10 shared templates in space
my-space, projectmy-projectand locationus-central1, run:gclouddesign-centerspacesshared-templateslist--space=my-space--project=my-project--location=us-central1--limit=10 - REQUIRED FLAGS
- Space resource - The parent space for which shared templates are listed in thefollowing format: projects/$project/locations/$location/spaces/$space Thefollowing arguments in this group can be used to specify the attributes of thisresource.
Exactly one of these must be specified:
--google-catalog- If provided, lists all shared template from the Google Catalog. This sets theproject to "gcpdesigncenter" and space to "googlespace".
- Or at least one of these can be specified:
- Specify --project and/or --space for custom shared templates.
--space=SPACE- ID of the space or fully qualified identifier for the space.
To set the space attribute:
- provide the argument
--spaceon the command line.
This flag argument must be specified if any of the other arguments in this groupare specified.
- provide the argument
--project=PROJECT- The project id of the space resource.
To set the project attribute:
- provide the argument
--spaceon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
- provide the argument
- Space resource - The parent space for which shared templates are listed in thefollowing format: projects/$project/locations/$location/spaces/$space Thefollowing arguments in this group can be used to specify the attributes of thisresource.
- FLAGS
--location=LOCATION- The location id of the space resource.
To set the location attribute:
- provide the argument
--spaceon the command line with a fullyspecified name; - provide the argument
--locationon the command line.
- provide the argument
- LIST COMMAND FLAGS
--filter=EXPRESSION- Apply a Boolean filter
EXPRESSIONto each resource itemto be listed. If the expression evaluatesTrue, then that item islisted. For more details and examples of filter expressions, run $gcloud topic filters. This flaginteracts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit. --limit=LIMIT- Maximum number of resources to list. The default is
unlimited. Thisflag interacts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit. --page-size=PAGE_SIZE- Some services group resource list output into pages. This flag specifies themaximum number of resources per page. The default is determined by the serviceif it supports paging, otherwise it is
unlimited(no paging).Paging may be applied before or after--filterand--limitdepending on the service. --sort-by=[FIELD,…]- Comma-separated list of resource field key names to sort by. The default orderis ascending. Prefix a field with ``~´´ for descending order on thatfield. This flag interacts with other flags that are applied in this order:
--flatten,--sort-by,--filter,--limit. --uri- Print a list of resource URIs instead of the default output, and change thecommand output to a list of URIs. If this flag is used with
--format, the formatting is applied on this URI list. To displayURIs alongside other keys instead, use theuri()transform.
- 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/v1 API. The full documentation for this APIcan be found at:http://cloud.google.com/application-design-center/docs
- NOTES
- This variant is also available:
gcloudalphadesign-centerspacesshared-templateslist
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 2026-01-27 UTC.