# Google Cloud Data Catalog Lineage V1 Client - Class LineageEnablement (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 LineageEnablement.

Lineage enablement configuration. Defines configurations for the
ingestion of lineage for the resource and its children.

Generated from protobuf message `google.cloud.datacatalog.lineage.configmanagement.v1.Config.Ingestion.IngestionRule.LineageEnablement`

## Namespace

Google \\ Cloud \\ DataCatalog \\ Lineage \\ ConfigManagement \\ V1 \\ Config \\ Ingestion \\ IngestionRule

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enabled` | `bool` Optional. If true, ingestion of lineage should be enabled. If false, it should be disabled. If unspecified, the system default value is used. |

### getEnabled

Optional. If true, ingestion of lineage should be enabled. If false,
it should be disabled. If unspecified, the system default value is
used.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasEnabled

### clearEnabled

### setEnabled

Optional. If true, ingestion of lineage should be enabled. If false,
it should be disabled. If unspecified, the system default value is
used.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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