Class: Google::Apis::DatabasecenterV1beta::Lineage

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/databasecenter_v1beta/classes.rb,
lib/google/apis/databasecenter_v1beta/representations.rb,
lib/google/apis/databasecenter_v1beta/representations.rb

Overview

lineage information of the affiliated resources This captures source, target and process which created the lineage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Lineage

Returns a new instance of Lineage.



1191
1192
1193
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1191

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

Instance Attribute Details

#process_fqnString

Optional. FQN of process which created the lineage i.e. dataplex, datastream etc. Corresponds to the JSON property processFqn

Returns:

  • (String)


1174
1175
1176
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1174

def process_fqn
  @process_fqn
end

#process_typeString

Optional. Type of process which created the lineage. Corresponds to the JSON property processType

Returns:

  • (String)


1179
1180
1181
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1179

def process_type
  @process_type
end

#source_fqnString

Optional. FQN of source table / column Corresponds to the JSON property sourceFqn

Returns:

  • (String)


1184
1185
1186
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1184

def source_fqn
  @source_fqn
end

#target_fqnString

Optional. FQN of target table / column Corresponds to the JSON property targetFqn

Returns:

  • (String)


1189
1190
1191
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1189

def target_fqn
  @target_fqn
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1196
1197
1198
1199
1200
1201
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1196

def update!(**args)
  @process_fqn = args[:process_fqn] if args.key?(:process_fqn)
  @process_type = args[:process_type] if args.key?(:process_type)
  @source_fqn = args[:source_fqn] if args.key?(:source_fqn)
  @target_fqn = args[:target_fqn] if args.key?(:target_fqn)
end