gcloud alpha design-center spaces catalogs shares create

NAME
gcloud alpha design-center spaces catalogs shares create - create a share
SYNOPSIS
gcloud alpha design-center spaces catalogs shares create (SHARE : --catalog=CATALOG --space=SPACE) --destination-space=DESTINATION_SPACE [--async] [--location=LOCATION] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Create a share in a catalog.
EXAMPLES
To create a share my-share in catalog my-catalog to destination space my-destination-space, in space my-space, project my-project and location us-central1, run:
gcloud alpha design-center spaces catalogs shares create my-share --catalog=my-catalog --space=my-space --project=my-project --location=us-central1 --destination-space=my-destination-space

Or run:

gcloud alpha design-center spaces catalogs shares create projects/my-project/locations/us-central1/spaces/my-space/catalogs/my-catalog/shares/my-share --destination-space=my-destination-space

To create the share my-share in catalog my-catalog to destination space projects/my-descendant-project/locations/us-central1/spaces/my-destination-space present in a descendant management project my-descendant-project, in the space my-space, project my-project and location us-central1, run:

gcloud alpha design-center spaces catalogs shares create my-share --catalog=my-catalog --space=my-space --project=my-project --location=us-central1 --destination-space=projects/my-descendant-project/locations/us-central1/spaces/my-destination-space
POSITIONAL ARGUMENTS
Share resource - Identifier. The share name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/shares/$share 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 share 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 share on the command line with a fully specified name;
  • provide the argument --location on the command line.

This must be specified.

SHARE
ID of the share or fully qualified identifier for the share.

To set the share attribute:

  • provide the argument share on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--catalog=CATALOG
The catalog id of the share resource.

To set the catalog attribute:

  • provide the argument share on the command line with a fully specified name;
  • provide the argument --catalog on the command line.
--space=SPACE
The space id of the share resource.

To set the space attribute:

  • provide the argument share on the command line with a fully specified name;
  • provide the argument --space on the command line.
REQUIRED FLAGS
Space resource - The space resource path to which the catalog is shared. Format is projects/$project/locations/$location/spaces/$space This represents a Cloud 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 --destination-space 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 --destination-space on the command line with a fully specified name;
  • provide the argument --location on the command line.

This must be specified.

--destination-space=DESTINATION_SPACE
ID of the space or fully qualified identifier for the space.

To set the space attribute:

  • provide the argument --destination-space on the command line.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--location=LOCATION
For resources [share, destination-space], provides fallback value for resource location attribute. When the resource's full URI path is not provided, location will fallback to this flag value.
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.