google-cloud-dataplex-v1 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dataplex/v1/bindings_override.rb +327 -0
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +4 -6
- data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +969 -0
- data/lib/google/cloud/dataplex/v1/content_service/rest/service_stub.rb +584 -0
- data/lib/google/cloud/dataplex/v1/content_service/rest.rb +53 -0
- data/lib/google/cloud/dataplex/v1/content_service.rb +6 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +55 -53
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +12 -14
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +948 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +793 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +523 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest.rb +56 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service.rb +10 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +100 -120
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +12 -14
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +2910 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +793 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +1947 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest.rb +58 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service.rb +6 -0
- data/lib/google/cloud/dataplex/v1/datascans_services_pb.rb +11 -8
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +8 -12
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +1051 -0
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/service_stub.rb +582 -0
- data/lib/google/cloud/dataplex/v1/metadata_service/rest.rb +54 -0
- data/lib/google/cloud/dataplex/v1/metadata_service.rb +6 -0
- data/lib/google/cloud/dataplex/v1/rest.rb +41 -0
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +5 -0
- data/proto_docs/google/cloud/dataplex/v1/datascans.rb +49 -41
- metadata +28 -12
@@ -353,14 +353,14 @@ module Google
|
|
353
353
|
# # Call the create_lake method.
|
354
354
|
# result = client.create_lake request
|
355
355
|
#
|
356
|
-
# # The returned object is of type Gapic::Operation. You can use
|
357
|
-
# #
|
358
|
-
# #
|
356
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
357
|
+
# # check the status of an operation, cancel it, or wait for results.
|
358
|
+
# # Here is how to wait for a response.
|
359
359
|
# result.wait_until_done! timeout: 60
|
360
360
|
# if result.response?
|
361
361
|
# p result.response
|
362
362
|
# else
|
363
|
-
# puts "
|
363
|
+
# puts "No response received."
|
364
364
|
# end
|
365
365
|
#
|
366
366
|
def create_lake request, options = nil
|
@@ -452,14 +452,14 @@ module Google
|
|
452
452
|
# # Call the update_lake method.
|
453
453
|
# result = client.update_lake request
|
454
454
|
#
|
455
|
-
# # The returned object is of type Gapic::Operation. You can use
|
456
|
-
# #
|
457
|
-
# #
|
455
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
456
|
+
# # check the status of an operation, cancel it, or wait for results.
|
457
|
+
# # Here is how to wait for a response.
|
458
458
|
# result.wait_until_done! timeout: 60
|
459
459
|
# if result.response?
|
460
460
|
# p result.response
|
461
461
|
# else
|
462
|
-
# puts "
|
462
|
+
# puts "No response received."
|
463
463
|
# end
|
464
464
|
#
|
465
465
|
def update_lake request, options = nil
|
@@ -547,14 +547,14 @@ module Google
|
|
547
547
|
# # Call the delete_lake method.
|
548
548
|
# result = client.delete_lake request
|
549
549
|
#
|
550
|
-
# # The returned object is of type Gapic::Operation. You can use
|
551
|
-
# #
|
552
|
-
# #
|
550
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
551
|
+
# # check the status of an operation, cancel it, or wait for results.
|
552
|
+
# # Here is how to wait for a response.
|
553
553
|
# result.wait_until_done! timeout: 60
|
554
554
|
# if result.response?
|
555
555
|
# p result.response
|
556
556
|
# else
|
557
|
-
# puts "
|
557
|
+
# puts "No response received."
|
558
558
|
# end
|
559
559
|
#
|
560
560
|
def delete_lake request, options = nil
|
@@ -654,13 +654,11 @@ module Google
|
|
654
654
|
# # Call the list_lakes method.
|
655
655
|
# result = client.list_lakes request
|
656
656
|
#
|
657
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
658
|
-
# #
|
659
|
-
#
|
660
|
-
# # methods are also available for managing paging directly.
|
661
|
-
# result.each do |response|
|
657
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
658
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
659
|
+
# result.each do |item|
|
662
660
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Lake.
|
663
|
-
# p
|
661
|
+
# p item
|
664
662
|
# end
|
665
663
|
#
|
666
664
|
def list_lakes request, options = nil
|
@@ -842,13 +840,11 @@ module Google
|
|
842
840
|
# # Call the list_lake_actions method.
|
843
841
|
# result = client.list_lake_actions request
|
844
842
|
#
|
845
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
846
|
-
# #
|
847
|
-
#
|
848
|
-
# # methods are also available for managing paging directly.
|
849
|
-
# result.each do |response|
|
843
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
844
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
845
|
+
# result.each do |item|
|
850
846
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Action.
|
851
|
-
# p
|
847
|
+
# p item
|
852
848
|
# end
|
853
849
|
#
|
854
850
|
def list_lake_actions request, options = nil
|
@@ -950,14 +946,14 @@ module Google
|
|
950
946
|
# # Call the create_zone method.
|
951
947
|
# result = client.create_zone request
|
952
948
|
#
|
953
|
-
# # The returned object is of type Gapic::Operation. You can use
|
954
|
-
# #
|
955
|
-
# #
|
949
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
950
|
+
# # check the status of an operation, cancel it, or wait for results.
|
951
|
+
# # Here is how to wait for a response.
|
956
952
|
# result.wait_until_done! timeout: 60
|
957
953
|
# if result.response?
|
958
954
|
# p result.response
|
959
955
|
# else
|
960
|
-
# puts "
|
956
|
+
# puts "No response received."
|
961
957
|
# end
|
962
958
|
#
|
963
959
|
def create_zone request, options = nil
|
@@ -1049,14 +1045,14 @@ module Google
|
|
1049
1045
|
# # Call the update_zone method.
|
1050
1046
|
# result = client.update_zone request
|
1051
1047
|
#
|
1052
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1053
|
-
# #
|
1054
|
-
# #
|
1048
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1049
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1050
|
+
# # Here is how to wait for a response.
|
1055
1051
|
# result.wait_until_done! timeout: 60
|
1056
1052
|
# if result.response?
|
1057
1053
|
# p result.response
|
1058
1054
|
# else
|
1059
|
-
# puts "
|
1055
|
+
# puts "No response received."
|
1060
1056
|
# end
|
1061
1057
|
#
|
1062
1058
|
def update_zone request, options = nil
|
@@ -1144,14 +1140,14 @@ module Google
|
|
1144
1140
|
# # Call the delete_zone method.
|
1145
1141
|
# result = client.delete_zone request
|
1146
1142
|
#
|
1147
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1148
|
-
# #
|
1149
|
-
# #
|
1143
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1144
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1145
|
+
# # Here is how to wait for a response.
|
1150
1146
|
# result.wait_until_done! timeout: 60
|
1151
1147
|
# if result.response?
|
1152
1148
|
# p result.response
|
1153
1149
|
# else
|
1154
|
-
# puts "
|
1150
|
+
# puts "No response received."
|
1155
1151
|
# end
|
1156
1152
|
#
|
1157
1153
|
def delete_zone request, options = nil
|
@@ -1250,13 +1246,11 @@ module Google
|
|
1250
1246
|
# # Call the list_zones method.
|
1251
1247
|
# result = client.list_zones request
|
1252
1248
|
#
|
1253
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1254
|
-
# #
|
1255
|
-
#
|
1256
|
-
# # methods are also available for managing paging directly.
|
1257
|
-
# result.each do |response|
|
1249
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1250
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1251
|
+
# result.each do |item|
|
1258
1252
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Zone.
|
1259
|
-
# p
|
1253
|
+
# p item
|
1260
1254
|
# end
|
1261
1255
|
#
|
1262
1256
|
def list_zones request, options = nil
|
@@ -1438,13 +1432,11 @@ module Google
|
|
1438
1432
|
# # Call the list_zone_actions method.
|
1439
1433
|
# result = client.list_zone_actions request
|
1440
1434
|
#
|
1441
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1442
|
-
# #
|
1443
|
-
#
|
1444
|
-
# # methods are also available for managing paging directly.
|
1445
|
-
# result.each do |response|
|
1435
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1436
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1437
|
+
# result.each do |item|
|
1446
1438
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Action.
|
1447
|
-
# p
|
1439
|
+
# p item
|
1448
1440
|
# end
|
1449
1441
|
#
|
1450
1442
|
def list_zone_actions request, options = nil
|
@@ -1545,14 +1537,14 @@ module Google
|
|
1545
1537
|
# # Call the create_asset method.
|
1546
1538
|
# result = client.create_asset request
|
1547
1539
|
#
|
1548
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1549
|
-
# #
|
1550
|
-
# #
|
1540
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1541
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1542
|
+
# # Here is how to wait for a response.
|
1551
1543
|
# result.wait_until_done! timeout: 60
|
1552
1544
|
# if result.response?
|
1553
1545
|
# p result.response
|
1554
1546
|
# else
|
1555
|
-
# puts "
|
1547
|
+
# puts "No response received."
|
1556
1548
|
# end
|
1557
1549
|
#
|
1558
1550
|
def create_asset request, options = nil
|
@@ -1644,14 +1636,14 @@ module Google
|
|
1644
1636
|
# # Call the update_asset method.
|
1645
1637
|
# result = client.update_asset request
|
1646
1638
|
#
|
1647
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1648
|
-
# #
|
1649
|
-
# #
|
1639
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1640
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1641
|
+
# # Here is how to wait for a response.
|
1650
1642
|
# result.wait_until_done! timeout: 60
|
1651
1643
|
# if result.response?
|
1652
1644
|
# p result.response
|
1653
1645
|
# else
|
1654
|
-
# puts "
|
1646
|
+
# puts "No response received."
|
1655
1647
|
# end
|
1656
1648
|
#
|
1657
1649
|
def update_asset request, options = nil
|
@@ -1739,14 +1731,14 @@ module Google
|
|
1739
1731
|
# # Call the delete_asset method.
|
1740
1732
|
# result = client.delete_asset request
|
1741
1733
|
#
|
1742
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1743
|
-
# #
|
1744
|
-
# #
|
1734
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1735
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1736
|
+
# # Here is how to wait for a response.
|
1745
1737
|
# result.wait_until_done! timeout: 60
|
1746
1738
|
# if result.response?
|
1747
1739
|
# p result.response
|
1748
1740
|
# else
|
1749
|
-
# puts "
|
1741
|
+
# puts "No response received."
|
1750
1742
|
# end
|
1751
1743
|
#
|
1752
1744
|
def delete_asset request, options = nil
|
@@ -1846,13 +1838,11 @@ module Google
|
|
1846
1838
|
# # Call the list_assets method.
|
1847
1839
|
# result = client.list_assets request
|
1848
1840
|
#
|
1849
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1850
|
-
# #
|
1851
|
-
#
|
1852
|
-
# # methods are also available for managing paging directly.
|
1853
|
-
# result.each do |response|
|
1841
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1842
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1843
|
+
# result.each do |item|
|
1854
1844
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Asset.
|
1855
|
-
# p
|
1845
|
+
# p item
|
1856
1846
|
# end
|
1857
1847
|
#
|
1858
1848
|
def list_assets request, options = nil
|
@@ -2034,13 +2024,11 @@ module Google
|
|
2034
2024
|
# # Call the list_asset_actions method.
|
2035
2025
|
# result = client.list_asset_actions request
|
2036
2026
|
#
|
2037
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
2038
|
-
# #
|
2039
|
-
#
|
2040
|
-
# # methods are also available for managing paging directly.
|
2041
|
-
# result.each do |response|
|
2027
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2028
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2029
|
+
# result.each do |item|
|
2042
2030
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Action.
|
2043
|
-
# p
|
2031
|
+
# p item
|
2044
2032
|
# end
|
2045
2033
|
#
|
2046
2034
|
def list_asset_actions request, options = nil
|
@@ -2134,14 +2122,14 @@ module Google
|
|
2134
2122
|
# # Call the create_task method.
|
2135
2123
|
# result = client.create_task request
|
2136
2124
|
#
|
2137
|
-
# # The returned object is of type Gapic::Operation. You can use
|
2138
|
-
# #
|
2139
|
-
# #
|
2125
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2126
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2127
|
+
# # Here is how to wait for a response.
|
2140
2128
|
# result.wait_until_done! timeout: 60
|
2141
2129
|
# if result.response?
|
2142
2130
|
# p result.response
|
2143
2131
|
# else
|
2144
|
-
# puts "
|
2132
|
+
# puts "No response received."
|
2145
2133
|
# end
|
2146
2134
|
#
|
2147
2135
|
def create_task request, options = nil
|
@@ -2233,14 +2221,14 @@ module Google
|
|
2233
2221
|
# # Call the update_task method.
|
2234
2222
|
# result = client.update_task request
|
2235
2223
|
#
|
2236
|
-
# # The returned object is of type Gapic::Operation. You can use
|
2237
|
-
# #
|
2238
|
-
# #
|
2224
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2225
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2226
|
+
# # Here is how to wait for a response.
|
2239
2227
|
# result.wait_until_done! timeout: 60
|
2240
2228
|
# if result.response?
|
2241
2229
|
# p result.response
|
2242
2230
|
# else
|
2243
|
-
# puts "
|
2231
|
+
# puts "No response received."
|
2244
2232
|
# end
|
2245
2233
|
#
|
2246
2234
|
def update_task request, options = nil
|
@@ -2327,14 +2315,14 @@ module Google
|
|
2327
2315
|
# # Call the delete_task method.
|
2328
2316
|
# result = client.delete_task request
|
2329
2317
|
#
|
2330
|
-
# # The returned object is of type Gapic::Operation. You can use
|
2331
|
-
# #
|
2332
|
-
# #
|
2318
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2319
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2320
|
+
# # Here is how to wait for a response.
|
2333
2321
|
# result.wait_until_done! timeout: 60
|
2334
2322
|
# if result.response?
|
2335
2323
|
# p result.response
|
2336
2324
|
# else
|
2337
|
-
# puts "
|
2325
|
+
# puts "No response received."
|
2338
2326
|
# end
|
2339
2327
|
#
|
2340
2328
|
def delete_task request, options = nil
|
@@ -2433,13 +2421,11 @@ module Google
|
|
2433
2421
|
# # Call the list_tasks method.
|
2434
2422
|
# result = client.list_tasks request
|
2435
2423
|
#
|
2436
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
2437
|
-
# #
|
2438
|
-
#
|
2439
|
-
# # methods are also available for managing paging directly.
|
2440
|
-
# result.each do |response|
|
2424
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2425
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2426
|
+
# result.each do |item|
|
2441
2427
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Task.
|
2442
|
-
# p
|
2428
|
+
# p item
|
2443
2429
|
# end
|
2444
2430
|
#
|
2445
2431
|
def list_tasks request, options = nil
|
@@ -2621,13 +2607,11 @@ module Google
|
|
2621
2607
|
# # Call the list_jobs method.
|
2622
2608
|
# result = client.list_jobs request
|
2623
2609
|
#
|
2624
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
2625
|
-
# #
|
2626
|
-
#
|
2627
|
-
# # methods are also available for managing paging directly.
|
2628
|
-
# result.each do |response|
|
2610
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2611
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2612
|
+
# result.each do |item|
|
2629
2613
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Job.
|
2630
|
-
# p
|
2614
|
+
# p item
|
2631
2615
|
# end
|
2632
2616
|
#
|
2633
2617
|
def list_jobs request, options = nil
|
@@ -2898,14 +2882,14 @@ module Google
|
|
2898
2882
|
# # Call the create_environment method.
|
2899
2883
|
# result = client.create_environment request
|
2900
2884
|
#
|
2901
|
-
# # The returned object is of type Gapic::Operation. You can use
|
2902
|
-
# #
|
2903
|
-
# #
|
2885
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2886
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2887
|
+
# # Here is how to wait for a response.
|
2904
2888
|
# result.wait_until_done! timeout: 60
|
2905
2889
|
# if result.response?
|
2906
2890
|
# p result.response
|
2907
2891
|
# else
|
2908
|
-
# puts "
|
2892
|
+
# puts "No response received."
|
2909
2893
|
# end
|
2910
2894
|
#
|
2911
2895
|
def create_environment request, options = nil
|
@@ -2997,14 +2981,14 @@ module Google
|
|
2997
2981
|
# # Call the update_environment method.
|
2998
2982
|
# result = client.update_environment request
|
2999
2983
|
#
|
3000
|
-
# # The returned object is of type Gapic::Operation. You can use
|
3001
|
-
# #
|
3002
|
-
# #
|
2984
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2985
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2986
|
+
# # Here is how to wait for a response.
|
3003
2987
|
# result.wait_until_done! timeout: 60
|
3004
2988
|
# if result.response?
|
3005
2989
|
# p result.response
|
3006
2990
|
# else
|
3007
|
-
# puts "
|
2991
|
+
# puts "No response received."
|
3008
2992
|
# end
|
3009
2993
|
#
|
3010
2994
|
def update_environment request, options = nil
|
@@ -3092,14 +3076,14 @@ module Google
|
|
3092
3076
|
# # Call the delete_environment method.
|
3093
3077
|
# result = client.delete_environment request
|
3094
3078
|
#
|
3095
|
-
# # The returned object is of type Gapic::Operation. You can use
|
3096
|
-
# #
|
3097
|
-
# #
|
3079
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
3080
|
+
# # check the status of an operation, cancel it, or wait for results.
|
3081
|
+
# # Here is how to wait for a response.
|
3098
3082
|
# result.wait_until_done! timeout: 60
|
3099
3083
|
# if result.response?
|
3100
3084
|
# p result.response
|
3101
3085
|
# else
|
3102
|
-
# puts "
|
3086
|
+
# puts "No response received."
|
3103
3087
|
# end
|
3104
3088
|
#
|
3105
3089
|
def delete_environment request, options = nil
|
@@ -3200,13 +3184,11 @@ module Google
|
|
3200
3184
|
# # Call the list_environments method.
|
3201
3185
|
# result = client.list_environments request
|
3202
3186
|
#
|
3203
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
3204
|
-
# #
|
3205
|
-
#
|
3206
|
-
# # methods are also available for managing paging directly.
|
3207
|
-
# result.each do |response|
|
3187
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
3188
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
3189
|
+
# result.each do |item|
|
3208
3190
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Environment.
|
3209
|
-
# p
|
3191
|
+
# p item
|
3210
3192
|
# end
|
3211
3193
|
#
|
3212
3194
|
def list_environments request, options = nil
|
@@ -3398,13 +3380,11 @@ module Google
|
|
3398
3380
|
# # Call the list_sessions method.
|
3399
3381
|
# result = client.list_sessions request
|
3400
3382
|
#
|
3401
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
3402
|
-
# #
|
3403
|
-
#
|
3404
|
-
# # methods are also available for managing paging directly.
|
3405
|
-
# result.each do |response|
|
3383
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
3384
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
3385
|
+
# result.each do |item|
|
3406
3386
|
# # Each element is of type ::Google::Cloud::Dataplex::V1::Session.
|
3407
|
-
# p
|
3387
|
+
# p item
|
3408
3388
|
# end
|
3409
3389
|
#
|
3410
3390
|
def list_sessions 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
|
-
# #
|
163
|
-
#
|
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
|
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
|
257
|
-
# #
|
258
|
-
# #
|
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 "
|
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
|
544
|
-
# #
|
545
|
-
# #
|
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 "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|