google-cloud-data_catalog-lineage-v1 0.1.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bd47ae5fab6e8c362dfcc9f1848bd894402157a7768df21bfe766b6f2bec9f0
4
- data.tar.gz: d0a235164398bfcbccd9f857b4f5a7d34b750a458ec6757dda02df4b16fe4bef
3
+ metadata.gz: 6892951921d80c5bea28b6f153784e5eae08bbdbc7181938e073589593b8ea26
4
+ data.tar.gz: 73c1fb053e22591c99a31ba83b526bae611ff61964eb35f0bcd52f1babc74b43
5
5
  SHA512:
6
- metadata.gz: f79b9f0c56940e24369d91af39ebc58ad5e44a0852e6da8d7403dd795e7dc47ca13a692c2e1f9d9fd4eb62494488cf67e5dcddf06a77865b358bee0c1a82cf59
7
- data.tar.gz: 78eb1ddbc644fcc614bc11f1ee8d7fbc72f52b271b88fcda546283c34498e58759358a3c04c84f1e248b4135f9e9f7e32996261f1e6beeb780d33bb125b78444
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://googleapis.dev/ruby/google-cloud-logging/latest)
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
- # # iterate over all elements by calling #each, and the enumerable
494
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
588
- # # object to check the status of an operation, cancel it, or wait
589
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
963
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
1057
- # # object to check the status of an operation, cancel it, or wait
1058
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
1341
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
1548
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 where you want to search.
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
- # # iterate over all elements by calling #each, and the enumerable
1671
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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
- # # iterate over all elements by calling #each, and the enumerable
164
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
258
- # # object to check the status of an operation, cancel it, or wait
259
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
545
- # # object to check the status of an operation, cancel it, or wait
546
- # # for results. Here is how to block until completion:
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 "Error!"
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://googleapis.dev/ruby/googleauth/latest/index.html))
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://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
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