Class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Link

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogLineageV1Link

Returns a new instance of GoogleCloudDatacatalogLineageV1Link.



215
216
217
# File 'lib/google/apis/datalineage_v1/classes.rb', line 215

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timeString

The end of the last event establishing this link. Corresponds to the JSON property endTime

Returns:

  • (String)


192
193
194
# File 'lib/google/apis/datalineage_v1/classes.rb', line 192

def end_time
  @end_time
end

#nameString

Output only. Immutable. The name of the link. Format: projects/project/ locations/location/links/link`. Corresponds to the JSON propertyname`

Returns:

  • (String)


198
199
200
# File 'lib/google/apis/datalineage_v1/classes.rb', line 198

def name
  @name
end

#sourceGoogle::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference

The soft reference to everything you can attach a lineage event to. Corresponds to the JSON property source



203
204
205
# File 'lib/google/apis/datalineage_v1/classes.rb', line 203

def source
  @source
end

#start_timeString

The start of the first event establishing this link. Corresponds to the JSON property startTime

Returns:

  • (String)


208
209
210
# File 'lib/google/apis/datalineage_v1/classes.rb', line 208

def start_time
  @start_time
end

#targetGoogle::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference

The soft reference to everything you can attach a lineage event to. Corresponds to the JSON property target



213
214
215
# File 'lib/google/apis/datalineage_v1/classes.rb', line 213

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



220
221
222
223
224
225
226
# File 'lib/google/apis/datalineage_v1/classes.rb', line 220

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