HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/394/help/man/man1/gcloud_alpha_dataplex_assets_update.1
.TH "GCLOUD_ALPHA_DATAPLEX_ASSETS_UPDATE" 1



.SH "NAME"
.HP
gcloud alpha dataplex assets update \- update a Dataplex asset resource



.SH "SYNOPSIS"
.HP
\f5gcloud alpha dataplex assets update\fR (\fIASSET\fR\ :\ \fB\-\-lake\fR=\fILAKE\fR\ \fB\-\-location\fR=\fILOCATION\fR\ \fB\-\-zone\fR=\fIZONE\fR) [\fB\-\-async\fR] [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR] [\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fB\-\-resource\-read\-access\-mode\fR=\fIRESOURCE_READ_ACCESS_MODE\fR] [\fB\-\-validate\-only\fR] [\fB\-\-[no\-]discovery\-enabled\fR\ \fB\-\-discovery\-exclude\-patterns\fR=[\fIEXCLUDE_PATTERNS\fR,...]\ \fB\-\-discovery\-include\-patterns\fR=[\fIINCLUDE_PATTERNS\fR,...]\ \fB\-\-discovery\-schedule\fR=\fIDISCOVERY_SCHEDULE\fR\ \fB\-\-csv\-delimiter\fR=\fICSV_DELIMITER\fR\ \fB\-\-[no\-]csv\-disable\-type\-inference\fR\ \fB\-\-csv\-encoding\fR=\fICSV_ENCODING\fR\ \fB\-\-csv\-header\-rows\fR=\fICSV_HEADER_ROWS\fR\ \fB\-\-[no\-]json\-disable\-type\-inference\fR\ \fB\-\-json\-encoding\fR=\fIJSON_ENCODING\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(ALPHA)\fR Update a Dataplex asset resource.



.SH "EXAMPLES"

To update a Dataplex asset \f5test\-asset\fR in zone \f5test\-zone\fR in lake
\f5test\-lake\fR in location \f5us\-central1\fR to have the display name
\f5first\-dataplex\-asset\fR and discovery include patterns \f5abc\fR,
\f5def\fR, run:

.RS 2m
$ gcloud alpha dataplex assets update test\-asset \e
    \-\-location=us\-central1 \-\-lake=test\-lake \-\-zone=test\-zone \e
    \-\-display\-name="first\-dataplex\-asset" \e
    \-\-discovery\-include\-patterns=abc,def
.RE



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m

Assets resource \- Arguments and flags that define the Dataplex asset you want
to update. 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 \f5asset\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
\fIASSET\fR

ID of the assets or fully qualified identifier for the assets.

To set the \f5asset\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5asset\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\-\-lake\fR=\fILAKE\fR

The identifier of the Dataplex lake resource.

To set the \f5lake\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5asset\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-lake\fR on the command line.
.RE
.sp

.TP 2m
\fB\-\-location\fR=\fILOCATION\fR

The location of the Dataplex resource.

To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5asset\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

.TP 2m
\fB\-\-zone\fR=\fIZONE\fR

The identifier of the Dataplex zone resource.

To set the \f5zone\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5asset\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-zone\fR on the command line.
.RE
.sp


.RE
.RE
.sp

.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-async\fR

Return immediately, without waiting for the operation in progress to complete.

.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR

Description of the asset

.TP 2m
\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR

Display Name

.TP 2m
\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]

List of label KEY=VALUE pairs to add.

Keys must start with a lowercase character and contain only hyphens (\f5\-\fR),
underscores (\f5_\fR), lowercase characters, and numbers. Values must contain
only hyphens (\f5\-\fR), underscores (\f5_\fR), lowercase characters, and
numbers.

.TP 2m

Specification of the resource that is referenced by this asset.


.RS 2m
.TP 2m
\fB\-\-resource\-read\-access\-mode\fR=\fIRESOURCE_READ_ACCESS_MODE\fR

Read access mode. \fIRESOURCE_READ_ACCESS_MODE\fR must be one of:

.RS 2m
.TP 2m
\fBDIRECT\fR
Data is accessed directly using storage APIs
.TP 2m
\fBMANAGED\fR
Data is accessed through a managed interface using BigQuery APIs.
.RE
.sp


.RE
.sp
.TP 2m
\fB\-\-validate\-only\fR

Validate the update action, but don't actually perform it.

.TP 2m

Settings to manage the metadata discovery and publishing.


.RS 2m
.TP 2m
\fB\-\-[no\-]discovery\-enabled\fR

Whether discovery is enabled. Use \fB\-\-discovery\-enabled\fR to enable and
\fB\-\-no\-discovery\-enabled\fR to disable.

.TP 2m
\fB\-\-discovery\-exclude\-patterns\fR=[\fIEXCLUDE_PATTERNS\fR,...]

The list of patterns to apply for selecting data to exclude during discovery.
For Cloud Storage bucket assets, these are interpreted as glob patterns used to
match object names. For BigQuery dataset assets, these are interpreted as
patterns to match table names.

.TP 2m
\fB\-\-discovery\-include\-patterns\fR=[\fIINCLUDE_PATTERNS\fR,...]

The list of patterns to apply for selecting data to include during discovery if
only a subset of the data should considered. For Cloud Storage bucket assets,
these are interpreted as glob patterns used to match object names. For BigQuery
dataset assets, these are interpreted as patterns to match table names.

.TP 2m

Determines when discovery jobs are triggered.


.RS 2m
.TP 2m
\fB\-\-discovery\-schedule\fR=\fIDISCOVERY_SCHEDULE\fR

Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery jobs
periodically. Discovery jobs must be scheduled at least 30 minutes apart.

.RE
.sp
.TP 2m

Describe data formats.


.RS 2m
.TP 2m

Describe CSV and similar semi\-structured data formats.


.RS 2m
.TP 2m
\fB\-\-csv\-delimiter\fR=\fICSV_DELIMITER\fR

The delimiter being used to separate values. This defaults to ','.

.TP 2m
\fB\-\-[no\-]csv\-disable\-type\-inference\fR

Whether to disable the inference of data type for CSV data. If true, all columns
will be registered as strings. Use \fB\-\-csv\-disable\-type\-inference\fR to
enable and \fB\-\-no\-csv\-disable\-type\-inference\fR to disable.

.TP 2m
\fB\-\-csv\-encoding\fR=\fICSV_ENCODING\fR

The character encoding of the data. The default is UTF\-8.

.TP 2m
\fB\-\-csv\-header\-rows\fR=\fICSV_HEADER_ROWS\fR

The number of rows to interpret as header rows that should be skipped when
reading data rows.

.RE
.sp
.TP 2m

Describe JSON data format.


.RS 2m
.TP 2m
\fB\-\-[no\-]json\-disable\-type\-inference\fR

Whether to disable the inference of data type for Json data. If true, all
columns will be registered as their primitive types (strings, number or
boolean). Use \fB\-\-json\-disable\-type\-inference\fR to enable and
\fB\-\-no\-json\-disable\-type\-inference\fR to disable.

.TP 2m
\fB\-\-json\-encoding\fR=\fIJSON_ENCODING\fR

The character encoding of the data. The default is UTF\-8.


.RE
.RE
.RE
.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 assets update
.RE