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.



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

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)


189
190
191
# File 'lib/google/apis/datalineage_v1/classes.rb', line 189

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)


195
196
197
# File 'lib/google/apis/datalineage_v1/classes.rb', line 195

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



200
201
202
# File 'lib/google/apis/datalineage_v1/classes.rb', line 200

def source
  @source
end

#start_timeString

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

Returns:

  • (String)


205
206
207
# File 'lib/google/apis/datalineage_v1/classes.rb', line 205

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



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