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/current/help/man/man1/gcloud_dataplex_content_create.1
.TH "GCLOUD_DATAPLEX_CONTENT_CREATE" 1



.SH "NAME"
.HP
gcloud dataplex content create \- creating a content



.SH "SYNOPSIS"
.HP
\f5gcloud dataplex content create\fR \fB\-\-data\-text\fR=\fIDATA_TEXT\fR \fB\-\-path\fR=\fIPATH\fR (\fB\-\-kernel\-type\fR=\fIKERNEL_TYPE\fR\ |\ \fB\-\-query\-engine\fR=\fIQUERY_ENGINE\fR) (\fB\-\-lake\fR=\fILAKE\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR) [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fB\-\-validate\-only\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

Creating a content.



.SH "EXAMPLES"

To create a Dataplex content \f5test\-content\fR of type notebook within lake
\f5test\-lake\fR in location \f5us\-central1\fR.

.RS 2m
$ gcloud dataplex content create \-\-project=test\-project \e
     \-\-location=us\-central1 \-\-lake=test\-lake \-\-kernel\-type=PYTHON3 \e
     \-\-data\-text='' \-\-path='test\-content'
.RE



.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m
\fB\-\-data\-text\fR=\fIDATA_TEXT\fR

Content data in string format

.TP 2m
\fB\-\-path\fR=\fIPATH\fR

The path for the Content file, represented as directory structure

.TP 2m

Sql script or notebook related configurations.

Exactly one of these must be specified:


.RS 2m
.TP 2m

Notebook related configurations.


.RS 2m
.TP 2m
\fB\-\-kernel\-type\fR=\fIKERNEL_TYPE\fR

Kernel Type of the notebook. \fIKERNEL_TYPE\fR must be (only one value is
supported):

.RS 2m
.TP 2m
\fBPYTHON3\fR
python3
.RE
.sp


.RE
.sp
.TP 2m

Sql script related configurations.


.RS 2m
.TP 2m
\fB\-\-query\-engine\fR=\fIQUERY_ENGINE\fR

Query Engine to be used for the Sql Query. \fIQUERY_ENGINE\fR must be (only one
value is supported):

.RS 2m
.TP 2m
\fBSPARK\fR
spark
.RE
.sp


.RE
.RE
.sp
.TP 2m

Lakes resource \- Arguments and flags that define the Dataplex lake you want to
create a Content to. 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 \f5\-\-lake\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
\fB\-\-lake\fR=\fILAKE\fR

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

To set the \f5lake\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-lake\fR on the command line.
.RE
.sp

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

.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 \f5\-\-lake\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 "OPTIONAL FLAGS"

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

Description of the Content

.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
\fB\-\-validate\-only\fR

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


.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 variant is also available:

.RS 2m
$ gcloud alpha dataplex content create
.RE