google-cloud-dataplex-v1 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -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 this
357
- # # object to check the status of an operation, cancel it, or wait
358
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
456
- # # object to check the status of an operation, cancel it, or wait
457
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
551
- # # object to check the status of an operation, cancel it, or wait
552
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
659
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
847
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
954
- # # object to check the status of an operation, cancel it, or wait
955
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
1053
- # # object to check the status of an operation, cancel it, or wait
1054
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
1148
- # # object to check the status of an operation, cancel it, or wait
1149
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
1255
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
1443
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
1549
- # # object to check the status of an operation, cancel it, or wait
1550
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
1648
- # # object to check the status of an operation, cancel it, or wait
1649
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
1743
- # # object to check the status of an operation, cancel it, or wait
1744
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
1851
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
2039
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
2138
- # # object to check the status of an operation, cancel it, or wait
2139
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
2237
- # # object to check the status of an operation, cancel it, or wait
2238
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
2331
- # # object to check the status of an operation, cancel it, or wait
2332
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
2438
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
2626
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
2902
- # # object to check the status of an operation, cancel it, or wait
2903
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
3001
- # # object to check the status of an operation, cancel it, or wait
3002
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
3096
- # # object to check the status of an operation, cancel it, or wait
3097
- # # for results. Here is how to block until completion:
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 "Error!"
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
- # # iterate over all elements by calling #each, and the enumerable
3205
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
3403
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # 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