- NAME
-
- gcloud alpha design-center spaces infer-connections - infer connections for components in a space
- SYNOPSIS
-
-
gcloud alpha design-center spaces infer-connections
[--async
] [--location
=LOCATION
] [--space
=SPACE
] [--use-gemini
] [--catalog-template-revision-uris
=[CATALOG_TEMPLATE_REVISION_URIS
,…] :--catalog
=CATALOG
--template
=TEMPLATE
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Infers connections for components present in a space. - EXAMPLES
-
To infer connections for space
my-space
in projectmy-project
and locationus-central1
, run:gcloud alpha design-center spaces infer-connections my-space --project=my-project --location=us-central1
To infer connections for space
my-space
in projectmy-project
and locationus-central1
using gemini, run:gcloud alpha design-center spaces infer-connections my-space --project=my-project --location=us-central1 --use-gemini
To infer connections for specific catalog template revisions
rev1
andrev2
in spacemy-space
in projectmy-project
and locationus-central1
, run:gcloud alpha design-center spaces infer-connections my-space --project=my-project --location=us-central1 --catalog-template-revision-uris=projects/my-project/locations/us-central1/spaces/my-space/catalogs/my-catalog/templates/my-template/revisions/rev1,projects/my-project/locations/us-central1/spaces/my-space/catalogs/my-catalog/templates/my-template/revisions/rev2
- FLAGS
-
--async
- Return immediately, without waiting for the operation in progress to complete.
--location
=LOCATION
- For resources [space, catalog-template-revision-uris], provides fallback value for resource location attribute. When the resource's full URI path is not provided, location will fallback to this flag value.
--space
=SPACE
- For resources [space, catalog-template-revision-uris], provides fallback value for resource space attribute. When the resource's full URI path is not provided, space will fallback to this flag value.
--use-gemini
- Whether to use Gemini.
-
Revision resource - A list of Catalog template revisions that you want to infer
connections for. If you don't provide this, the system infers connections for
the latest revisions of all catalog templates in all the catalogs present in the
space. 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
--catalog-template-revision-uris
on the command line with a fully specified name; -
provide the argument
--project
on the command line; -
set the property
core/project
.
To set the
location
attribute:-
provide the argument
--catalog-template-revision-uris
on the command line with a fully specified name; -
provide the argument
--location
on the command line.
To set the
space
attribute:-
provide the argument
--catalog-template-revision-uris
on the command line with a fully specified name; -
provide the argument
--space
on the command line.
--catalog-template-revision-uris
=[CATALOG_TEMPLATE_REVISION_URIS
,…]-
IDs of the revisions or fully qualified identifiers for the revisions.
To set the
revision
attribute:-
provide the argument
--catalog-template-revision-uris
on the command line.
This flag argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--catalog
=CATALOG
-
The catalog id of the revisions resource.
To set the
catalog
attribute:-
provide the argument
--catalog-template-revision-uris
on the command line with a fully specified name; -
provide the argument
--catalog
on the command line.
-
provide the argument
--template
=TEMPLATE
-
The template id of the revisions resource.
To set the
template
attribute:-
provide the argument
--catalog-template-revision-uris
on the command line with a fully specified name; -
provide the argument
--template
on the command line.
-
provide the argument
-
provide the argument
- 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 infer-connections
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-10-21 UTC.