File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_dataplex_entries_remove-aspects.1
.TH "GCLOUD_ALPHA_DATAPLEX_ENTRIES_REMOVE\-ASPECTS" 1
.SH "NAME"
.HP
gcloud alpha dataplex entries remove\-aspects \- remove aspects from a Dataplex Entry
.SH "SYNOPSIS"
.HP
\f5gcloud alpha dataplex entries remove\-aspects\fR (\fIENTRY\fR\ :\ \fB\-\-entry\-group\fR=\fIENTRY_GROUP\fR\ \fB\-\-location\fR=\fILOCATION\fR) \fB\-\-keys\fR=[\fIASPECT_TYPE\fR@\fIPATH\fR,...] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Remove aspects from a Dataplex Entry.
.SH "EXAMPLES"
To remove all aspects of type
\f5test\-project.us\-central1.some\-aspect\-type\fR from the entry, run:
.RS 2m
$ gcloud alpha dataplex entries remove\-aspects entry1 \e
\-\-project=test\-project \-\-location=us\-central1 \e
\-\-entry\-group entry\-group1 \e
\-\-keys='test\-project.us\-central1.some\-aspect\-type@*'
.RE
To remove all aspects on path \f5Schema.column1\fR from the entry, run:
.RS 2m
$ gcloud alpha dataplex entries remove\-aspects entry1 \e
\-\-project=test\-project \-\-location=us\-central1 \e
\-\-entry\-group entry\-group1 \-\-keys='*@Schema.column1'
.RE
To remove exact aspects
\f5test\-project.us\-central1.some\-aspect\-type@Schema.column1\fR and
\f5test\-project.us\-central1.some\-aspect\-type2@Schema.column2\fR from the
entry, run:
.RS 2m
$ gcloud alpha dataplex entries remove\-aspects entry1 \e
\-\-project=test\-project \-\-location=us\-central1 \e
\-\-entry\-group entry\-group1 \e
\-\-keys=test\-project.us\-central1.some\-aspect\-type@Schema.column1,\e
test\-project.us\-central2.some\-aspect\-type@Schema.column2
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Entry resource \- Arguments and flags that define the Dataplex Entry you want to
reference. 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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5entry\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fIENTRY\fR
ID of the entry or fully qualified identifier for the entry.
To set the \f5entry\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5entry\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-entry\-group\fR=\fIENTRY_GROUP\fR
Entry group containing Dataplex Entries.
To set the \f5entry\-group\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5entry\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-entry\-group\fR on the command line.
.RE
.sp
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
Location of the Dataplex resource.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5entry\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(bu" 2m
set the property \f5dataplex/location\fR.
.RE
.sp
.RE
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-keys\fR=[\fIASPECT_TYPE\fR@\fIPATH\fR,...]
List of Aspect keys, identifying Aspects to remove from the entry.
Keys are in the format \f5\fIASPECT_TYPE@PATH\fR\fR, or just
\f5\fIASPECT_TYPE\fR\fR, if the Aspect is attached to an entry itself rather
than to a specific column defined in the schema.
\f5\fIASPECT_TYPE\fR\fR is expected to be in a format
\f5\fIPROJECT_ID.LOCATION.ASPECT_TYPE_ID\fR\fR or a wildcard \f5*\fR, which
targets all aspect types.
\f5\fIPATH\fR\fR can be either empty (which means a 'root' path, such that
Aspect is attached to the entry itself), point to a specific column defined in
the schema (for example: \f5Schema.some_column\fR) or a wildcard \f5*\fR (target
all paths).
\f5\fIASPECT_TYPE\fR\fR and \f5\fIPATH\fR\fR cannot be both specified as
wildcards \f5*\fR.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "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. This variant is also available:
.RS 2m
$ gcloud dataplex entries remove\-aspects
.RE