Google Cloud Dataplex V1 Client - Class EntryLink (1.11.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class EntryLink.

EntryLink represents a link between two Entries.

Generated from protobuf messagegoogle.cloud.dataplex.v1.EntryLink

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Output 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}

↳ entry_link_typestring

Required. 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

↳ create_timeGoogle\Protobuf\Timestamp

Output only. The time when the Entry Link was created.

↳ update_timeGoogle\Protobuf\Timestamp

Output only. The time when the Entry Link was last updated.

↳ entry_referencesarray<EntryLink\EntryReference>

Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.

getName

Output only. Immutable. Identifier. The relative resource name of the EntryLink, of the form:projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}

Returns
TypeDescription
string

setName

Output only. Immutable. Identifier. The relative resource name of the EntryLink, of the form:projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getEntryLinkType

Required. Immutable. Relative resource name of the Entry Link Type used tocreate 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
Returns
TypeDescription
string

setEntryLinkType

Required. Immutable. Relative resource name of the Entry Link Type used tocreate 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
Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getCreateTime

Output only. The time when the Entry Link was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the Entry Link was created.

Parameter
NameDescription
varGoogle\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The time when the Entry Link was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the Entry Link was last updated.

Parameter
NameDescription
varGoogle\Protobuf\Timestamp
Returns
TypeDescription
$this

getEntryReferences

Required. Specifies the Entries referenced in the Entry Link. There shouldbe exactly two entry references.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEntryReferences

Required. Specifies the Entries referenced in the Entry Link. There shouldbe exactly two entry references.

Parameter
NameDescription
vararray<EntryLink\EntryReference>
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-08 UTC.