gcloud alpha dataplex entries remove-aspects

NAME
gcloud alpha dataplex entries remove-aspects - remove aspects from a Dataplex Entry
SYNOPSIS
gcloud alpha dataplex entries remove-aspects(ENTRY :--entry-group=ENTRY_GROUP--location=LOCATION)--keys=[ASPECT_TYPE@PATH,…][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Remove aspects from a Dataplex Entry.
EXAMPLES
To remove all aspects of typetest-project.us-central1.some-aspect-type from the entry, run:
gcloudalphadataplexentriesremove-aspectsentry1--project=test-project--location=us-central1--entry-groupentry-group1--keys='test-project.us-central1.some-aspect-type@*'

To remove all aspects on pathSchema.column1 from the entry, run:

gcloudalphadataplexentriesremove-aspectsentry1--project=test-project--location=us-central1--entry-groupentry-group1--keys='*@Schema.column1'

To remove exact aspectstest-project.us-central1.some-aspect-type@Schema.column1 andtest-project.us-central1.some-aspect-type2@Schema.column2 from theentry, run:

gcloudalphadataplexentriesremove-aspectsentry1--project=test-project--location=us-central1--entry-groupentry-group1--keys=test-project.us-central1.some-aspect-type@Schema.column1,test-project.us-central2.some-aspect-type@Schema.column2
POSITIONAL ARGUMENTS
Entry resource - Arguments and flags that define the Dataplex Entry you want toreference. The arguments in this group can be used to specify the attributes ofthis resource. (NOTE) Some attributes are not given arguments in this group butcan be set in other ways.

To set theproject attribute:

  • provide the argumententry on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

ENTRY
ID of the entry or fully qualified identifier for the entry.

To set theentry attribute:

  • provide the argumententry on the command line.

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

--entry-group=ENTRY_GROUP
Entry group containing Dataplex Entries.To set theentry-group attribute:
  • provide the argumententry on the command line with a fullyspecified name;
  • provide the argument--entry-group on the command line.
--location=LOCATION
Location of the Dataplex resource.To set thelocation attribute:
  • provide the argumententry on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertydataplex/location.
REQUIRED FLAGS
--keys=[ASPECT_TYPE@PATH,…]
List of Aspect keys, identifying Aspects to remove from the entry.

Keys are in the formatASPECT_TYPE@PATH, orjustASPECT_TYPE, if the Aspect is attachedto an entry itself rather than to a specific column defined in the schema.

ASPECT_TYPE is expected to be in a formatPROJECT_ID.LOCATION.ASPECT_TYPE_ID or awildcard*, which targets all aspect types.

PATH can be either empty (which means a'root' path, such that Aspect is attached to the entry itself), point to aspecific column defined in the schema (for example:Schema.some_column) or a wildcard* (target allpaths).

ASPECT_TYPE andPATH cannot be both specified as wildcards*.

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.

NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gclouddataplexentriesremove-aspects

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-05-07 UTC.