google-cloud-data_catalog-lineage-v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/client.rb +10 -1
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/operations.rb +10 -1
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/client.rb +290 -0
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/operations.rb +75 -0
- data/lib/google/cloud/data_catalog/lineage/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22aecaffc6c64d28d6cdac94f94dfd89fb32a0caf130a463d73cb665c845298f
|
4
|
+
data.tar.gz: 3c4a049c68b98a36cf088e103eecf9a6d5430d036df8125f2657787c4011eaf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 721b16b9c6bd8eb10ad8754eb8a7954aeba318496cceaf27107b230bfebe808fe7ebca03671537bb5f17e913fdda2f99e51b05c6ed7506535bd972522146f502
|
7
|
+
data.tar.gz: f50651c1ac1ae1d413578afaaa60c00990fc33f9a5e45a38ca49e1d3cb16847f21304c6c7977f62a99392b1c355b38821c3b220b824471d44c7384e7085a4b6d
|
@@ -153,7 +153,8 @@ module Google
|
|
153
153
|
credentials: credentials,
|
154
154
|
endpoint: @config.endpoint,
|
155
155
|
channel_args: @config.channel_args,
|
156
|
-
interceptors: @config.interceptors
|
156
|
+
interceptors: @config.interceptors,
|
157
|
+
channel_pool_config: @config.channel_pool
|
157
158
|
)
|
158
159
|
end
|
159
160
|
|
@@ -1826,6 +1827,14 @@ module Google
|
|
1826
1827
|
end
|
1827
1828
|
end
|
1828
1829
|
|
1830
|
+
##
|
1831
|
+
# Configuration for the channel pool
|
1832
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1833
|
+
#
|
1834
|
+
def channel_pool
|
1835
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1836
|
+
end
|
1837
|
+
|
1829
1838
|
##
|
1830
1839
|
# Configuration RPC class for the Lineage API.
|
1831
1840
|
#
|
@@ -94,7 +94,8 @@ module Google
|
|
94
94
|
credentials: credentials,
|
95
95
|
endpoint: @config.endpoint,
|
96
96
|
channel_args: @config.channel_args,
|
97
|
-
interceptors: @config.interceptors
|
97
|
+
interceptors: @config.interceptors,
|
98
|
+
channel_pool_config: @config.channel_pool
|
98
99
|
)
|
99
100
|
|
100
101
|
# Used by an LRO wrapper for some methods of this service
|
@@ -702,6 +703,14 @@ module Google
|
|
702
703
|
end
|
703
704
|
end
|
704
705
|
|
706
|
+
##
|
707
|
+
# Configuration for the channel pool
|
708
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
709
|
+
#
|
710
|
+
def channel_pool
|
711
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
712
|
+
end
|
713
|
+
|
705
714
|
##
|
706
715
|
# Configuration RPC class for the Operations API.
|
707
716
|
#
|
@@ -191,6 +191,22 @@ module Google
|
|
191
191
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::Process]
|
192
192
|
#
|
193
193
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
194
|
+
#
|
195
|
+
# @example Basic example
|
196
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
197
|
+
#
|
198
|
+
# # Create a client object. The client can be reused for multiple calls.
|
199
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
200
|
+
#
|
201
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
202
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::CreateProcessRequest.new
|
203
|
+
#
|
204
|
+
# # Call the create_process method.
|
205
|
+
# result = client.create_process request
|
206
|
+
#
|
207
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::Process.
|
208
|
+
# p result
|
209
|
+
#
|
194
210
|
def create_process request, options = nil
|
195
211
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
196
212
|
|
@@ -260,6 +276,22 @@ module Google
|
|
260
276
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::Process]
|
261
277
|
#
|
262
278
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
279
|
+
#
|
280
|
+
# @example Basic example
|
281
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
282
|
+
#
|
283
|
+
# # Create a client object. The client can be reused for multiple calls.
|
284
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
285
|
+
#
|
286
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
287
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::UpdateProcessRequest.new
|
288
|
+
#
|
289
|
+
# # Call the update_process method.
|
290
|
+
# result = client.update_process request
|
291
|
+
#
|
292
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::Process.
|
293
|
+
# p result
|
294
|
+
#
|
263
295
|
def update_process request, options = nil
|
264
296
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
265
297
|
|
@@ -322,6 +354,22 @@ module Google
|
|
322
354
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::Process]
|
323
355
|
#
|
324
356
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
357
|
+
#
|
358
|
+
# @example Basic example
|
359
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
360
|
+
#
|
361
|
+
# # Create a client object. The client can be reused for multiple calls.
|
362
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
363
|
+
#
|
364
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
365
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::GetProcessRequest.new
|
366
|
+
#
|
367
|
+
# # Call the get_process method.
|
368
|
+
# result = client.get_process request
|
369
|
+
#
|
370
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::Process.
|
371
|
+
# p result
|
372
|
+
#
|
325
373
|
def get_process request, options = nil
|
326
374
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
327
375
|
|
@@ -397,6 +445,26 @@ module Google
|
|
397
445
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::Lineage::V1::Process>]
|
398
446
|
#
|
399
447
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
448
|
+
#
|
449
|
+
# @example Basic example
|
450
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
451
|
+
#
|
452
|
+
# # Create a client object. The client can be reused for multiple calls.
|
453
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
454
|
+
#
|
455
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
456
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::ListProcessesRequest.new
|
457
|
+
#
|
458
|
+
# # Call the list_processes method.
|
459
|
+
# result = client.list_processes request
|
460
|
+
#
|
461
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
462
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
463
|
+
# result.each do |item|
|
464
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::Process.
|
465
|
+
# p item
|
466
|
+
# end
|
467
|
+
#
|
400
468
|
def list_processes request, options = nil
|
401
469
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
402
470
|
|
@@ -463,6 +531,29 @@ module Google
|
|
463
531
|
# @return [::Gapic::Operation]
|
464
532
|
#
|
465
533
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
534
|
+
#
|
535
|
+
# @example Basic example
|
536
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
537
|
+
#
|
538
|
+
# # Create a client object. The client can be reused for multiple calls.
|
539
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
540
|
+
#
|
541
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
542
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::DeleteProcessRequest.new
|
543
|
+
#
|
544
|
+
# # Call the delete_process method.
|
545
|
+
# result = client.delete_process request
|
546
|
+
#
|
547
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
548
|
+
# # check the status of an operation, cancel it, or wait for results.
|
549
|
+
# # Here is how to wait for a response.
|
550
|
+
# result.wait_until_done! timeout: 60
|
551
|
+
# if result.response?
|
552
|
+
# p result.response
|
553
|
+
# else
|
554
|
+
# puts "No response received."
|
555
|
+
# end
|
556
|
+
#
|
466
557
|
def delete_process request, options = nil
|
467
558
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
468
559
|
|
@@ -532,6 +623,22 @@ module Google
|
|
532
623
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::Run]
|
533
624
|
#
|
534
625
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
626
|
+
#
|
627
|
+
# @example Basic example
|
628
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
629
|
+
#
|
630
|
+
# # Create a client object. The client can be reused for multiple calls.
|
631
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
632
|
+
#
|
633
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
634
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::CreateRunRequest.new
|
635
|
+
#
|
636
|
+
# # Call the create_run method.
|
637
|
+
# result = client.create_run request
|
638
|
+
#
|
639
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::Run.
|
640
|
+
# p result
|
641
|
+
#
|
535
642
|
def create_run request, options = nil
|
536
643
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
537
644
|
|
@@ -602,6 +709,22 @@ module Google
|
|
602
709
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::Run]
|
603
710
|
#
|
604
711
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
712
|
+
#
|
713
|
+
# @example Basic example
|
714
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
715
|
+
#
|
716
|
+
# # Create a client object. The client can be reused for multiple calls.
|
717
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
718
|
+
#
|
719
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
720
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::UpdateRunRequest.new
|
721
|
+
#
|
722
|
+
# # Call the update_run method.
|
723
|
+
# result = client.update_run request
|
724
|
+
#
|
725
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::Run.
|
726
|
+
# p result
|
727
|
+
#
|
605
728
|
def update_run request, options = nil
|
606
729
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
607
730
|
|
@@ -664,6 +787,22 @@ module Google
|
|
664
787
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::Run]
|
665
788
|
#
|
666
789
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
790
|
+
#
|
791
|
+
# @example Basic example
|
792
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
793
|
+
#
|
794
|
+
# # Create a client object. The client can be reused for multiple calls.
|
795
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
796
|
+
#
|
797
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
798
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::GetRunRequest.new
|
799
|
+
#
|
800
|
+
# # Call the get_run method.
|
801
|
+
# result = client.get_run request
|
802
|
+
#
|
803
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::Run.
|
804
|
+
# p result
|
805
|
+
#
|
667
806
|
def get_run request, options = nil
|
668
807
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
669
808
|
|
@@ -738,6 +877,26 @@ module Google
|
|
738
877
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::Lineage::V1::Run>]
|
739
878
|
#
|
740
879
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
880
|
+
#
|
881
|
+
# @example Basic example
|
882
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
883
|
+
#
|
884
|
+
# # Create a client object. The client can be reused for multiple calls.
|
885
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
886
|
+
#
|
887
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
888
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::ListRunsRequest.new
|
889
|
+
#
|
890
|
+
# # Call the list_runs method.
|
891
|
+
# result = client.list_runs request
|
892
|
+
#
|
893
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
894
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
895
|
+
# result.each do |item|
|
896
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::Run.
|
897
|
+
# p item
|
898
|
+
# end
|
899
|
+
#
|
741
900
|
def list_runs request, options = nil
|
742
901
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
743
902
|
|
@@ -804,6 +963,29 @@ module Google
|
|
804
963
|
# @return [::Gapic::Operation]
|
805
964
|
#
|
806
965
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
966
|
+
#
|
967
|
+
# @example Basic example
|
968
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
969
|
+
#
|
970
|
+
# # Create a client object. The client can be reused for multiple calls.
|
971
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
972
|
+
#
|
973
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
974
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::DeleteRunRequest.new
|
975
|
+
#
|
976
|
+
# # Call the delete_run method.
|
977
|
+
# result = client.delete_run request
|
978
|
+
#
|
979
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
980
|
+
# # check the status of an operation, cancel it, or wait for results.
|
981
|
+
# # Here is how to wait for a response.
|
982
|
+
# result.wait_until_done! timeout: 60
|
983
|
+
# if result.response?
|
984
|
+
# p result.response
|
985
|
+
# else
|
986
|
+
# puts "No response received."
|
987
|
+
# end
|
988
|
+
#
|
807
989
|
def delete_run request, options = nil
|
808
990
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
809
991
|
|
@@ -873,6 +1055,22 @@ module Google
|
|
873
1055
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::LineageEvent]
|
874
1056
|
#
|
875
1057
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1058
|
+
#
|
1059
|
+
# @example Basic example
|
1060
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
1061
|
+
#
|
1062
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1063
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
1064
|
+
#
|
1065
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1066
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::CreateLineageEventRequest.new
|
1067
|
+
#
|
1068
|
+
# # Call the create_lineage_event method.
|
1069
|
+
# result = client.create_lineage_event request
|
1070
|
+
#
|
1071
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::LineageEvent.
|
1072
|
+
# p result
|
1073
|
+
#
|
876
1074
|
def create_lineage_event request, options = nil
|
877
1075
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
878
1076
|
|
@@ -935,6 +1133,22 @@ module Google
|
|
935
1133
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::LineageEvent]
|
936
1134
|
#
|
937
1135
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1136
|
+
#
|
1137
|
+
# @example Basic example
|
1138
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
1139
|
+
#
|
1140
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1141
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
1142
|
+
#
|
1143
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1144
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::GetLineageEventRequest.new
|
1145
|
+
#
|
1146
|
+
# # Call the get_lineage_event method.
|
1147
|
+
# result = client.get_lineage_event request
|
1148
|
+
#
|
1149
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::LineageEvent.
|
1150
|
+
# p result
|
1151
|
+
#
|
938
1152
|
def get_lineage_event request, options = nil
|
939
1153
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
940
1154
|
|
@@ -1011,6 +1225,26 @@ module Google
|
|
1011
1225
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::Lineage::V1::LineageEvent>]
|
1012
1226
|
#
|
1013
1227
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1228
|
+
#
|
1229
|
+
# @example Basic example
|
1230
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
1231
|
+
#
|
1232
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1233
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
1234
|
+
#
|
1235
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1236
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::ListLineageEventsRequest.new
|
1237
|
+
#
|
1238
|
+
# # Call the list_lineage_events method.
|
1239
|
+
# result = client.list_lineage_events request
|
1240
|
+
#
|
1241
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1242
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1243
|
+
# result.each do |item|
|
1244
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::LineageEvent.
|
1245
|
+
# p item
|
1246
|
+
# end
|
1247
|
+
#
|
1014
1248
|
def list_lineage_events request, options = nil
|
1015
1249
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1016
1250
|
|
@@ -1077,6 +1311,22 @@ module Google
|
|
1077
1311
|
# @return [::Google::Protobuf::Empty]
|
1078
1312
|
#
|
1079
1313
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1314
|
+
#
|
1315
|
+
# @example Basic example
|
1316
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
1317
|
+
#
|
1318
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1319
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
1320
|
+
#
|
1321
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1322
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::DeleteLineageEventRequest.new
|
1323
|
+
#
|
1324
|
+
# # Call the delete_lineage_event method.
|
1325
|
+
# result = client.delete_lineage_event request
|
1326
|
+
#
|
1327
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
1328
|
+
# p result
|
1329
|
+
#
|
1080
1330
|
def delete_lineage_event request, options = nil
|
1081
1331
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1082
1332
|
|
@@ -1166,6 +1416,26 @@ module Google
|
|
1166
1416
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::Lineage::V1::Link>]
|
1167
1417
|
#
|
1168
1418
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1419
|
+
#
|
1420
|
+
# @example Basic example
|
1421
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
1422
|
+
#
|
1423
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1424
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
1425
|
+
#
|
1426
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1427
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest.new
|
1428
|
+
#
|
1429
|
+
# # Call the search_links method.
|
1430
|
+
# result = client.search_links request
|
1431
|
+
#
|
1432
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1433
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1434
|
+
# result.each do |item|
|
1435
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::Link.
|
1436
|
+
# p item
|
1437
|
+
# end
|
1438
|
+
#
|
1169
1439
|
def search_links request, options = nil
|
1170
1440
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1171
1441
|
|
@@ -1260,6 +1530,26 @@ module Google
|
|
1260
1530
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::Lineage::V1::ProcessLinks>]
|
1261
1531
|
#
|
1262
1532
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1533
|
+
#
|
1534
|
+
# @example Basic example
|
1535
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
1536
|
+
#
|
1537
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1538
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
1539
|
+
#
|
1540
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1541
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::BatchSearchLinkProcessesRequest.new
|
1542
|
+
#
|
1543
|
+
# # Call the batch_search_link_processes method.
|
1544
|
+
# result = client.batch_search_link_processes request
|
1545
|
+
#
|
1546
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1547
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1548
|
+
# result.each do |item|
|
1549
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::ProcessLinks.
|
1550
|
+
# p item
|
1551
|
+
# end
|
1552
|
+
#
|
1263
1553
|
def batch_search_link_processes request, options = nil
|
1264
1554
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1265
1555
|
|
@@ -137,6 +137,26 @@ module Google
|
|
137
137
|
# @return [::Gapic::Operation]
|
138
138
|
#
|
139
139
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
140
|
+
#
|
141
|
+
# @example Basic example
|
142
|
+
# require "google/longrunning"
|
143
|
+
#
|
144
|
+
# # Create a client object. The client can be reused for multiple calls.
|
145
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
146
|
+
#
|
147
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
148
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
149
|
+
#
|
150
|
+
# # Call the list_operations method.
|
151
|
+
# result = client.list_operations request
|
152
|
+
#
|
153
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
154
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
155
|
+
# result.each do |item|
|
156
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
157
|
+
# p item
|
158
|
+
# end
|
159
|
+
#
|
140
160
|
def list_operations request, options = nil
|
141
161
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
142
162
|
|
@@ -202,6 +222,29 @@ module Google
|
|
202
222
|
# @return [::Gapic::Operation]
|
203
223
|
#
|
204
224
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
225
|
+
#
|
226
|
+
# @example Basic example
|
227
|
+
# require "google/longrunning"
|
228
|
+
#
|
229
|
+
# # Create a client object. The client can be reused for multiple calls.
|
230
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
231
|
+
#
|
232
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
233
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
234
|
+
#
|
235
|
+
# # Call the get_operation method.
|
236
|
+
# result = client.get_operation request
|
237
|
+
#
|
238
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
239
|
+
# # check the status of an operation, cancel it, or wait for results.
|
240
|
+
# # Here is how to wait for a response.
|
241
|
+
# result.wait_until_done! timeout: 60
|
242
|
+
# if result.response?
|
243
|
+
# p result.response
|
244
|
+
# else
|
245
|
+
# puts "No response received."
|
246
|
+
# end
|
247
|
+
#
|
205
248
|
def get_operation request, options = nil
|
206
249
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
207
250
|
|
@@ -268,6 +311,22 @@ module Google
|
|
268
311
|
# @return [::Google::Protobuf::Empty]
|
269
312
|
#
|
270
313
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
314
|
+
#
|
315
|
+
# @example Basic example
|
316
|
+
# require "google/longrunning"
|
317
|
+
#
|
318
|
+
# # Create a client object. The client can be reused for multiple calls.
|
319
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
320
|
+
#
|
321
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
322
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
323
|
+
#
|
324
|
+
# # Call the delete_operation method.
|
325
|
+
# result = client.delete_operation request
|
326
|
+
#
|
327
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
328
|
+
# p result
|
329
|
+
#
|
271
330
|
def delete_operation request, options = nil
|
272
331
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
273
332
|
|
@@ -339,6 +398,22 @@ module Google
|
|
339
398
|
# @return [::Google::Protobuf::Empty]
|
340
399
|
#
|
341
400
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
401
|
+
#
|
402
|
+
# @example Basic example
|
403
|
+
# require "google/longrunning"
|
404
|
+
#
|
405
|
+
# # Create a client object. The client can be reused for multiple calls.
|
406
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
407
|
+
#
|
408
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
409
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
410
|
+
#
|
411
|
+
# # Call the cancel_operation method.
|
412
|
+
# result = client.cancel_operation request
|
413
|
+
#
|
414
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
415
|
+
# p result
|
416
|
+
#
|
342
417
|
def cancel_operation request, options = nil
|
343
418
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
344
419
|
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_catalog-lineage-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
222
|
- !ruby/object:Gem::Version
|
223
223
|
version: '0'
|
224
224
|
requirements: []
|
225
|
-
rubygems_version: 3.4.
|
225
|
+
rubygems_version: 3.4.19
|
226
226
|
signing_key:
|
227
227
|
specification_version: 4
|
228
228
|
summary: API Client library for the Data Lineage V1 API
|