google-cloud-dataplex-v1 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataplex/v1/bindings_override.rb +327 -0
  4. data/lib/google/cloud/dataplex/v1/content_service/client.rb +4 -6
  5. data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +969 -0
  6. data/lib/google/cloud/dataplex/v1/content_service/rest/service_stub.rb +584 -0
  7. data/lib/google/cloud/dataplex/v1/content_service/rest.rb +53 -0
  8. data/lib/google/cloud/dataplex/v1/content_service.rb +6 -0
  9. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +20 -24
  10. data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +12 -14
  11. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +948 -0
  12. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +793 -0
  13. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +523 -0
  14. data/lib/google/cloud/dataplex/v1/data_scan_service/rest.rb +56 -0
  15. data/lib/google/cloud/dataplex/v1/data_scan_service.rb +6 -0
  16. data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +100 -120
  17. data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +12 -14
  18. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +2910 -0
  19. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +793 -0
  20. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +1947 -0
  21. data/lib/google/cloud/dataplex/v1/dataplex_service/rest.rb +58 -0
  22. data/lib/google/cloud/dataplex/v1/dataplex_service.rb +6 -0
  23. data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +8 -12
  24. data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +1051 -0
  25. data/lib/google/cloud/dataplex/v1/metadata_service/rest/service_stub.rb +582 -0
  26. data/lib/google/cloud/dataplex/v1/metadata_service/rest.rb +54 -0
  27. data/lib/google/cloud/dataplex/v1/metadata_service.rb +6 -0
  28. data/lib/google/cloud/dataplex/v1/rest.rb +41 -0
  29. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  30. data/lib/google/cloud/dataplex/v1.rb +5 -0
  31. metadata +27 -11
@@ -241,14 +241,14 @@ module Google
241
241
  # # Call the create_data_scan method.
242
242
  # result = client.create_data_scan request
243
243
  #
244
- # # The returned object is of type Gapic::Operation. You can use this
245
- # # object to check the status of an operation, cancel it, or wait
246
- # # for results. Here is how to block until completion:
244
+ # # The returned object is of type Gapic::Operation. You can use it to
245
+ # # check the status of an operation, cancel it, or wait for results.
246
+ # # Here is how to wait for a response.
247
247
  # result.wait_until_done! timeout: 60
248
248
  # if result.response?
249
249
  # p result.response
250
250
  # else
251
- # puts "Error!"
251
+ # puts "No response received."
252
252
  # end
253
253
  #
254
254
  def create_data_scan request, options = nil
@@ -338,14 +338,14 @@ module Google
338
338
  # # Call the update_data_scan method.
339
339
  # result = client.update_data_scan request
340
340
  #
341
- # # The returned object is of type Gapic::Operation. You can use this
342
- # # object to check the status of an operation, cancel it, or wait
343
- # # for results. Here is how to block until completion:
341
+ # # The returned object is of type Gapic::Operation. You can use it to
342
+ # # check the status of an operation, cancel it, or wait for results.
343
+ # # Here is how to wait for a response.
344
344
  # result.wait_until_done! timeout: 60
345
345
  # if result.response?
346
346
  # p result.response
347
347
  # else
348
- # puts "Error!"
348
+ # puts "No response received."
349
349
  # end
350
350
  #
351
351
  def update_data_scan request, options = nil
@@ -434,14 +434,14 @@ module Google
434
434
  # # Call the delete_data_scan method.
435
435
  # result = client.delete_data_scan request
436
436
  #
437
- # # The returned object is of type Gapic::Operation. You can use this
438
- # # object to check the status of an operation, cancel it, or wait
439
- # # for results. Here is how to block until completion:
437
+ # # The returned object is of type Gapic::Operation. You can use it to
438
+ # # check the status of an operation, cancel it, or wait for results.
439
+ # # Here is how to wait for a response.
440
440
  # result.wait_until_done! timeout: 60
441
441
  # if result.response?
442
442
  # p result.response
443
443
  # else
444
- # puts "Error!"
444
+ # puts "No response received."
445
445
  # end
446
446
  #
447
447
  def delete_data_scan request, options = nil
@@ -634,13 +634,11 @@ module Google
634
634
  # # Call the list_data_scans method.
635
635
  # result = client.list_data_scans request
636
636
  #
637
- # # The returned object is of type Gapic::PagedEnumerable. You can
638
- # # iterate over all elements by calling #each, and the enumerable
639
- # # will lazily make API calls to fetch subsequent pages. Other
640
- # # methods are also available for managing paging directly.
641
- # result.each do |response|
637
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
638
+ # # over elements, and API calls will be issued to fetch pages as needed.
639
+ # result.each do |item|
642
640
  # # Each element is of type ::Google::Cloud::Dataplex::V1::DataScan.
643
- # p response
641
+ # p item
644
642
  # end
645
643
  #
646
644
  def list_data_scans request, options = nil
@@ -919,13 +917,11 @@ module Google
919
917
  # # Call the list_data_scan_jobs method.
920
918
  # result = client.list_data_scan_jobs request
921
919
  #
922
- # # The returned object is of type Gapic::PagedEnumerable. You can
923
- # # iterate over all elements by calling #each, and the enumerable
924
- # # will lazily make API calls to fetch subsequent pages. Other
925
- # # methods are also available for managing paging directly.
926
- # result.each do |response|
920
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
921
+ # # over elements, and API calls will be issued to fetch pages as needed.
922
+ # result.each do |item|
927
923
  # # Each element is of type ::Google::Cloud::Dataplex::V1::DataScanJob.
928
- # p response
924
+ # p item
929
925
  # end
930
926
  #
931
927
  def list_data_scan_jobs request, options = nil
@@ -158,13 +158,11 @@ module Google
158
158
  # # Call the list_operations method.
159
159
  # result = client.list_operations request
160
160
  #
161
- # # The returned object is of type Gapic::PagedEnumerable. You can
162
- # # iterate over all elements by calling #each, and the enumerable
163
- # # will lazily make API calls to fetch subsequent pages. Other
164
- # # methods are also available for managing paging directly.
165
- # result.each do |response|
161
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
162
+ # # over elements, and API calls will be issued to fetch pages as needed.
163
+ # result.each do |item|
166
164
  # # Each element is of type ::Google::Longrunning::Operation.
167
- # p response
165
+ # p item
168
166
  # end
169
167
  #
170
168
  def list_operations request, options = nil
@@ -253,14 +251,14 @@ module Google
253
251
  # # Call the get_operation method.
254
252
  # result = client.get_operation request
255
253
  #
256
- # # The returned object is of type Gapic::Operation. You can use this
257
- # # object to check the status of an operation, cancel it, or wait
258
- # # for results. Here is how to block until completion:
254
+ # # The returned object is of type Gapic::Operation. You can use it to
255
+ # # check the status of an operation, cancel it, or wait for results.
256
+ # # Here is how to wait for a response.
259
257
  # result.wait_until_done! timeout: 60
260
258
  # if result.response?
261
259
  # p result.response
262
260
  # else
263
- # puts "Error!"
261
+ # puts "No response received."
264
262
  # end
265
263
  #
266
264
  def get_operation request, options = nil
@@ -540,14 +538,14 @@ module Google
540
538
  # # Call the wait_operation method.
541
539
  # result = client.wait_operation request
542
540
  #
543
- # # The returned object is of type Gapic::Operation. You can use this
544
- # # object to check the status of an operation, cancel it, or wait
545
- # # for results. Here is how to block until completion:
541
+ # # The returned object is of type Gapic::Operation. You can use it to
542
+ # # check the status of an operation, cancel it, or wait for results.
543
+ # # Here is how to wait for a response.
546
544
  # result.wait_until_done! timeout: 60
547
545
  # if result.response?
548
546
  # p result.response
549
547
  # else
550
- # puts "Error!"
548
+ # puts "No response received."
551
549
  # end
552
550
  #
553
551
  def wait_operation request, options = nil