Class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Link
- Inherits:
-
Object
- Object
- Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Link
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalineage_v1/classes.rb,
lib/google/apis/datalineage_v1/representations.rb,
lib/google/apis/datalineage_v1/representations.rb
Overview
Links represent the data flow between source (upstream) and target ( downstream) assets in transformation pipelines. Links are created when LineageEvents record data transformation between related assets.
Instance Attribute Summary collapse
-
#end_time ⇒ String
The end of the last event establishing this link.
-
#name ⇒ String
Output only.
-
#source ⇒ Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference
The soft reference to everything you can attach a lineage event to.
-
#start_time ⇒ String
The start of the first event establishing this link.
-
#target ⇒ Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference
The soft reference to everything you can attach a lineage event to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogLineageV1Link
constructor
A new instance of GoogleCloudDatacatalogLineageV1Link.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogLineageV1Link
Returns a new instance of GoogleCloudDatacatalogLineageV1Link.
212 213 214 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The end of the last event establishing this link.
Corresponds to the JSON property endTime
189 190 191 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 189 def end_time @end_time end |
#name ⇒ String
Output only. Immutable. The name of the link. Format: projects/
project/
locations/
location/links/
link`.
Corresponds to the JSON property
name`
195 196 197 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 195 def name @name end |
#source ⇒ Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference
The soft reference to everything you can attach a lineage event to.
Corresponds to the JSON property source
200 201 202 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 200 def source @source end |
#start_time ⇒ String
The start of the first event establishing this link.
Corresponds to the JSON property startTime
205 206 207 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 205 def start_time @start_time end |
#target ⇒ Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference
The soft reference to everything you can attach a lineage event to.
Corresponds to the JSON property target
210 211 212 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 210 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
217 218 219 220 221 222 223 |
# File 'lib/google/apis/datalineage_v1/classes.rb', line 217 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @name = args[:name] if args.key?(:name) @source = args[:source] if args.key?(:source) @start_time = args[:start_time] if args.key?(:start_time) @target = args[:target] if args.key?(:target) end |