# Google Cloud Data Catalog Lineage V1 Client - Class DependencyInfo (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.1 1.0.3 0.5.5 0.4.0 0.3.1 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class DependencyInfo.

Dependency info describes how one entity is dependent on another.

Generated from protobuf message `google.cloud.datacatalog.lineage.v1.LineageLink.DependencyInfo`

## Namespace

Google \\ Cloud \\ DataCatalog \\ Lineage \\ V1 \\ LineageLink

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dependency_type` | `int` The type of dependency. |

### getDependencyType

The type of dependency.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DependencyType](https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.DependencyType). |

### setDependencyType

The type of dependency.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DependencyType](https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.DependencyType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |