Class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse

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

Response message for ProcessOpenLineageRunEvent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse

Returns a new instance of GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse.



516
517
518
# File 'lib/google/apis/datalineage_v1/classes.rb', line 516

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

Instance Attribute Details

#lineage_eventsArray<String>

Created lineage event names. Format: projects/project/locations/location/ processes/process/runs/run/lineageEvents/lineage_event`. Corresponds to the JSON propertylineageEvents`

Returns:

  • (Array<String>)


502
503
504
# File 'lib/google/apis/datalineage_v1/classes.rb', line 502

def lineage_events
  @lineage_events
end

#processString

Created process name. Format: projects/project/locations/location/ processes/process`. Corresponds to the JSON propertyprocess`

Returns:

  • (String)


508
509
510
# File 'lib/google/apis/datalineage_v1/classes.rb', line 508

def process
  @process
end

#runString

Created run name. Format: projects/project/locations/location/processes/ process/runs/run`. Corresponds to the JSON propertyrun`

Returns:

  • (String)


514
515
516
# File 'lib/google/apis/datalineage_v1/classes.rb', line 514

def run
  @run
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



521
522
523
524
525
# File 'lib/google/apis/datalineage_v1/classes.rb', line 521

def update!(**args)
  @lineage_events = args[:lineage_events] if args.key?(:lineage_events)
  @process = args[:process] if args.key?(:process)
  @run = args[:run] if args.key?(:run)
end