# Data Lineage V1 API - Class Google::Cloud::DataCatalog::Lineage::V1::LineageLink (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.1 0.11.0 0.10.1 0.9.1 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Data Lineage V1 API class Google::Cloud::DataCatalog::Lineage::V1::LineageLink.

Lineage link between two entities.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dependency_info

    def dependency_info() -> ::Array<::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::DependencyInfo>

**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::DependencyInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-LineageLink-DependencyInfo)\>) --- Describes how the target entity is dependent on the source entity.

### #dependency_info=

    def dependency_info=(value) -> ::Array<::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::DependencyInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::DependencyInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-LineageLink-DependencyInfo)\>) --- Describes how the target entity is dependent on the source entity.
**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::DependencyInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-LineageLink-DependencyInfo)\>) --- Describes how the target entity is dependent on the source entity.

### #depth

    def depth() -> ::Integer

**Returns**

- (::Integer) --- Depth of the current link in the graph starting from 1.

### #depth=

    def depth=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Depth of the current link in the graph starting from 1.
**Returns**

- (::Integer) --- Depth of the current link in the graph starting from 1.

### #location

    def location() -> ::String

**Returns**

- (::String) --- The location where the LineageEvent that created the link is stored.

### #location=

    def location=(value) -> ::String

**Parameter**

- **value** (::String) --- The location where the LineageEvent that created the link is stored.
**Returns**

- (::String) --- The location where the LineageEvent that created the link is stored.

### #processes

    def processes() -> ::Array<::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::LineageProcess>

**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::LineageProcess](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-LineageLink-LineageProcess)\>) --- Processes metadata associated with the link.

### #processes=

    def processes=(value) -> ::Array<::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::LineageProcess>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::LineageProcess](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-LineageLink-LineageProcess)\>) --- Processes metadata associated with the link.
**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::Lineage::V1::LineageLink::LineageProcess](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-LineageLink-LineageProcess)\>) --- Processes metadata associated with the link.

### #source

    def source() -> ::Google::Cloud::DataCatalog::Lineage::V1::EntityReference

**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- The entity that is the **source** of this link.

### #source=

    def source=(value) -> ::Google::Cloud::DataCatalog::Lineage::V1::EntityReference

**Parameter**

- **value** ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- The entity that is the **source** of this link.
**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- The entity that is the **source** of this link.

### #target

    def target() -> ::Google::Cloud::DataCatalog::Lineage::V1::EntityReference

**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- The entity that is the **target** of this link.

### #target=

    def target=(value) -> ::Google::Cloud::DataCatalog::Lineage::V1::EntityReference

**Parameter**

- **value** ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- The entity that is the **target** of this link.
**Returns**

- ([::Google::Cloud::DataCatalog::Lineage::V1::EntityReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EntityReference)) --- The entity that is the **target** of this link.