google-cloud-data_catalog-lineage-v1 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/client.rb +32 -42
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/operations.rb +14 -16
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/client.rb +1549 -0
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/operations.rb +795 -0
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/service_stub.rb +1001 -0
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest.rb +58 -0
- data/lib/google/cloud/data_catalog/lineage/v1/lineage.rb +6 -0
- data/lib/google/cloud/data_catalog/lineage/v1/rest.rb +39 -0
- data/lib/google/cloud/data_catalog/lineage/v1/version.rb +1 -1
- data/lib/google/cloud/data_catalog/lineage/v1.rb +5 -0
- data/proto_docs/google/api/client.rb +57 -3
- data/proto_docs/google/cloud/datacatalog/lineage/v1/lineage.rb +2 -2
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6892951921d80c5bea28b6f153784e5eae08bbdbc7181938e073589593b8ea26
|
4
|
+
data.tar.gz: 73c1fb053e22591c99a31ba83b526bae611ff61964eb35f0bcd52f1babc74b43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 426fa6291dfdfa2c95edb832fb52c5e18f7c1ec768a459b95dd441ca5c19535c812983ee91b4f414cc2a00466900ad8e3357b5f2b6c92df3b10a648c89ef820e
|
7
|
+
data.tar.gz: 81882851ea236b48409f730c7f78d183f9ed999821fcce70e0d3e48089a9e9d0e3435f6fe1d82b83e9af7edd85cbe29d712f174d94775ac9ce5a4e3d72a52792
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -489,13 +489,11 @@ module Google
|
|
489
489
|
# # Call the list_processes method.
|
490
490
|
# result = client.list_processes request
|
491
491
|
#
|
492
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
493
|
-
# #
|
494
|
-
#
|
495
|
-
# # methods are also available for managing paging directly.
|
496
|
-
# result.each do |response|
|
492
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
493
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
494
|
+
# result.each do |item|
|
497
495
|
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::Process.
|
498
|
-
# p
|
496
|
+
# p item
|
499
497
|
# end
|
500
498
|
#
|
501
499
|
def list_processes request, options = nil
|
@@ -584,14 +582,14 @@ module Google
|
|
584
582
|
# # Call the delete_process method.
|
585
583
|
# result = client.delete_process request
|
586
584
|
#
|
587
|
-
# # The returned object is of type Gapic::Operation. You can use
|
588
|
-
# #
|
589
|
-
# #
|
585
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
586
|
+
# # check the status of an operation, cancel it, or wait for results.
|
587
|
+
# # Here is how to wait for a response.
|
590
588
|
# result.wait_until_done! timeout: 60
|
591
589
|
# if result.response?
|
592
590
|
# p result.response
|
593
591
|
# else
|
594
|
-
# puts "
|
592
|
+
# puts "No response received."
|
595
593
|
# end
|
596
594
|
#
|
597
595
|
def delete_process request, options = nil
|
@@ -958,13 +956,11 @@ module Google
|
|
958
956
|
# # Call the list_runs method.
|
959
957
|
# result = client.list_runs request
|
960
958
|
#
|
961
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
962
|
-
# #
|
963
|
-
#
|
964
|
-
# # methods are also available for managing paging directly.
|
965
|
-
# result.each do |response|
|
959
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
960
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
961
|
+
# result.each do |item|
|
966
962
|
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::Run.
|
967
|
-
# p
|
963
|
+
# p item
|
968
964
|
# end
|
969
965
|
#
|
970
966
|
def list_runs request, options = nil
|
@@ -1053,14 +1049,14 @@ module Google
|
|
1053
1049
|
# # Call the delete_run method.
|
1054
1050
|
# result = client.delete_run request
|
1055
1051
|
#
|
1056
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1057
|
-
# #
|
1058
|
-
# #
|
1052
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1053
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1054
|
+
# # Here is how to wait for a response.
|
1059
1055
|
# result.wait_until_done! timeout: 60
|
1060
1056
|
# if result.response?
|
1061
1057
|
# p result.response
|
1062
1058
|
# else
|
1063
|
-
# puts "
|
1059
|
+
# puts "No response received."
|
1064
1060
|
# end
|
1065
1061
|
#
|
1066
1062
|
def delete_run request, options = nil
|
@@ -1336,13 +1332,11 @@ module Google
|
|
1336
1332
|
# # Call the list_lineage_events method.
|
1337
1333
|
# result = client.list_lineage_events request
|
1338
1334
|
#
|
1339
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1340
|
-
# #
|
1341
|
-
#
|
1342
|
-
# # methods are also available for managing paging directly.
|
1343
|
-
# result.each do |response|
|
1335
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1336
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1337
|
+
# result.each do |item|
|
1344
1338
|
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::LineageEvent.
|
1345
|
-
# p
|
1339
|
+
# p item
|
1346
1340
|
# end
|
1347
1341
|
#
|
1348
1342
|
def list_lineage_events request, options = nil
|
@@ -1502,7 +1496,7 @@ module Google
|
|
1502
1496
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1503
1497
|
#
|
1504
1498
|
# @param parent [::String]
|
1505
|
-
# Required. The project and location you want search in
|
1499
|
+
# Required. The project and location you want search in the format `projects/*/locations/*`
|
1506
1500
|
# @param source [::Google::Cloud::DataCatalog::Lineage::V1::EntityReference, ::Hash]
|
1507
1501
|
# Optional. Send asset information in the **source** field to retrieve all
|
1508
1502
|
# links that lead from the specified asset to downstream assets.
|
@@ -1543,13 +1537,11 @@ module Google
|
|
1543
1537
|
# # Call the search_links method.
|
1544
1538
|
# result = client.search_links request
|
1545
1539
|
#
|
1546
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1547
|
-
# #
|
1548
|
-
#
|
1549
|
-
# # methods are also available for managing paging directly.
|
1550
|
-
# result.each do |response|
|
1540
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1541
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1542
|
+
# result.each do |item|
|
1551
1543
|
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::Link.
|
1552
|
-
# p
|
1544
|
+
# p item
|
1553
1545
|
# end
|
1554
1546
|
#
|
1555
1547
|
def search_links request, options = nil
|
@@ -1626,7 +1618,7 @@ module Google
|
|
1626
1618
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1627
1619
|
#
|
1628
1620
|
# @param parent [::String]
|
1629
|
-
# Required. The project and location
|
1621
|
+
# Required. The project and location you want search in the format `projects/*/locations/*`
|
1630
1622
|
# @param links [::Array<::String>]
|
1631
1623
|
# Required. An array of links to check for their associated LineageProcesses.
|
1632
1624
|
#
|
@@ -1666,13 +1658,11 @@ module Google
|
|
1666
1658
|
# # Call the batch_search_link_processes method.
|
1667
1659
|
# result = client.batch_search_link_processes request
|
1668
1660
|
#
|
1669
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1670
|
-
# #
|
1671
|
-
#
|
1672
|
-
# # methods are also available for managing paging directly.
|
1673
|
-
# result.each do |response|
|
1661
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1662
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1663
|
+
# result.each do |item|
|
1674
1664
|
# # Each element is of type ::Google::Cloud::DataCatalog::Lineage::V1::ProcessLinks.
|
1675
|
-
# p
|
1665
|
+
# p item
|
1676
1666
|
# end
|
1677
1667
|
#
|
1678
1668
|
def batch_search_link_processes request, options = nil
|
@@ -1755,9 +1745,9 @@ module Google
|
|
1755
1745
|
# * (`String`) The path to a service account key file in JSON format
|
1756
1746
|
# * (`Hash`) A service account key as a Hash
|
1757
1747
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1758
|
-
# (see the [googleauth docs](https://
|
1748
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1759
1749
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1760
|
-
# (see the [signet docs](https://
|
1750
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1761
1751
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1762
1752
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1763
1753
|
# * (`nil`) indicating no credentials
|
@@ -159,13 +159,11 @@ module Google
|
|
159
159
|
# # Call the list_operations method.
|
160
160
|
# result = client.list_operations request
|
161
161
|
#
|
162
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
163
|
-
# #
|
164
|
-
#
|
165
|
-
# # methods are also available for managing paging directly.
|
166
|
-
# result.each do |response|
|
162
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
163
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
164
|
+
# result.each do |item|
|
167
165
|
# # Each element is of type ::Google::Longrunning::Operation.
|
168
|
-
# p
|
166
|
+
# p item
|
169
167
|
# end
|
170
168
|
#
|
171
169
|
def list_operations request, options = nil
|
@@ -254,14 +252,14 @@ module Google
|
|
254
252
|
# # Call the get_operation method.
|
255
253
|
# result = client.get_operation request
|
256
254
|
#
|
257
|
-
# # The returned object is of type Gapic::Operation. You can use
|
258
|
-
# #
|
259
|
-
# #
|
255
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
256
|
+
# # check the status of an operation, cancel it, or wait for results.
|
257
|
+
# # Here is how to wait for a response.
|
260
258
|
# result.wait_until_done! timeout: 60
|
261
259
|
# if result.response?
|
262
260
|
# p result.response
|
263
261
|
# else
|
264
|
-
# puts "
|
262
|
+
# puts "No response received."
|
265
263
|
# end
|
266
264
|
#
|
267
265
|
def get_operation request, options = nil
|
@@ -541,14 +539,14 @@ module Google
|
|
541
539
|
# # Call the wait_operation method.
|
542
540
|
# result = client.wait_operation request
|
543
541
|
#
|
544
|
-
# # The returned object is of type Gapic::Operation. You can use
|
545
|
-
# #
|
546
|
-
# #
|
542
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
543
|
+
# # check the status of an operation, cancel it, or wait for results.
|
544
|
+
# # Here is how to wait for a response.
|
547
545
|
# result.wait_until_done! timeout: 60
|
548
546
|
# if result.response?
|
549
547
|
# p result.response
|
550
548
|
# else
|
551
|
-
# puts "
|
549
|
+
# puts "No response received."
|
552
550
|
# end
|
553
551
|
#
|
554
552
|
def wait_operation request, options = nil
|
@@ -623,9 +621,9 @@ module Google
|
|
623
621
|
# * (`String`) The path to a service account key file in JSON format
|
624
622
|
# * (`Hash`) A service account key as a Hash
|
625
623
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
626
|
-
# (see the [googleauth docs](https://
|
624
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
627
625
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
628
|
-
# (see the [signet docs](https://
|
626
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
629
627
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
630
628
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
631
629
|
# * (`nil`) indicating no credentials
|