Skip to main content

entry_links

Creates, updates, deletes, gets or lists an entry_links resource.

Overview

Nameentry_links
TypeResource
Idgoogle.dataplex.entry_links

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
createTimestring (google-datetime)Output only. The time when the Entry Link was created.
entryLinkTypestringRequired. Immutable. Relative resource name of the Entry Link Type used to create this Entry Link. For example: Entry link between synonym terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym Entry link between related terms in a glossary: projects/dataplex-types/locations/global/entryLinkTypes/related Entry link between glossary terms and data assets: projects/dataplex-types/locations/global/entryLinkTypes/definition
entryReferencesarrayRequired. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.
updateTimestring (google-datetime)Output only. The time when the Entry Link was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_entry_groups_entry_links_getselectprojectsId, locationsId, entryGroupsId, entryLinksIdGets an Entry Link.
projects_locations_entry_groups_entry_links_createinsertprojectsId, locationsId, entryGroupsIdentryLinkIdCreates an Entry Link.
projects_locations_entry_groups_entry_links_deletedeleteprojectsId, locationsId, entryGroupsId, entryLinksIdDeletes an Entry Link.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
entryGroupsIdstring
entryLinksIdstring
locationsIdstring
projectsIdstring
entryLinkIdstring

SELECT examples

Gets an Entry Link.

SELECT
name,
createTime,
entryLinkType,
entryReferences,
updateTime
FROM google.dataplex.entry_links
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND entryGroupsId = '{{ entryGroupsId }}' -- required
AND entryLinksId = '{{ entryLinksId }}' -- required;

INSERT examples

Creates an Entry Link.

INSERT INTO google.dataplex.entry_links (
data__entryLinkType,
data__entryReferences,
projectsId,
locationsId,
entryGroupsId,
entryLinkId
)
SELECT
'{{ entryLinkType }}',
'{{ entryReferences }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ entryGroupsId }}',
'{{ entryLinkId }}'
RETURNING
name,
createTime,
entryLinkType,
entryReferences,
updateTime
;

DELETE examples

Deletes an Entry Link.

DELETE FROM google.dataplex.entry_links
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND entryGroupsId = '{{ entryGroupsId }}' --required
AND entryLinksId = '{{ entryLinksId }}' --required;