google-cloud-data_catalog-lineage-v1 0.2.1 → 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 +14 -3
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/operations.rb +13 -2
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/client.rb +294 -2
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/operations.rb +82 -5
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/service_stub.rb +16 -16
- data/lib/google/cloud/data_catalog/lineage/v1/version.rb +1 -1
- data/lib/google/cloud/datacatalog/lineage/v1/lineage_pb.rb +27 -177
- data/proto_docs/google/api/client.rb +10 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- 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
|
@@ -132,7 +132,7 @@ module Google
|
|
132
132
|
credentials = @config.credentials
|
133
133
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
134
134
|
# but only if the default endpoint does not have a region prefix.
|
135
|
-
enable_self_signed_jwt = @config.endpoint ==
|
135
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
136
136
|
!@config.endpoint.split(".").first.include?("-")
|
137
137
|
credentials ||= Credentials.default scope: @config.scope,
|
138
138
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -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
|
|
@@ -1789,7 +1790,9 @@ module Google
|
|
1789
1790
|
class Configuration
|
1790
1791
|
extend ::Gapic::Config
|
1791
1792
|
|
1792
|
-
|
1793
|
+
DEFAULT_ENDPOINT = "datalineage.googleapis.com"
|
1794
|
+
|
1795
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1793
1796
|
config_attr :credentials, nil do |value|
|
1794
1797
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1795
1798
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -1824,6 +1827,14 @@ module Google
|
|
1824
1827
|
end
|
1825
1828
|
end
|
1826
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
|
+
|
1827
1838
|
##
|
1828
1839
|
# Configuration RPC class for the Lineage API.
|
1829
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
|
@@ -665,7 +666,9 @@ module Google
|
|
665
666
|
class Configuration
|
666
667
|
extend ::Gapic::Config
|
667
668
|
|
668
|
-
|
669
|
+
DEFAULT_ENDPOINT = "datalineage.googleapis.com"
|
670
|
+
|
671
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
669
672
|
config_attr :credentials, nil do |value|
|
670
673
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
671
674
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -700,6 +703,14 @@ module Google
|
|
700
703
|
end
|
701
704
|
end
|
702
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
|
+
|
703
714
|
##
|
704
715
|
# Configuration RPC class for the Operations API.
|
705
716
|
#
|
@@ -128,7 +128,7 @@ module Google
|
|
128
128
|
credentials = @config.credentials
|
129
129
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
130
130
|
# but only if the default endpoint does not have a region prefix.
|
131
|
-
enable_self_signed_jwt = @config.endpoint ==
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
132
132
|
!@config.endpoint.split(".").first.include?("-")
|
133
133
|
credentials ||= Credentials.default scope: @config.scope,
|
134
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -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
|
|
@@ -1369,7 +1659,9 @@ module Google
|
|
1369
1659
|
class Configuration
|
1370
1660
|
extend ::Gapic::Config
|
1371
1661
|
|
1372
|
-
|
1662
|
+
DEFAULT_ENDPOINT = "datalineage.googleapis.com"
|
1663
|
+
|
1664
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1373
1665
|
config_attr :credentials, nil do |value|
|
1374
1666
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1375
1667
|
allowed.any? { |klass| klass === value }
|
@@ -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
|
|
@@ -447,7 +522,9 @@ module Google
|
|
447
522
|
class Configuration
|
448
523
|
extend ::Gapic::Config
|
449
524
|
|
450
|
-
|
525
|
+
DEFAULT_ENDPOINT = "datalineage.googleapis.com"
|
526
|
+
|
527
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
451
528
|
config_attr :credentials, nil do |value|
|
452
529
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
453
530
|
allowed.any? { |klass| klass === value }
|
@@ -568,7 +645,7 @@ module Google
|
|
568
645
|
|
569
646
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
|
570
647
|
query_string_params = if query_string_params.any?
|
571
|
-
query_string_params.to_h { |p| p.split
|
648
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
572
649
|
else
|
573
650
|
{}
|
574
651
|
end
|
@@ -606,7 +683,7 @@ module Google
|
|
606
683
|
|
607
684
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
|
608
685
|
query_string_params = if query_string_params.any?
|
609
|
-
query_string_params.to_h { |p| p.split
|
686
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
610
687
|
else
|
611
688
|
{}
|
612
689
|
end
|
@@ -644,7 +721,7 @@ module Google
|
|
644
721
|
|
645
722
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
|
646
723
|
query_string_params = if query_string_params.any?
|
647
|
-
query_string_params.to_h { |p| p.split
|
724
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
648
725
|
else
|
649
726
|
{}
|
650
727
|
end
|
@@ -682,7 +759,7 @@ module Google
|
|
682
759
|
|
683
760
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
|
684
761
|
query_string_params = if query_string_params.any?
|
685
|
-
query_string_params.to_h { |p| p.split
|
762
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
686
763
|
else
|
687
764
|
{}
|
688
765
|
end
|
@@ -60,7 +60,7 @@ module Google
|
|
60
60
|
|
61
61
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_process_request request_pb
|
62
62
|
query_string_params = if query_string_params.any?
|
63
|
-
query_string_params.to_h { |p| p.split
|
63
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
64
64
|
else
|
65
65
|
{}
|
66
66
|
end
|
@@ -98,7 +98,7 @@ module Google
|
|
98
98
|
|
99
99
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_process_request request_pb
|
100
100
|
query_string_params = if query_string_params.any?
|
101
|
-
query_string_params.to_h { |p| p.split
|
101
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
102
102
|
else
|
103
103
|
{}
|
104
104
|
end
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
|
137
137
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_process_request request_pb
|
138
138
|
query_string_params = if query_string_params.any?
|
139
|
-
query_string_params.to_h { |p| p.split
|
139
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
140
140
|
else
|
141
141
|
{}
|
142
142
|
end
|
@@ -174,7 +174,7 @@ module Google
|
|
174
174
|
|
175
175
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_processes_request request_pb
|
176
176
|
query_string_params = if query_string_params.any?
|
177
|
-
query_string_params.to_h { |p| p.split
|
177
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
178
178
|
else
|
179
179
|
{}
|
180
180
|
end
|
@@ -212,7 +212,7 @@ module Google
|
|
212
212
|
|
213
213
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_process_request request_pb
|
214
214
|
query_string_params = if query_string_params.any?
|
215
|
-
query_string_params.to_h { |p| p.split
|
215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
216
216
|
else
|
217
217
|
{}
|
218
218
|
end
|
@@ -250,7 +250,7 @@ module Google
|
|
250
250
|
|
251
251
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_run_request request_pb
|
252
252
|
query_string_params = if query_string_params.any?
|
253
|
-
query_string_params.to_h { |p| p.split
|
253
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
254
254
|
else
|
255
255
|
{}
|
256
256
|
end
|
@@ -288,7 +288,7 @@ module Google
|
|
288
288
|
|
289
289
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_run_request request_pb
|
290
290
|
query_string_params = if query_string_params.any?
|
291
|
-
query_string_params.to_h { |p| p.split
|
291
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
292
292
|
else
|
293
293
|
{}
|
294
294
|
end
|
@@ -326,7 +326,7 @@ module Google
|
|
326
326
|
|
327
327
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_run_request request_pb
|
328
328
|
query_string_params = if query_string_params.any?
|
329
|
-
query_string_params.to_h { |p| p.split
|
329
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
330
330
|
else
|
331
331
|
{}
|
332
332
|
end
|
@@ -364,7 +364,7 @@ module Google
|
|
364
364
|
|
365
365
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_runs_request request_pb
|
366
366
|
query_string_params = if query_string_params.any?
|
367
|
-
query_string_params.to_h { |p| p.split
|
367
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
368
368
|
else
|
369
369
|
{}
|
370
370
|
end
|
@@ -402,7 +402,7 @@ module Google
|
|
402
402
|
|
403
403
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_run_request request_pb
|
404
404
|
query_string_params = if query_string_params.any?
|
405
|
-
query_string_params.to_h { |p| p.split
|
405
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
406
406
|
else
|
407
407
|
{}
|
408
408
|
end
|
@@ -440,7 +440,7 @@ module Google
|
|
440
440
|
|
441
441
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_lineage_event_request request_pb
|
442
442
|
query_string_params = if query_string_params.any?
|
443
|
-
query_string_params.to_h { |p| p.split
|
443
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
444
444
|
else
|
445
445
|
{}
|
446
446
|
end
|
@@ -478,7 +478,7 @@ module Google
|
|
478
478
|
|
479
479
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_lineage_event_request request_pb
|
480
480
|
query_string_params = if query_string_params.any?
|
481
|
-
query_string_params.to_h { |p| p.split
|
481
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
482
482
|
else
|
483
483
|
{}
|
484
484
|
end
|
@@ -516,7 +516,7 @@ module Google
|
|
516
516
|
|
517
517
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_lineage_events_request request_pb
|
518
518
|
query_string_params = if query_string_params.any?
|
519
|
-
query_string_params.to_h { |p| p.split
|
519
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
520
520
|
else
|
521
521
|
{}
|
522
522
|
end
|
@@ -554,7 +554,7 @@ module Google
|
|
554
554
|
|
555
555
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_lineage_event_request request_pb
|
556
556
|
query_string_params = if query_string_params.any?
|
557
|
-
query_string_params.to_h { |p| p.split
|
557
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
558
558
|
else
|
559
559
|
{}
|
560
560
|
end
|
@@ -592,7 +592,7 @@ module Google
|
|
592
592
|
|
593
593
|
verb, uri, query_string_params, body = ServiceStub.transcode_search_links_request request_pb
|
594
594
|
query_string_params = if query_string_params.any?
|
595
|
-
query_string_params.to_h { |p| p.split
|
595
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
596
596
|
else
|
597
597
|
{}
|
598
598
|
end
|
@@ -630,7 +630,7 @@ module Google
|
|
630
630
|
|
631
631
|
verb, uri, query_string_params, body = ServiceStub.transcode_batch_search_link_processes_request request_pb
|
632
632
|
query_string_params = if query_string_params.any?
|
633
|
-
query_string_params.to_h { |p| p.split
|
633
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
634
634
|
else
|
635
635
|
{}
|
636
636
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datacatalog/lineage/v1/lineage.proto
|
3
4
|
|
@@ -13,185 +14,34 @@ require 'google/protobuf/field_mask_pb'
|
|
13
14
|
require 'google/protobuf/struct_pb'
|
14
15
|
require 'google/protobuf/timestamp_pb'
|
15
16
|
|
16
|
-
|
17
|
-
add_file("google/cloud/datacatalog/lineage/v1/lineage.proto", :syntax => :proto3) do
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
optional :name, :string, 1
|
41
|
-
repeated :links, :message, 8, "google.cloud.datacatalog.lineage.v1.EventLink"
|
42
|
-
optional :start_time, :message, 6, "google.protobuf.Timestamp"
|
43
|
-
optional :end_time, :message, 7, "google.protobuf.Timestamp"
|
44
|
-
end
|
45
|
-
add_message "google.cloud.datacatalog.lineage.v1.EventLink" do
|
46
|
-
optional :source, :message, 1, "google.cloud.datacatalog.lineage.v1.EntityReference"
|
47
|
-
optional :target, :message, 2, "google.cloud.datacatalog.lineage.v1.EntityReference"
|
48
|
-
end
|
49
|
-
add_message "google.cloud.datacatalog.lineage.v1.EntityReference" do
|
50
|
-
optional :fully_qualified_name, :string, 1
|
51
|
-
end
|
52
|
-
add_message "google.cloud.datacatalog.lineage.v1.OperationMetadata" do
|
53
|
-
optional :state, :enum, 1, "google.cloud.datacatalog.lineage.v1.OperationMetadata.State"
|
54
|
-
optional :operation_type, :enum, 2, "google.cloud.datacatalog.lineage.v1.OperationMetadata.Type"
|
55
|
-
optional :resource, :string, 3
|
56
|
-
optional :resource_uuid, :string, 4
|
57
|
-
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
58
|
-
optional :end_time, :message, 6, "google.protobuf.Timestamp"
|
59
|
-
end
|
60
|
-
add_enum "google.cloud.datacatalog.lineage.v1.OperationMetadata.State" do
|
61
|
-
value :STATE_UNSPECIFIED, 0
|
62
|
-
value :PENDING, 1
|
63
|
-
value :RUNNING, 2
|
64
|
-
value :SUCCEEDED, 3
|
65
|
-
value :FAILED, 4
|
66
|
-
end
|
67
|
-
add_enum "google.cloud.datacatalog.lineage.v1.OperationMetadata.Type" do
|
68
|
-
value :TYPE_UNSPECIFIED, 0
|
69
|
-
value :DELETE, 1
|
70
|
-
end
|
71
|
-
add_message "google.cloud.datacatalog.lineage.v1.CreateProcessRequest" do
|
72
|
-
optional :parent, :string, 1
|
73
|
-
optional :process, :message, 2, "google.cloud.datacatalog.lineage.v1.Process"
|
74
|
-
optional :request_id, :string, 3
|
75
|
-
end
|
76
|
-
add_message "google.cloud.datacatalog.lineage.v1.UpdateProcessRequest" do
|
77
|
-
optional :process, :message, 1, "google.cloud.datacatalog.lineage.v1.Process"
|
78
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
79
|
-
optional :allow_missing, :bool, 3
|
80
|
-
end
|
81
|
-
add_message "google.cloud.datacatalog.lineage.v1.GetProcessRequest" do
|
82
|
-
optional :name, :string, 1
|
83
|
-
end
|
84
|
-
add_message "google.cloud.datacatalog.lineage.v1.ListProcessesRequest" do
|
85
|
-
optional :parent, :string, 1
|
86
|
-
optional :page_size, :int32, 2
|
87
|
-
optional :page_token, :string, 3
|
88
|
-
end
|
89
|
-
add_message "google.cloud.datacatalog.lineage.v1.ListProcessesResponse" do
|
90
|
-
repeated :processes, :message, 1, "google.cloud.datacatalog.lineage.v1.Process"
|
91
|
-
optional :next_page_token, :string, 2
|
92
|
-
end
|
93
|
-
add_message "google.cloud.datacatalog.lineage.v1.DeleteProcessRequest" do
|
94
|
-
optional :name, :string, 1
|
95
|
-
optional :allow_missing, :bool, 2
|
96
|
-
end
|
97
|
-
add_message "google.cloud.datacatalog.lineage.v1.CreateRunRequest" do
|
98
|
-
optional :parent, :string, 1
|
99
|
-
optional :run, :message, 2, "google.cloud.datacatalog.lineage.v1.Run"
|
100
|
-
optional :request_id, :string, 3
|
101
|
-
end
|
102
|
-
add_message "google.cloud.datacatalog.lineage.v1.UpdateRunRequest" do
|
103
|
-
optional :run, :message, 1, "google.cloud.datacatalog.lineage.v1.Run"
|
104
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
105
|
-
end
|
106
|
-
add_message "google.cloud.datacatalog.lineage.v1.GetRunRequest" do
|
107
|
-
optional :name, :string, 1
|
108
|
-
end
|
109
|
-
add_message "google.cloud.datacatalog.lineage.v1.ListRunsRequest" do
|
110
|
-
optional :parent, :string, 1
|
111
|
-
optional :page_size, :int32, 2
|
112
|
-
optional :page_token, :string, 3
|
113
|
-
end
|
114
|
-
add_message "google.cloud.datacatalog.lineage.v1.ListRunsResponse" do
|
115
|
-
repeated :runs, :message, 1, "google.cloud.datacatalog.lineage.v1.Run"
|
116
|
-
optional :next_page_token, :string, 2
|
117
|
-
end
|
118
|
-
add_message "google.cloud.datacatalog.lineage.v1.DeleteRunRequest" do
|
119
|
-
optional :name, :string, 1
|
120
|
-
optional :allow_missing, :bool, 2
|
121
|
-
end
|
122
|
-
add_message "google.cloud.datacatalog.lineage.v1.CreateLineageEventRequest" do
|
123
|
-
optional :parent, :string, 1
|
124
|
-
optional :lineage_event, :message, 2, "google.cloud.datacatalog.lineage.v1.LineageEvent"
|
125
|
-
optional :request_id, :string, 3
|
126
|
-
end
|
127
|
-
add_message "google.cloud.datacatalog.lineage.v1.GetLineageEventRequest" do
|
128
|
-
optional :name, :string, 1
|
129
|
-
end
|
130
|
-
add_message "google.cloud.datacatalog.lineage.v1.ListLineageEventsRequest" do
|
131
|
-
optional :parent, :string, 1
|
132
|
-
optional :page_size, :int32, 2
|
133
|
-
optional :page_token, :string, 3
|
134
|
-
end
|
135
|
-
add_message "google.cloud.datacatalog.lineage.v1.ListLineageEventsResponse" do
|
136
|
-
repeated :lineage_events, :message, 1, "google.cloud.datacatalog.lineage.v1.LineageEvent"
|
137
|
-
optional :next_page_token, :string, 2
|
138
|
-
end
|
139
|
-
add_message "google.cloud.datacatalog.lineage.v1.DeleteLineageEventRequest" do
|
140
|
-
optional :name, :string, 1
|
141
|
-
optional :allow_missing, :bool, 2
|
142
|
-
end
|
143
|
-
add_message "google.cloud.datacatalog.lineage.v1.SearchLinksRequest" do
|
144
|
-
optional :parent, :string, 1
|
145
|
-
optional :page_size, :int32, 2
|
146
|
-
optional :page_token, :string, 3
|
147
|
-
oneof :criteria do
|
148
|
-
optional :source, :message, 4, "google.cloud.datacatalog.lineage.v1.EntityReference"
|
149
|
-
optional :target, :message, 5, "google.cloud.datacatalog.lineage.v1.EntityReference"
|
150
|
-
end
|
151
|
-
end
|
152
|
-
add_message "google.cloud.datacatalog.lineage.v1.SearchLinksResponse" do
|
153
|
-
repeated :links, :message, 1, "google.cloud.datacatalog.lineage.v1.Link"
|
154
|
-
optional :next_page_token, :string, 2
|
155
|
-
end
|
156
|
-
add_message "google.cloud.datacatalog.lineage.v1.Link" do
|
157
|
-
optional :name, :string, 1
|
158
|
-
optional :source, :message, 2, "google.cloud.datacatalog.lineage.v1.EntityReference"
|
159
|
-
optional :target, :message, 3, "google.cloud.datacatalog.lineage.v1.EntityReference"
|
160
|
-
optional :start_time, :message, 4, "google.protobuf.Timestamp"
|
161
|
-
optional :end_time, :message, 5, "google.protobuf.Timestamp"
|
162
|
-
end
|
163
|
-
add_message "google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesRequest" do
|
164
|
-
optional :parent, :string, 1
|
165
|
-
repeated :links, :string, 2
|
166
|
-
optional :page_size, :int32, 3
|
167
|
-
optional :page_token, :string, 4
|
168
|
-
end
|
169
|
-
add_message "google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesResponse" do
|
170
|
-
repeated :process_links, :message, 1, "google.cloud.datacatalog.lineage.v1.ProcessLinks"
|
171
|
-
optional :next_page_token, :string, 2
|
172
|
-
end
|
173
|
-
add_message "google.cloud.datacatalog.lineage.v1.ProcessLinks" do
|
174
|
-
optional :process, :string, 1
|
175
|
-
repeated :links, :message, 2, "google.cloud.datacatalog.lineage.v1.ProcessLinkInfo"
|
176
|
-
end
|
177
|
-
add_message "google.cloud.datacatalog.lineage.v1.ProcessLinkInfo" do
|
178
|
-
optional :link, :string, 1
|
179
|
-
optional :start_time, :message, 2, "google.protobuf.Timestamp"
|
180
|
-
optional :end_time, :message, 3, "google.protobuf.Timestamp"
|
181
|
-
end
|
182
|
-
add_message "google.cloud.datacatalog.lineage.v1.Origin" do
|
183
|
-
optional :source_type, :enum, 1, "google.cloud.datacatalog.lineage.v1.Origin.SourceType"
|
184
|
-
optional :name, :string, 2
|
185
|
-
end
|
186
|
-
add_enum "google.cloud.datacatalog.lineage.v1.Origin.SourceType" do
|
187
|
-
value :SOURCE_TYPE_UNSPECIFIED, 0
|
188
|
-
value :CUSTOM, 1
|
189
|
-
value :BIGQUERY, 2
|
190
|
-
value :DATA_FUSION, 3
|
191
|
-
value :COMPOSER, 4
|
192
|
-
value :LOOKER_STUDIO, 5
|
17
|
+
|
18
|
+
descriptor_data = "\n1google/cloud/datacatalog/lineage/v1/lineage.proto\x12#google.cloud.datacatalog.lineage.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x03\n\x07Process\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12U\n\nattributes\x18\x03 \x03(\x0b\x32<.google.cloud.datacatalog.lineage.v1.Process.AttributesEntryB\x03\xe0\x41\x01\x12@\n\x06origin\x18\x04 \x01(\x0b\x32+.google.cloud.datacatalog.lineage.v1.OriginB\x03\xe0\x41\x01\x1aI\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01:d\xea\x41\x61\n\"datalineage.googleapis.com/Process\x12;projects/{project}/locations/{location}/processes/{process}\"\xb5\x04\n\x03Run\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Q\n\nattributes\x18\x03 \x03(\x0b\x32\x38.google.cloud.datacatalog.lineage.v1.Run.AttributesEntryB\x03\xe0\x41\x01\x12\x33\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x42\n\x05state\x18\x06 \x01(\x0e\x32..google.cloud.datacatalog.lineage.v1.Run.StateB\x03\xe0\x41\x02\x1aI\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"I\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0b\n\x07\x41\x42ORTED\x10\x04:k\xea\x41h\n\x1e\x64\x61talineage.googleapis.com/Run\x12\x46projects/{project}/locations/{location}/processes/{process}/runs/{run}\"\xe3\x02\n\x0cLineageEvent\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x42\n\x05links\x18\x08 \x03(\x0b\x32..google.cloud.datacatalog.lineage.v1.EventLinkB\x03\xe0\x41\x01\x12\x33\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x31\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01:\x93\x01\xea\x41\x8f\x01\n\'datalineage.googleapis.com/LineageEvent\x12\x64projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}\"\xa1\x01\n\tEventLink\x12I\n\x06source\x18\x01 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x02\x12I\n\x06target\x18\x02 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x02\"4\n\x0f\x45ntityReference\x12!\n\x14\x66ully_qualified_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xda\x03\n\x11OperationMetadata\x12P\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.datacatalog.lineage.v1.OperationMetadata.StateB\x03\xe0\x41\x03\x12X\n\x0eoperation_type\x18\x02 \x01(\x0e\x32;.google.cloud.datacatalog.lineage.v1.OperationMetadata.TypeB\x03\xe0\x41\x03\x12\x15\n\x08resource\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rresource_uuid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"S\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"(\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\"\xaa\x01\n\x14\x43reateProcessRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12\x42\n\x07process\x18\x02 \x01(\x0b\x32,.google.cloud.datacatalog.lineage.v1.ProcessB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xa2\x01\n\x14UpdateProcessRequest\x12\x42\n\x07process\x18\x01 \x01(\x0b\x32,.google.cloud.datacatalog.lineage.v1.ProcessB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"M\n\x11GetProcessRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"datalineage.googleapis.com/Process\"y\n\x14ListProcessesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x15ListProcessesResponse\x12?\n\tprocesses\x18\x01 \x03(\x0b\x32,.google.cloud.datacatalog.lineage.v1.Process\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n\x14\x44\x65leteProcessRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"datalineage.googleapis.com/Process\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x9a\x01\n\x10\x43reateRunRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64\x61talineage.googleapis.com/Run\x12:\n\x03run\x18\x02 \x01(\x0b\x32(.google.cloud.datacatalog.lineage.v1.RunB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x7f\n\x10UpdateRunRequest\x12:\n\x03run\x18\x01 \x01(\x0b\x32(.google.cloud.datacatalog.lineage.v1.RunB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"E\n\rGetRunRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61talineage.googleapis.com/Run\"p\n\x0fListRunsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64\x61talineage.googleapis.com/Run\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"c\n\x10ListRunsResponse\x12\x36\n\x04runs\x18\x01 \x03(\x0b\x32(.google.cloud.datacatalog.lineage.v1.Run\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x10\x44\x65leteRunRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61talineage.googleapis.com/Run\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xbf\x01\n\x19\x43reateLineageEventRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'datalineage.googleapis.com/LineageEvent\x12M\n\rlineage_event\x18\x02 \x01(\x0b\x32\x31.google.cloud.datacatalog.lineage.v1.LineageEventB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"W\n\x16GetLineageEventRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'datalineage.googleapis.com/LineageEvent\"\x82\x01\n\x18ListLineageEventsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'datalineage.googleapis.com/LineageEvent\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x7f\n\x19ListLineageEventsResponse\x12I\n\x0elineage_events\x18\x01 \x03(\x0b\x32\x31.google.cloud.datacatalog.lineage.v1.LineageEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"q\n\x19\x44\x65leteLineageEventRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'datalineage.googleapis.com/LineageEvent\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa7\x02\n\x12SearchLinksRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12K\n\x06source\x18\x04 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x01H\x00\x12K\n\x06target\x18\x05 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x01H\x00\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x42\n\n\x08\x63riteria\"h\n\x13SearchLinksResponse\x12\x38\n\x05links\x18\x01 \x03(\x0b\x32).google.cloud.datacatalog.lineage.v1.Link\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x86\x02\n\x04Link\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x05\x12\x44\n\x06source\x18\x02 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReference\x12\x44\n\x06target\x18\x03 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReference\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x98\x01\n\x1f\x42\x61tchSearchLinkProcessesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12\x12\n\x05links\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x85\x01\n BatchSearchLinkProcessesResponse\x12H\n\rprocess_links\x18\x01 \x03(\x0b\x32\x31.google.cloud.datacatalog.lineage.v1.ProcessLinks\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8d\x01\n\x0cProcessLinks\x12\x38\n\x07process\x18\x01 \x01(\tB\'\xfa\x41$\n\"datalineage.googleapis.com/Process\x12\x43\n\x05links\x18\x02 \x03(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.ProcessLinkInfo\"}\n\x0fProcessLinkInfo\x12\x0c\n\x04link\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xda\x01\n\x06Origin\x12K\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x36.google.cloud.datacatalog.lineage.v1.Origin.SourceType\x12\x0c\n\x04name\x18\x02 \x01(\t\"u\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43USTOM\x10\x01\x12\x0c\n\x08\x42IGQUERY\x10\x02\x12\x0f\n\x0b\x44\x41TA_FUSION\x10\x03\x12\x0c\n\x08\x43OMPOSER\x10\x04\x12\x11\n\rLOOKER_STUDIO\x10\x05\x32\xa0\x1b\n\x07Lineage\x12\xc9\x01\n\rCreateProcess\x12\x39.google.cloud.datacatalog.lineage.v1.CreateProcessRequest\x1a,.google.cloud.datacatalog.lineage.v1.Process\"O\x82\xd3\xe4\x93\x02\x38\"-/v1/{parent=projects/*/locations/*}/processes:\x07process\xda\x41\x0eparent,process\x12\xd6\x01\n\rUpdateProcess\x12\x39.google.cloud.datacatalog.lineage.v1.UpdateProcessRequest\x1a,.google.cloud.datacatalog.lineage.v1.Process\"\\\x82\xd3\xe4\x93\x02@25/v1/{process.name=projects/*/locations/*/processes/*}:\x07process\xda\x41\x13process,update_mask\x12\xb0\x01\n\nGetProcess\x12\x36.google.cloud.datacatalog.lineage.v1.GetProcessRequest\x1a,.google.cloud.datacatalog.lineage.v1.Process\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/processes/*}\xda\x41\x04name\x12\xc6\x01\n\rListProcesses\x12\x39.google.cloud.datacatalog.lineage.v1.ListProcessesRequest\x1a:.google.cloud.datacatalog.lineage.v1.ListProcessesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/processes\xda\x41\x06parent\x12\xf9\x01\n\rDeleteProcess\x12\x39.google.cloud.datacatalog.lineage.v1.DeleteProcessRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/processes/*}\xda\x41\x04name\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.cloud.datacatalog.lineage.v1.OperationMetadata\x12\xbc\x01\n\tCreateRun\x12\x35.google.cloud.datacatalog.lineage.v1.CreateRunRequest\x1a(.google.cloud.datacatalog.lineage.v1.Run\"N\x82\xd3\xe4\x93\x02;\"4/v1/{parent=projects/*/locations/*/processes/*}/runs:\x03run\xda\x41\nparent,run\x12\xc5\x01\n\tUpdateRun\x12\x35.google.cloud.datacatalog.lineage.v1.UpdateRunRequest\x1a(.google.cloud.datacatalog.lineage.v1.Run\"W\x82\xd3\xe4\x93\x02?28/v1/{run.name=projects/*/locations/*/processes/*/runs/*}:\x03run\xda\x41\x0frun,update_mask\x12\xab\x01\n\x06GetRun\x12\x32.google.cloud.datacatalog.lineage.v1.GetRunRequest\x1a(.google.cloud.datacatalog.lineage.v1.Run\"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/processes/*/runs/*}\xda\x41\x04name\x12\xbe\x01\n\x08ListRuns\x12\x34.google.cloud.datacatalog.lineage.v1.ListRunsRequest\x1a\x35.google.cloud.datacatalog.lineage.v1.ListRunsResponse\"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*/processes/*}/runs\xda\x41\x06parent\x12\xf8\x01\n\tDeleteRun\x12\x35.google.cloud.datacatalog.lineage.v1.DeleteRunRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/processes/*/runs/*}\xda\x41\x04name\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.cloud.datacatalog.lineage.v1.OperationMetadata\x12\xfb\x01\n\x12\x43reateLineageEvent\x12>.google.cloud.datacatalog.lineage.v1.CreateLineageEventRequest\x1a\x31.google.cloud.datacatalog.lineage.v1.LineageEvent\"r\x82\xd3\xe4\x93\x02U\"D/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents:\rlineage_event\xda\x41\x14parent,lineage_event\x12\xd6\x01\n\x0fGetLineageEvent\x12;.google.cloud.datacatalog.lineage.v1.GetLineageEventRequest\x1a\x31.google.cloud.datacatalog.lineage.v1.LineageEvent\"S\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}\xda\x41\x04name\x12\xe9\x01\n\x11ListLineageEvents\x12=.google.cloud.datacatalog.lineage.v1.ListLineageEventsRequest\x1a>.google.cloud.datacatalog.lineage.v1.ListLineageEventsResponse\"U\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents\xda\x41\x06parent\x12\xc1\x01\n\x12\x44\x65leteLineageEvent\x12>.google.cloud.datacatalog.lineage.v1.DeleteLineageEventRequest\x1a\x16.google.protobuf.Empty\"S\x82\xd3\xe4\x93\x02\x46*D/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}\xda\x41\x04name\x12\xbc\x01\n\x0bSearchLinks\x12\x37.google.cloud.datacatalog.lineage.v1.SearchLinksRequest\x1a\x38.google.cloud.datacatalog.lineage.v1.SearchLinksResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1/{parent=projects/*/locations/*}:searchLinks:\x01*\x12\xf0\x01\n\x18\x42\x61tchSearchLinkProcesses\x12\x44.google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesRequest\x1a\x45.google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesResponse\"G\x82\xd3\xe4\x93\x02\x41\"</v1/{parent=projects/*/locations/*}:batchSearchLinkProcesses:\x01*\x1aN\xca\x41\x1a\x64\x61talineage.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf2\x01\n\'com.google.cloud.datacatalog.lineage.v1B\x0cLineageProtoP\x01ZAcloud.google.com/go/datacatalog/lineage/apiv1/lineagepb;lineagepb\xaa\x02#Google.Cloud.DataCatalog.Lineage.V1\xca\x02#Google\\Cloud\\DataCatalog\\Lineage\\V1\xea\x02\'Google::Cloud::DataCatalog::Lineage::V1b\x06proto3"
|
19
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError => e
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
34
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
35
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
36
|
+
]
|
37
|
+
imports.each do |type_name, expected_filename|
|
38
|
+
import_file = pool.lookup(type_name).file_descriptor
|
39
|
+
if import_file.name != expected_filename
|
40
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
193
41
|
end
|
194
42
|
end
|
43
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
44
|
+
warn "This will become an error in the next major version."
|
195
45
|
end
|
196
46
|
|
197
47
|
module Google
|
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# long-running operation pattern.
|
84
84
|
# @!attribute [rw] new_issue_uri
|
85
85
|
# @return [::String]
|
86
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
87
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
88
88
|
# @!attribute [rw] documentation_uri
|
89
89
|
# @return [::String]
|
@@ -353,6 +353,15 @@ module Google
|
|
353
353
|
|
354
354
|
# Street View Org.
|
355
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
356
365
|
end
|
357
366
|
|
358
367
|
# To where should client libraries be published?
|
@@ -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
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# `NullValue` is a singleton enumeration to represent the null value for the
|
88
88
|
# `Value` type union.
|
89
89
|
#
|
90
|
-
#
|
90
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
91
91
|
module NullValue
|
92
92
|
# Null value.
|
93
93
|
NULL_VALUE = 0
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
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
|