Reference documentation and code samples for the Google Cloud Dataplex V1 Client class EntryLink.
EntryLink represents a link between two Entries.
Generated from protobuf message google.cloud.dataplex.v1.EntryLink
Namespace
Google \ Cloud \ Dataplex \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. Immutable. Identifier. The relative resource name of the Entry Link, of the form: |
↳ entry_link_type |
string
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: |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The time when the Entry Link was created. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The time when the Entry Link was last updated. |
↳ entry_references |
array<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 Entry
Link, of the form:
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
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}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntryLinkType
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
| Returns | |
|---|---|
| Type | Description |
string |
|
setEntryLinkType
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
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The time when the Entry Link was created.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the Entry Link was created.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The time when the Entry Link was last updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the Entry Link was last updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntryReferences
Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setEntryReferences
Required. Specifies the Entries referenced in the Entry Link. There should be exactly two entry references.
| Parameter | |
|---|---|
| Name | Description |
var |
array<EntryLink\EntryReference>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|