# Data Lineage V1 API - Class Google::Cloud::DataCatalog::Lineage::V1::LineageEvent (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::LineageEvent.

A lineage event represents an operation on assets. Within the operation, the
data flows from the source to the target defined in the links field.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #end_time

    def end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Protobuf-Timestamp)) --- Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.

### #end_time=

    def end_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Protobuf-Timestamp)) --- Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Protobuf-Timestamp)) --- Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.

### #links

    def links() -> ::Array<::Google::Cloud::DataCatalog::Lineage::V1::EventLink>

**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::Lineage::V1::EventLink](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EventLink)\>) --- Optional. List of source-target pairs. Can't contain more than 100 tuples.

### #links=

    def links=(value) -> ::Array<::Google::Cloud::DataCatalog::Lineage::V1::EventLink>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DataCatalog::Lineage::V1::EventLink](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EventLink)\>) --- Optional. List of source-target pairs. Can't contain more than 100 tuples.
**Returns**

- (::Array\<[::Google::Cloud::DataCatalog::Lineage::V1::EventLink](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Cloud-DataCatalog-Lineage-V1-EventLink)\>) --- Optional. List of source-target pairs. Can't contain more than 100 tuples.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Immutable. The resource name of the lineage event. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. The resource name of the lineage event. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`
**Returns**

- (::String) --- Immutable. The resource name of the lineage event. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`

### #start_time

    def start_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Protobuf-Timestamp)) --- Required. The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.

### #start_time=

    def start_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Protobuf-Timestamp)) --- Required. The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest/Google-Protobuf-Timestamp)) --- Required. The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.