google-apis-datalineage_v1 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/datalineage_v1/classes.rb +382 -7
- data/lib/google/apis/datalineage_v1/gem_version.rb +2 -2
- data/lib/google/apis/datalineage_v1/representations.rb +192 -0
- data/lib/google/apis/datalineage_v1/service.rb +51 -0
- data/lib/google/apis/datalineage_v1.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8309fccc5f85de0d7535444e638fa93b50e7f94a75f9d4443107cd5ba4a24647
|
|
4
|
+
data.tar.gz: c093ad6cf6c36d74fbc6e3af80c60bd254dade4f4c0b21a3fc9ee87199018c40
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4269b71f1b24d9035b6942bf30791f60fe07ef20ff4673109c3cf63b9efd928894b3e644dfd4b615abacfd72a7bf9143898fbb7d68827cd25433918890e66bc9
|
|
7
|
+
data.tar.gz: c4395233caf619cb07627839d7366a3c652481f5e847862dc1a2353eef2a3b43e5200bbb49603d6cdffa0ce7df892409078d1936c9dc8177bccaaa249a6fbd46
|
data/CHANGELOG.md
CHANGED
|
@@ -165,16 +165,16 @@ module Google
|
|
|
165
165
|
# @return [Array<String>]
|
|
166
166
|
attr_accessor :links
|
|
167
167
|
|
|
168
|
-
# The maximum number of processes to return in a single page of the
|
|
169
|
-
# page may contain fewer results than this value.
|
|
168
|
+
# Optional. The maximum number of processes to return in a single page of the
|
|
169
|
+
# response. A page may contain fewer results than this value.
|
|
170
170
|
# Corresponds to the JSON property `pageSize`
|
|
171
171
|
# @return [Fixnum]
|
|
172
172
|
attr_accessor :page_size
|
|
173
173
|
|
|
174
|
-
# The page token received from a previous `BatchSearchLinkProcesses`
|
|
175
|
-
# it to get the next page. When requesting subsequent pages of a
|
|
176
|
-
# remember that all parameters must match the values you provided in
|
|
177
|
-
# original request.
|
|
174
|
+
# Optional. The page token received from a previous `BatchSearchLinkProcesses`
|
|
175
|
+
# call. Use it to get the next page. When requesting subsequent pages of a
|
|
176
|
+
# response, remember that all parameters must match the values you provided in
|
|
177
|
+
# the original request.
|
|
178
178
|
# Corresponds to the JSON property `pageToken`
|
|
179
179
|
# @return [String]
|
|
180
180
|
attr_accessor :page_token
|
|
@@ -217,10 +217,39 @@ module Google
|
|
|
217
217
|
end
|
|
218
218
|
end
|
|
219
219
|
|
|
220
|
+
# Dependency info describes how one entity depends on another.
|
|
221
|
+
class GoogleCloudDatacatalogLineageV1DependencyInfo
|
|
222
|
+
include Google::Apis::Core::Hashable
|
|
223
|
+
|
|
224
|
+
# Required. Type of dependency.
|
|
225
|
+
# Corresponds to the JSON property `dependencyType`
|
|
226
|
+
# @return [String]
|
|
227
|
+
attr_accessor :dependency_type
|
|
228
|
+
|
|
229
|
+
def initialize(**args)
|
|
230
|
+
update!(**args)
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
# Update properties of this object
|
|
234
|
+
def update!(**args)
|
|
235
|
+
@dependency_type = args[:dependency_type] if args.key?(:dependency_type)
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
|
|
220
239
|
# The soft reference to everything you can attach a lineage event to.
|
|
221
240
|
class GoogleCloudDatacatalogLineageV1EntityReference
|
|
222
241
|
include Google::Apis::Core::Hashable
|
|
223
242
|
|
|
243
|
+
# Optional. Field path within the entity. Each nesting level should be a
|
|
244
|
+
# separate value in the repeated field. The order matters. Must be empty for
|
|
245
|
+
# asset level lineage For example to address "salary.net" subfield where "salary"
|
|
246
|
+
# is a column and "net" is a proto field two values in the `field` should be
|
|
247
|
+
# reported, the first is "salary" and the second is "net". Each field length is
|
|
248
|
+
# limited to 500 characters. Maximum supported nesting level is 20.
|
|
249
|
+
# Corresponds to the JSON property `field`
|
|
250
|
+
# @return [Array<String>]
|
|
251
|
+
attr_accessor :field
|
|
252
|
+
|
|
224
253
|
# Required. [Fully Qualified Name (FQN)](https://cloud.google.com/dataplex/docs/
|
|
225
254
|
# fully-qualified-names) of the entity.
|
|
226
255
|
# Corresponds to the JSON property `fullyQualifiedName`
|
|
@@ -233,6 +262,7 @@ module Google
|
|
|
233
262
|
|
|
234
263
|
# Update properties of this object
|
|
235
264
|
def update!(**args)
|
|
265
|
+
@field = args[:field] if args.key?(:field)
|
|
236
266
|
@fully_qualified_name = args[:fully_qualified_name] if args.key?(:fully_qualified_name)
|
|
237
267
|
end
|
|
238
268
|
end
|
|
@@ -241,6 +271,11 @@ module Google
|
|
|
241
271
|
class GoogleCloudDatacatalogLineageV1EventLink
|
|
242
272
|
include Google::Apis::Core::Hashable
|
|
243
273
|
|
|
274
|
+
# Dependency info describes how one entity depends on another.
|
|
275
|
+
# Corresponds to the JSON property `dependencyInfo`
|
|
276
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1DependencyInfo]
|
|
277
|
+
attr_accessor :dependency_info
|
|
278
|
+
|
|
244
279
|
# The soft reference to everything you can attach a lineage event to.
|
|
245
280
|
# Corresponds to the JSON property `source`
|
|
246
281
|
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference]
|
|
@@ -257,6 +292,7 @@ module Google
|
|
|
257
292
|
|
|
258
293
|
# Update properties of this object
|
|
259
294
|
def update!(**args)
|
|
295
|
+
@dependency_info = args[:dependency_info] if args.key?(:dependency_info)
|
|
260
296
|
@source = args[:source] if args.key?(:source)
|
|
261
297
|
@target = args[:target] if args.key?(:target)
|
|
262
298
|
end
|
|
@@ -308,12 +344,104 @@ module Google
|
|
|
308
344
|
end
|
|
309
345
|
end
|
|
310
346
|
|
|
347
|
+
# Lineage link between two entities.
|
|
348
|
+
class GoogleCloudDatacatalogLineageV1LineageLink
|
|
349
|
+
include Google::Apis::Core::Hashable
|
|
350
|
+
|
|
351
|
+
# Describes how the target entity is dependent on the source entity.
|
|
352
|
+
# Corresponds to the JSON property `dependencyInfo`
|
|
353
|
+
# @return [Array<Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo>]
|
|
354
|
+
attr_accessor :dependency_info
|
|
355
|
+
|
|
356
|
+
# Depth of the current link in the graph starting from 1.
|
|
357
|
+
# Corresponds to the JSON property `depth`
|
|
358
|
+
# @return [Fixnum]
|
|
359
|
+
attr_accessor :depth
|
|
360
|
+
|
|
361
|
+
# The location where the LineageEvent that created the link is stored.
|
|
362
|
+
# Corresponds to the JSON property `location`
|
|
363
|
+
# @return [String]
|
|
364
|
+
attr_accessor :location
|
|
365
|
+
|
|
366
|
+
# Processes metadata associated with the link.
|
|
367
|
+
# Corresponds to the JSON property `processes`
|
|
368
|
+
# @return [Array<Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess>]
|
|
369
|
+
attr_accessor :processes
|
|
370
|
+
|
|
371
|
+
# The soft reference to everything you can attach a lineage event to.
|
|
372
|
+
# Corresponds to the JSON property `source`
|
|
373
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference]
|
|
374
|
+
attr_accessor :source
|
|
375
|
+
|
|
376
|
+
# The soft reference to everything you can attach a lineage event to.
|
|
377
|
+
# Corresponds to the JSON property `target`
|
|
378
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference]
|
|
379
|
+
attr_accessor :target
|
|
380
|
+
|
|
381
|
+
def initialize(**args)
|
|
382
|
+
update!(**args)
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# Update properties of this object
|
|
386
|
+
def update!(**args)
|
|
387
|
+
@dependency_info = args[:dependency_info] if args.key?(:dependency_info)
|
|
388
|
+
@depth = args[:depth] if args.key?(:depth)
|
|
389
|
+
@location = args[:location] if args.key?(:location)
|
|
390
|
+
@processes = args[:processes] if args.key?(:processes)
|
|
391
|
+
@source = args[:source] if args.key?(:source)
|
|
392
|
+
@target = args[:target] if args.key?(:target)
|
|
393
|
+
end
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
# Dependency info describes how one entity is dependent on another.
|
|
397
|
+
class GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo
|
|
398
|
+
include Google::Apis::Core::Hashable
|
|
399
|
+
|
|
400
|
+
# The type of dependency.
|
|
401
|
+
# Corresponds to the JSON property `dependencyType`
|
|
402
|
+
# @return [String]
|
|
403
|
+
attr_accessor :dependency_type
|
|
404
|
+
|
|
405
|
+
def initialize(**args)
|
|
406
|
+
update!(**args)
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
# Update properties of this object
|
|
410
|
+
def update!(**args)
|
|
411
|
+
@dependency_type = args[:dependency_type] if args.key?(:dependency_type)
|
|
412
|
+
end
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
# Process metadata for the link.
|
|
416
|
+
class GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess
|
|
417
|
+
include Google::Apis::Core::Hashable
|
|
418
|
+
|
|
419
|
+
# A process is the definition of a data transformation operation.
|
|
420
|
+
# Corresponds to the JSON property `process`
|
|
421
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Process]
|
|
422
|
+
attr_accessor :process
|
|
423
|
+
|
|
424
|
+
def initialize(**args)
|
|
425
|
+
update!(**args)
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
# Update properties of this object
|
|
429
|
+
def update!(**args)
|
|
430
|
+
@process = args[:process] if args.key?(:process)
|
|
431
|
+
end
|
|
432
|
+
end
|
|
433
|
+
|
|
311
434
|
# Links represent the data flow between **source** (upstream) and **target** (
|
|
312
435
|
# downstream) assets in transformation pipelines. Links are created when
|
|
313
436
|
# LineageEvents record data transformation between related assets.
|
|
314
437
|
class GoogleCloudDatacatalogLineageV1Link
|
|
315
438
|
include Google::Apis::Core::Hashable
|
|
316
439
|
|
|
440
|
+
# Optional. The dependency info of the link (applies only to column level links).
|
|
441
|
+
# Corresponds to the JSON property `dependencyInfo`
|
|
442
|
+
# @return [Array<Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LinkDependencyInfo>]
|
|
443
|
+
attr_accessor :dependency_info
|
|
444
|
+
|
|
317
445
|
# The end of the last event establishing this link.
|
|
318
446
|
# Corresponds to the JSON property `endTime`
|
|
319
447
|
# @return [String]
|
|
@@ -346,6 +474,7 @@ module Google
|
|
|
346
474
|
|
|
347
475
|
# Update properties of this object
|
|
348
476
|
def update!(**args)
|
|
477
|
+
@dependency_info = args[:dependency_info] if args.key?(:dependency_info)
|
|
349
478
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
350
479
|
@name = args[:name] if args.key?(:name)
|
|
351
480
|
@source = args[:source] if args.key?(:source)
|
|
@@ -354,6 +483,25 @@ module Google
|
|
|
354
483
|
end
|
|
355
484
|
end
|
|
356
485
|
|
|
486
|
+
# Dependency info describes how one entity depends on another.
|
|
487
|
+
class GoogleCloudDatacatalogLineageV1LinkDependencyInfo
|
|
488
|
+
include Google::Apis::Core::Hashable
|
|
489
|
+
|
|
490
|
+
# The type of dependency.
|
|
491
|
+
# Corresponds to the JSON property `dependencyType`
|
|
492
|
+
# @return [String]
|
|
493
|
+
attr_accessor :dependency_type
|
|
494
|
+
|
|
495
|
+
def initialize(**args)
|
|
496
|
+
update!(**args)
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
# Update properties of this object
|
|
500
|
+
def update!(**args)
|
|
501
|
+
@dependency_type = args[:dependency_type] if args.key?(:dependency_type)
|
|
502
|
+
end
|
|
503
|
+
end
|
|
504
|
+
|
|
357
505
|
# Response message for ListLineageEvents.
|
|
358
506
|
class GoogleCloudDatacatalogLineageV1ListLineageEventsResponse
|
|
359
507
|
include Google::Apis::Core::Hashable
|
|
@@ -432,6 +580,26 @@ module Google
|
|
|
432
580
|
end
|
|
433
581
|
end
|
|
434
582
|
|
|
583
|
+
# Multiple entity reference for SearchLinksRequest.
|
|
584
|
+
class GoogleCloudDatacatalogLineageV1MultipleEntityReference
|
|
585
|
+
include Google::Apis::Core::Hashable
|
|
586
|
+
|
|
587
|
+
# Optional. The list of entities to search for links. The maximum number of
|
|
588
|
+
# entities is 20.
|
|
589
|
+
# Corresponds to the JSON property `entities`
|
|
590
|
+
# @return [Array<Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference>]
|
|
591
|
+
attr_accessor :entities
|
|
592
|
+
|
|
593
|
+
def initialize(**args)
|
|
594
|
+
update!(**args)
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
# Update properties of this object
|
|
598
|
+
def update!(**args)
|
|
599
|
+
@entities = args[:entities] if args.key?(:entities)
|
|
600
|
+
end
|
|
601
|
+
end
|
|
602
|
+
|
|
435
603
|
# Metadata describing the operation.
|
|
436
604
|
class GoogleCloudDatacatalogLineageV1OperationMetadata
|
|
437
605
|
include Google::Apis::Core::Hashable
|
|
@@ -668,7 +836,7 @@ module Google
|
|
|
668
836
|
attr_accessor :attributes
|
|
669
837
|
|
|
670
838
|
# Optional. A human-readable name you can set to display in a user interface.
|
|
671
|
-
# Must be not longer than
|
|
839
|
+
# Must be not longer than 200 characters and only contain UTF-8 letters or
|
|
672
840
|
# numbers, spaces or characters like `_-:&.`
|
|
673
841
|
# Corresponds to the JSON property `displayName`
|
|
674
842
|
# @return [String]
|
|
@@ -712,6 +880,171 @@ module Google
|
|
|
712
880
|
end
|
|
713
881
|
end
|
|
714
882
|
|
|
883
|
+
# Request message for SearchLineageStreaming.
|
|
884
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest
|
|
885
|
+
include Google::Apis::Core::Hashable
|
|
886
|
+
|
|
887
|
+
# Required. Direction of the search.
|
|
888
|
+
# Corresponds to the JSON property `direction`
|
|
889
|
+
# @return [String]
|
|
890
|
+
attr_accessor :direction
|
|
891
|
+
|
|
892
|
+
# Filters for the search.
|
|
893
|
+
# Corresponds to the JSON property `filters`
|
|
894
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters]
|
|
895
|
+
attr_accessor :filters
|
|
896
|
+
|
|
897
|
+
# Limits for the search results.
|
|
898
|
+
# Corresponds to the JSON property `limits`
|
|
899
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits]
|
|
900
|
+
attr_accessor :limits
|
|
901
|
+
|
|
902
|
+
# Required. The locations to search in.
|
|
903
|
+
# Corresponds to the JSON property `locations`
|
|
904
|
+
# @return [Array<String>]
|
|
905
|
+
attr_accessor :locations
|
|
906
|
+
|
|
907
|
+
# Criteria for the root of the search.
|
|
908
|
+
# Corresponds to the JSON property `rootCriteria`
|
|
909
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria]
|
|
910
|
+
attr_accessor :root_criteria
|
|
911
|
+
|
|
912
|
+
def initialize(**args)
|
|
913
|
+
update!(**args)
|
|
914
|
+
end
|
|
915
|
+
|
|
916
|
+
# Update properties of this object
|
|
917
|
+
def update!(**args)
|
|
918
|
+
@direction = args[:direction] if args.key?(:direction)
|
|
919
|
+
@filters = args[:filters] if args.key?(:filters)
|
|
920
|
+
@limits = args[:limits] if args.key?(:limits)
|
|
921
|
+
@locations = args[:locations] if args.key?(:locations)
|
|
922
|
+
@root_criteria = args[:root_criteria] if args.key?(:root_criteria)
|
|
923
|
+
end
|
|
924
|
+
end
|
|
925
|
+
|
|
926
|
+
# Criteria for the root of the search.
|
|
927
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria
|
|
928
|
+
include Google::Apis::Core::Hashable
|
|
929
|
+
|
|
930
|
+
# Multiple entity reference for SearchLinksRequest.
|
|
931
|
+
# Corresponds to the JSON property `entities`
|
|
932
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1MultipleEntityReference]
|
|
933
|
+
attr_accessor :entities
|
|
934
|
+
|
|
935
|
+
def initialize(**args)
|
|
936
|
+
update!(**args)
|
|
937
|
+
end
|
|
938
|
+
|
|
939
|
+
# Update properties of this object
|
|
940
|
+
def update!(**args)
|
|
941
|
+
@entities = args[:entities] if args.key?(:entities)
|
|
942
|
+
end
|
|
943
|
+
end
|
|
944
|
+
|
|
945
|
+
# Filters for the search.
|
|
946
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters
|
|
947
|
+
include Google::Apis::Core::Hashable
|
|
948
|
+
|
|
949
|
+
# Optional. Types of dependencies between entities to retrieve. If unspecified,
|
|
950
|
+
# all dependency types are returned.
|
|
951
|
+
# Corresponds to the JSON property `dependencyTypes`
|
|
952
|
+
# @return [Array<String>]
|
|
953
|
+
attr_accessor :dependency_types
|
|
954
|
+
|
|
955
|
+
# Optional. Entity set restriction. If unspecified, the method returns all
|
|
956
|
+
# entities.
|
|
957
|
+
# Corresponds to the JSON property `entitySet`
|
|
958
|
+
# @return [String]
|
|
959
|
+
attr_accessor :entity_set
|
|
960
|
+
|
|
961
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
|
962
|
+
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
|
963
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
|
964
|
+
# both start and end are unspecified, the interval matches any time.
|
|
965
|
+
# Corresponds to the JSON property `timeRange`
|
|
966
|
+
# @return [Google::Apis::DatalineageV1::GoogleTypeInterval]
|
|
967
|
+
attr_accessor :time_range
|
|
968
|
+
|
|
969
|
+
def initialize(**args)
|
|
970
|
+
update!(**args)
|
|
971
|
+
end
|
|
972
|
+
|
|
973
|
+
# Update properties of this object
|
|
974
|
+
def update!(**args)
|
|
975
|
+
@dependency_types = args[:dependency_types] if args.key?(:dependency_types)
|
|
976
|
+
@entity_set = args[:entity_set] if args.key?(:entity_set)
|
|
977
|
+
@time_range = args[:time_range] if args.key?(:time_range)
|
|
978
|
+
end
|
|
979
|
+
end
|
|
980
|
+
|
|
981
|
+
# Limits for the search results.
|
|
982
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits
|
|
983
|
+
include Google::Apis::Core::Hashable
|
|
984
|
+
|
|
985
|
+
# Optional. The maximum depth of the search. The default value is 5 and maximum
|
|
986
|
+
# value is 100.
|
|
987
|
+
# Corresponds to the JSON property `maxDepth`
|
|
988
|
+
# @return [Fixnum]
|
|
989
|
+
attr_accessor :max_depth
|
|
990
|
+
|
|
991
|
+
# Optional. The maximum number of processes to return per link. The default
|
|
992
|
+
# value is 0 and the maximum value is 100. If this value is non-zero, the
|
|
993
|
+
# response will contain process names for the links. To retrieve full process
|
|
994
|
+
# details in the response, include `links.processes.process` in the [FieldMask](
|
|
995
|
+
# https://developers.google.com/workspace/docs/api/how-tos/field-masks#
|
|
996
|
+
# read_with_a_field_mask).
|
|
997
|
+
# Corresponds to the JSON property `maxProcessPerLink`
|
|
998
|
+
# @return [Fixnum]
|
|
999
|
+
attr_accessor :max_process_per_link
|
|
1000
|
+
|
|
1001
|
+
# Optional. The maximum number of links to return in the response. The default
|
|
1002
|
+
# value is 1_000 and the maximum value is 10_000.
|
|
1003
|
+
# Corresponds to the JSON property `maxResults`
|
|
1004
|
+
# @return [Fixnum]
|
|
1005
|
+
attr_accessor :max_results
|
|
1006
|
+
|
|
1007
|
+
def initialize(**args)
|
|
1008
|
+
update!(**args)
|
|
1009
|
+
end
|
|
1010
|
+
|
|
1011
|
+
# Update properties of this object
|
|
1012
|
+
def update!(**args)
|
|
1013
|
+
@max_depth = args[:max_depth] if args.key?(:max_depth)
|
|
1014
|
+
@max_process_per_link = args[:max_process_per_link] if args.key?(:max_process_per_link)
|
|
1015
|
+
@max_results = args[:max_results] if args.key?(:max_results)
|
|
1016
|
+
end
|
|
1017
|
+
end
|
|
1018
|
+
|
|
1019
|
+
# Response message for SearchLineageStreaming.
|
|
1020
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse
|
|
1021
|
+
include Google::Apis::Core::Hashable
|
|
1022
|
+
|
|
1023
|
+
# Output only. The lineage links that match the search criteria. Can be empty if
|
|
1024
|
+
# no links match.
|
|
1025
|
+
# Corresponds to the JSON property `links`
|
|
1026
|
+
# @return [Array<Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageLink>]
|
|
1027
|
+
attr_accessor :links
|
|
1028
|
+
|
|
1029
|
+
# Unordered list. Unreachable resources. If non-empty, the result set might be
|
|
1030
|
+
# incomplete. Currently, only locations are supported. Format: `projects/[
|
|
1031
|
+
# PROJECT_NUMBER]/locations/[LOCATION]` Example: projects/123456789/locations/us-
|
|
1032
|
+
# east1
|
|
1033
|
+
# Corresponds to the JSON property `unreachable`
|
|
1034
|
+
# @return [Array<String>]
|
|
1035
|
+
attr_accessor :unreachable
|
|
1036
|
+
|
|
1037
|
+
def initialize(**args)
|
|
1038
|
+
update!(**args)
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
# Update properties of this object
|
|
1042
|
+
def update!(**args)
|
|
1043
|
+
@links = args[:links] if args.key?(:links)
|
|
1044
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1045
|
+
end
|
|
1046
|
+
end
|
|
1047
|
+
|
|
715
1048
|
# Request message for SearchLinks.
|
|
716
1049
|
class GoogleCloudDatacatalogLineageV1SearchLinksRequest
|
|
717
1050
|
include Google::Apis::Core::Hashable
|
|
@@ -737,11 +1070,21 @@ module Google
|
|
|
737
1070
|
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference]
|
|
738
1071
|
attr_accessor :source
|
|
739
1072
|
|
|
1073
|
+
# Multiple entity reference for SearchLinksRequest.
|
|
1074
|
+
# Corresponds to the JSON property `sources`
|
|
1075
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1MultipleEntityReference]
|
|
1076
|
+
attr_accessor :sources
|
|
1077
|
+
|
|
740
1078
|
# The soft reference to everything you can attach a lineage event to.
|
|
741
1079
|
# Corresponds to the JSON property `target`
|
|
742
1080
|
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference]
|
|
743
1081
|
attr_accessor :target
|
|
744
1082
|
|
|
1083
|
+
# Multiple entity reference for SearchLinksRequest.
|
|
1084
|
+
# Corresponds to the JSON property `targets`
|
|
1085
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1MultipleEntityReference]
|
|
1086
|
+
attr_accessor :targets
|
|
1087
|
+
|
|
745
1088
|
def initialize(**args)
|
|
746
1089
|
update!(**args)
|
|
747
1090
|
end
|
|
@@ -751,7 +1094,9 @@ module Google
|
|
|
751
1094
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
752
1095
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
753
1096
|
@source = args[:source] if args.key?(:source)
|
|
1097
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
754
1098
|
@target = args[:target] if args.key?(:target)
|
|
1099
|
+
@targets = args[:targets] if args.key?(:targets)
|
|
755
1100
|
end
|
|
756
1101
|
end
|
|
757
1102
|
|
|
@@ -945,6 +1290,36 @@ module Google
|
|
|
945
1290
|
@message = args[:message] if args.key?(:message)
|
|
946
1291
|
end
|
|
947
1292
|
end
|
|
1293
|
+
|
|
1294
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
|
1295
|
+
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
|
1296
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
|
1297
|
+
# both start and end are unspecified, the interval matches any time.
|
|
1298
|
+
class GoogleTypeInterval
|
|
1299
|
+
include Google::Apis::Core::Hashable
|
|
1300
|
+
|
|
1301
|
+
# Optional. Exclusive end of the interval. If specified, a Timestamp matching
|
|
1302
|
+
# this interval will have to be before the end.
|
|
1303
|
+
# Corresponds to the JSON property `endTime`
|
|
1304
|
+
# @return [String]
|
|
1305
|
+
attr_accessor :end_time
|
|
1306
|
+
|
|
1307
|
+
# Optional. Inclusive start of the interval. If specified, a Timestamp matching
|
|
1308
|
+
# this interval will have to be the same or after the start.
|
|
1309
|
+
# Corresponds to the JSON property `startTime`
|
|
1310
|
+
# @return [String]
|
|
1311
|
+
attr_accessor :start_time
|
|
1312
|
+
|
|
1313
|
+
def initialize(**args)
|
|
1314
|
+
update!(**args)
|
|
1315
|
+
end
|
|
1316
|
+
|
|
1317
|
+
# Update properties of this object
|
|
1318
|
+
def update!(**args)
|
|
1319
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1320
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1321
|
+
end
|
|
1322
|
+
end
|
|
948
1323
|
end
|
|
949
1324
|
end
|
|
950
1325
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DatalineageV1
|
|
18
18
|
# Version of the google-apis-datalineage_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.17.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260515"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -64,6 +64,12 @@ module Google
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
class GoogleCloudDatacatalogLineageV1DependencyInfo
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
67
73
|
class GoogleCloudDatacatalogLineageV1EntityReference
|
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
75
|
|
|
@@ -82,12 +88,36 @@ module Google
|
|
|
82
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
89
|
end
|
|
84
90
|
|
|
91
|
+
class GoogleCloudDatacatalogLineageV1LineageLink
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
85
109
|
class GoogleCloudDatacatalogLineageV1Link
|
|
86
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
111
|
|
|
88
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
113
|
end
|
|
90
114
|
|
|
115
|
+
class GoogleCloudDatacatalogLineageV1LinkDependencyInfo
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
91
121
|
class GoogleCloudDatacatalogLineageV1ListLineageEventsResponse
|
|
92
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
123
|
|
|
@@ -106,6 +136,12 @@ module Google
|
|
|
106
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
137
|
end
|
|
108
138
|
|
|
139
|
+
class GoogleCloudDatacatalogLineageV1MultipleEntityReference
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
109
145
|
class GoogleCloudDatacatalogLineageV1OperationMetadata
|
|
110
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
147
|
|
|
@@ -148,6 +184,36 @@ module Google
|
|
|
148
184
|
include Google::Apis::Core::JsonObjectSupport
|
|
149
185
|
end
|
|
150
186
|
|
|
187
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria
|
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
+
|
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
151
217
|
class GoogleCloudDatacatalogLineageV1SearchLinksRequest
|
|
152
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
219
|
|
|
@@ -190,6 +256,12 @@ module Google
|
|
|
190
256
|
include Google::Apis::Core::JsonObjectSupport
|
|
191
257
|
end
|
|
192
258
|
|
|
259
|
+
class GoogleTypeInterval
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
193
265
|
class GoogleCloudDatacatalogLineageConfigmanagementV1Config
|
|
194
266
|
# @private
|
|
195
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -250,9 +322,17 @@ module Google
|
|
|
250
322
|
end
|
|
251
323
|
end
|
|
252
324
|
|
|
325
|
+
class GoogleCloudDatacatalogLineageV1DependencyInfo
|
|
326
|
+
# @private
|
|
327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
328
|
+
property :dependency_type, as: 'dependencyType'
|
|
329
|
+
end
|
|
330
|
+
end
|
|
331
|
+
|
|
253
332
|
class GoogleCloudDatacatalogLineageV1EntityReference
|
|
254
333
|
# @private
|
|
255
334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
335
|
+
collection :field, as: 'field'
|
|
256
336
|
property :fully_qualified_name, as: 'fullyQualifiedName'
|
|
257
337
|
end
|
|
258
338
|
end
|
|
@@ -260,6 +340,8 @@ module Google
|
|
|
260
340
|
class GoogleCloudDatacatalogLineageV1EventLink
|
|
261
341
|
# @private
|
|
262
342
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
343
|
+
property :dependency_info, as: 'dependencyInfo', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1DependencyInfo, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1DependencyInfo::Representation
|
|
344
|
+
|
|
263
345
|
property :source, as: 'source', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
|
|
264
346
|
|
|
265
347
|
property :target, as: 'target', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
|
|
@@ -278,9 +360,42 @@ module Google
|
|
|
278
360
|
end
|
|
279
361
|
end
|
|
280
362
|
|
|
363
|
+
class GoogleCloudDatacatalogLineageV1LineageLink
|
|
364
|
+
# @private
|
|
365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
366
|
+
collection :dependency_info, as: 'dependencyInfo', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo::Representation
|
|
367
|
+
|
|
368
|
+
property :depth, as: 'depth'
|
|
369
|
+
property :location, as: 'location'
|
|
370
|
+
collection :processes, as: 'processes', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess::Representation
|
|
371
|
+
|
|
372
|
+
property :source, as: 'source', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
|
|
373
|
+
|
|
374
|
+
property :target, as: 'target', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
|
|
375
|
+
|
|
376
|
+
end
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
class GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo
|
|
380
|
+
# @private
|
|
381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
382
|
+
property :dependency_type, as: 'dependencyType'
|
|
383
|
+
end
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
class GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess
|
|
387
|
+
# @private
|
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
389
|
+
property :process, as: 'process', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Process, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1Process::Representation
|
|
390
|
+
|
|
391
|
+
end
|
|
392
|
+
end
|
|
393
|
+
|
|
281
394
|
class GoogleCloudDatacatalogLineageV1Link
|
|
282
395
|
# @private
|
|
283
396
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
397
|
+
collection :dependency_info, as: 'dependencyInfo', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LinkDependencyInfo, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LinkDependencyInfo::Representation
|
|
398
|
+
|
|
284
399
|
property :end_time, as: 'endTime'
|
|
285
400
|
property :name, as: 'name'
|
|
286
401
|
property :source, as: 'source', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
|
|
@@ -291,6 +406,13 @@ module Google
|
|
|
291
406
|
end
|
|
292
407
|
end
|
|
293
408
|
|
|
409
|
+
class GoogleCloudDatacatalogLineageV1LinkDependencyInfo
|
|
410
|
+
# @private
|
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
412
|
+
property :dependency_type, as: 'dependencyType'
|
|
413
|
+
end
|
|
414
|
+
end
|
|
415
|
+
|
|
294
416
|
class GoogleCloudDatacatalogLineageV1ListLineageEventsResponse
|
|
295
417
|
# @private
|
|
296
418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -318,6 +440,14 @@ module Google
|
|
|
318
440
|
end
|
|
319
441
|
end
|
|
320
442
|
|
|
443
|
+
class GoogleCloudDatacatalogLineageV1MultipleEntityReference
|
|
444
|
+
# @private
|
|
445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
446
|
+
collection :entities, as: 'entities', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
|
|
447
|
+
|
|
448
|
+
end
|
|
449
|
+
end
|
|
450
|
+
|
|
321
451
|
class GoogleCloudDatacatalogLineageV1OperationMetadata
|
|
322
452
|
# @private
|
|
323
453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -388,6 +518,56 @@ module Google
|
|
|
388
518
|
end
|
|
389
519
|
end
|
|
390
520
|
|
|
521
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest
|
|
522
|
+
# @private
|
|
523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
524
|
+
property :direction, as: 'direction'
|
|
525
|
+
property :filters, as: 'filters', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters::Representation
|
|
526
|
+
|
|
527
|
+
property :limits, as: 'limits', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits::Representation
|
|
528
|
+
|
|
529
|
+
collection :locations, as: 'locations'
|
|
530
|
+
property :root_criteria, as: 'rootCriteria', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria::Representation
|
|
531
|
+
|
|
532
|
+
end
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestRootCriteria
|
|
536
|
+
# @private
|
|
537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
538
|
+
property :entities, as: 'entities', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1MultipleEntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1MultipleEntityReference::Representation
|
|
539
|
+
|
|
540
|
+
end
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters
|
|
544
|
+
# @private
|
|
545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
546
|
+
collection :dependency_types, as: 'dependencyTypes'
|
|
547
|
+
property :entity_set, as: 'entitySet'
|
|
548
|
+
property :time_range, as: 'timeRange', class: Google::Apis::DatalineageV1::GoogleTypeInterval, decorator: Google::Apis::DatalineageV1::GoogleTypeInterval::Representation
|
|
549
|
+
|
|
550
|
+
end
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchLimits
|
|
554
|
+
# @private
|
|
555
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
556
|
+
property :max_depth, as: 'maxDepth'
|
|
557
|
+
property :max_process_per_link, as: 'maxProcessPerLink'
|
|
558
|
+
property :max_results, as: 'maxResults'
|
|
559
|
+
end
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
class GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse
|
|
563
|
+
# @private
|
|
564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
565
|
+
collection :links, as: 'links', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageLink, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1LineageLink::Representation
|
|
566
|
+
|
|
567
|
+
collection :unreachable, as: 'unreachable'
|
|
568
|
+
end
|
|
569
|
+
end
|
|
570
|
+
|
|
391
571
|
class GoogleCloudDatacatalogLineageV1SearchLinksRequest
|
|
392
572
|
# @private
|
|
393
573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -395,8 +575,12 @@ module Google
|
|
|
395
575
|
property :page_token, as: 'pageToken'
|
|
396
576
|
property :source, as: 'source', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
|
|
397
577
|
|
|
578
|
+
property :sources, as: 'sources', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1MultipleEntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1MultipleEntityReference::Representation
|
|
579
|
+
|
|
398
580
|
property :target, as: 'target', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1EntityReference::Representation
|
|
399
581
|
|
|
582
|
+
property :targets, as: 'targets', class: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1MultipleEntityReference, decorator: Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1MultipleEntityReference::Representation
|
|
583
|
+
|
|
400
584
|
end
|
|
401
585
|
end
|
|
402
586
|
|
|
@@ -451,6 +635,14 @@ module Google
|
|
|
451
635
|
property :message, as: 'message'
|
|
452
636
|
end
|
|
453
637
|
end
|
|
638
|
+
|
|
639
|
+
class GoogleTypeInterval
|
|
640
|
+
# @private
|
|
641
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
642
|
+
property :end_time, as: 'endTime'
|
|
643
|
+
property :start_time, as: 'startTime'
|
|
644
|
+
end
|
|
645
|
+
end
|
|
454
646
|
end
|
|
455
647
|
end
|
|
456
648
|
end
|
|
@@ -269,6 +269,57 @@ module Google
|
|
|
269
269
|
execute_or_queue_command(command, &block)
|
|
270
270
|
end
|
|
271
271
|
|
|
272
|
+
# Retrieves a streaming response of lineage links connected to the requested
|
|
273
|
+
# assets by performing a breadth-first search in the given direction. Links
|
|
274
|
+
# represent the data flow between **source** (upstream) and **target** (
|
|
275
|
+
# downstream) assets in transformation pipelines. Links are stored in the same
|
|
276
|
+
# project as the Lineage Events that create them. This method retrieves links
|
|
277
|
+
# from all valid locations provided in the request. This method supports Column-
|
|
278
|
+
# Level Lineage (CLL) along with wildcard support to retrieve all CLL for an
|
|
279
|
+
# Entity FQN. Following permissions are required to retrieve links: * `
|
|
280
|
+
# datalineage.events.get` permission for the project where the link is stored
|
|
281
|
+
# for entity-level lineage. * `datalineage.events.getFields` permission for the
|
|
282
|
+
# project where the link is stored for column-level lineage. This method also
|
|
283
|
+
# returns processes that created the links if explicitly requested by setting [
|
|
284
|
+
# max_process_per_link](google.cloud.datacatalog.lineage.v1.
|
|
285
|
+
# SearchLineageStreamingRequest.limits.max_process_per_link) is non-zero and
|
|
286
|
+
# full process details are requested via `links.processes.process` in the [
|
|
287
|
+
# FieldMask](https://developers.google.com/workspace/docs/api/how-tos/field-
|
|
288
|
+
# masks#read_with_a_field_mask). Permission required to retrieve processes: * `
|
|
289
|
+
# datalineage.processes.get` permission for the project where the process is
|
|
290
|
+
# stored.
|
|
291
|
+
# @param [String] parent
|
|
292
|
+
# Required. The project and location to initiate the search from.
|
|
293
|
+
# @param [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest] google_cloud_datacatalog_lineage_v1_search_lineage_streaming_request_object
|
|
294
|
+
# @param [String] fields
|
|
295
|
+
# Selector specifying which fields to include in a partial response.
|
|
296
|
+
# @param [String] quota_user
|
|
297
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
298
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
299
|
+
# @param [Google::Apis::RequestOptions] options
|
|
300
|
+
# Request-specific options
|
|
301
|
+
#
|
|
302
|
+
# @yield [result, err] Result & error if block supplied
|
|
303
|
+
# @yieldparam result [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse] parsed result object
|
|
304
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
305
|
+
#
|
|
306
|
+
# @return [Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse]
|
|
307
|
+
#
|
|
308
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
309
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
310
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
311
|
+
def search_project_location_lineage_streaming(parent, google_cloud_datacatalog_lineage_v1_search_lineage_streaming_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
312
|
+
command = make_simple_command(:post, 'v1/{+parent}:searchLineageStreaming', options)
|
|
313
|
+
command.request_representation = Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequest::Representation
|
|
314
|
+
command.request_object = google_cloud_datacatalog_lineage_v1_search_lineage_streaming_request_object
|
|
315
|
+
command.response_representation = Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse::Representation
|
|
316
|
+
command.response_class = Google::Apis::DatalineageV1::GoogleCloudDatacatalogLineageV1SearchLineageStreamingResponse
|
|
317
|
+
command.params['parent'] = parent unless parent.nil?
|
|
318
|
+
command.query['fields'] = fields unless fields.nil?
|
|
319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
320
|
+
execute_or_queue_command(command, &block)
|
|
321
|
+
end
|
|
322
|
+
|
|
272
323
|
# Retrieve a list of links connected to a specific asset. Links represent the
|
|
273
324
|
# data flow between **source** (upstream) and **target** (downstream) assets in
|
|
274
325
|
# transformation pipelines. Links are stored in the same project as the Lineage
|
|
@@ -31,6 +31,12 @@ module Google
|
|
|
31
31
|
|
|
32
32
|
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
34
|
+
|
|
35
|
+
# See, edit, configure, and delete your Google Cloud Data Lineage data and see the email address for your Google Account
|
|
36
|
+
AUTH_DATALINEAGE_READ_WRITE = 'https://www.googleapis.com/auth/datalineage.read-write'
|
|
37
|
+
|
|
38
|
+
# See your Google Cloud Data Lineage data and the email address of your Google Account
|
|
39
|
+
AUTH_DATALINEAGE_READONLY = 'https://www.googleapis.com/auth/datalineage.readonly'
|
|
34
40
|
end
|
|
35
41
|
end
|
|
36
42
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-datalineage_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.17.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datalineage_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datalineage_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datalineage_v1/v0.17.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datalineage_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|