File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_dataplex_entry-links_create.1
.TH "GCLOUD_ALPHA_DATAPLEX_ENTRY\-LINKS_CREATE" 1
.SH "NAME"
.HP
gcloud alpha dataplex entry\-links create \- create a Dataplex Entry Link
.SH "SYNOPSIS"
.HP
\f5gcloud alpha dataplex entry\-links create\fR (\fIENTRY_LINK\fR\ :\ \fB\-\-entry\-group\fR=\fIENTRY_GROUP\fR\ \fB\-\-location\fR=\fILOCATION\fR) \fB\-\-entry\-link\-type\fR=\fIENTRY_LINK_TYPE\fR \fB\-\-entry\-references\fR=\fIENTRY_REFERENCES\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Create a Dataplex Entry Link.
.SH "EXAMPLES"
To create a Dataplex Entry Link, you need to provide the entry link ID, the
entry group, the location, the project, the entry link type, and a path to a
YAML file containing the entry references. The entry references file should
contain a list of dictionaries, each representing an entry reference.
For example, to create an entry link of entry link type
\'projects/655216118709/locations/global/entryLinkTypes/synonym' named
\'my\-entry\-link' using entry references from 'entry_references.yaml', run:
.RS 2m
$ gcloud alpha dataplex entry\-links create my\-entry\-link \e
\-\-entry\-group=my\-entry\-group \-\-location=us\-central1 \e
\-\-project=test\-project \e
\-\-entry\-link\-type=projects/655216118709/locations/global/\e
entryLinkTypes/synonym \e
\-\-entry\-references=path/to/entry_references.yaml
.RE
Example of entry_references.yaml file:.RS 2m
\- name: projects/test\-project/locations/us\-central1/entryGroups/my\-entry\-group/entries/my\-entry\-1
type: SOURCE
path: my_path
\- name: projects/test\-project/locations/us\-central1/entryGroups/my\-entry\-group/entries/my\-entry\-2
type: TARGET
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Entry link resource \- Arguments and flags that define the Dataplex entry link
you want to create. 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_link\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_LINK\fR
ID of the entry link or fully qualified identifier for the entry link.
To set the \f5entry\-link\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5entry_link\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
The name of entry link to use.
To set the \f5entry\-group\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5entry_link\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
The location of the Dataplex resource.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5entry_link\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\-\-entry\-link\-type\fR=\fIENTRY_LINK_TYPE\fR
Required. The type of the entry link. It is a resource name of the
EntryLinkType. Example:
\f5projects/my\-project/locations/global/entryLinkTypes/my\-link\-type\fR
.TP 2m
\fB\-\-entry\-references\fR=\fIENTRY_REFERENCES\fR
Required. Path to a YAML or JSON file containing the entry references. The file
should contain a list of dictionaries, each with "name", "type", and optional
"path" keys. Example: \- name:
projects/test\-project/locations/us\-central1/entryGroups/my\-entry\-group/entries/my\-entry\-1
type: SOURCE path: my_path \- name:
projects/test\-project/locations/us\-central1/entryGroups/my\-entry\-group/entries/my\-entry\-2
type: TARGET
.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.