google-cloud-notebooks-v1 0.4.2 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/notebooks/v1/bindings_override.rb +159 -0
  4. data/lib/google/cloud/notebooks/v1/diagnostic_config_pb.rb +24 -8
  5. data/lib/google/cloud/notebooks/v1/environment_pb.rb +25 -23
  6. data/lib/google/cloud/notebooks/v1/event_pb.rb +25 -13
  7. data/lib/google/cloud/notebooks/v1/execution_pb.rb +25 -79
  8. data/lib/google/cloud/notebooks/v1/instance_config_pb.rb +24 -5
  9. data/lib/google/cloud/notebooks/v1/instance_pb.rb +26 -146
  10. data/lib/google/cloud/notebooks/v1/managed_notebook_service/client.rb +46 -48
  11. data/lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb +14 -16
  12. data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/client.rb +1342 -0
  13. data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/operations.rb +793 -0
  14. data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/service_stub.rb +825 -0
  15. data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest.rb +54 -0
  16. data/lib/google/cloud/notebooks/v1/managed_notebook_service.rb +6 -0
  17. data/lib/google/cloud/notebooks/v1/managed_service_pb.rb +29 -68
  18. data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +110 -118
  19. data/lib/google/cloud/notebooks/v1/notebook_service/operations.rb +14 -16
  20. data/lib/google/cloud/notebooks/v1/notebook_service/rest/client.rb +2898 -0
  21. data/lib/google/cloud/notebooks/v1/notebook_service/rest/operations.rb +793 -0
  22. data/lib/google/cloud/notebooks/v1/notebook_service/rest/service_stub.rb +2074 -0
  23. data/lib/google/cloud/notebooks/v1/notebook_service/rest.rb +54 -0
  24. data/lib/google/cloud/notebooks/v1/notebook_service.rb +6 -0
  25. data/lib/google/cloud/notebooks/v1/rest.rb +39 -0
  26. data/lib/google/cloud/notebooks/v1/runtime_pb.rb +26 -152
  27. data/lib/google/cloud/notebooks/v1/schedule_pb.rb +26 -22
  28. data/lib/google/cloud/notebooks/v1/service_pb.rb +31 -196
  29. data/lib/google/cloud/notebooks/v1/version.rb +1 -1
  30. data/lib/google/cloud/notebooks/v1.rb +5 -0
  31. data/proto_docs/google/api/client.rb +67 -4
  32. data/proto_docs/google/protobuf/any.rb +7 -4
  33. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  34. metadata +22 -12
@@ -301,13 +301,11 @@ module Google
301
301
  # # Call the list_instances method.
302
302
  # result = client.list_instances request
303
303
  #
304
- # # The returned object is of type Gapic::PagedEnumerable. You can
305
- # # iterate over all elements by calling #each, and the enumerable
306
- # # will lazily make API calls to fetch subsequent pages. Other
307
- # # methods are also available for managing paging directly.
308
- # result.each do |response|
304
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
305
+ # # over elements, and API calls will be issued to fetch pages as needed.
306
+ # result.each do |item|
309
307
  # # Each element is of type ::Google::Cloud::Notebooks::V1::Instance.
310
- # p response
308
+ # p item
311
309
  # end
312
310
  #
313
311
  def list_instances request, options = nil
@@ -484,14 +482,14 @@ module Google
484
482
  # # Call the create_instance method.
485
483
  # result = client.create_instance request
486
484
  #
487
- # # The returned object is of type Gapic::Operation. You can use this
488
- # # object to check the status of an operation, cancel it, or wait
489
- # # for results. Here is how to block until completion:
485
+ # # The returned object is of type Gapic::Operation. You can use it to
486
+ # # check the status of an operation, cancel it, or wait for results.
487
+ # # Here is how to wait for a response.
490
488
  # result.wait_until_done! timeout: 60
491
489
  # if result.response?
492
490
  # p result.response
493
491
  # else
494
- # puts "Error!"
492
+ # puts "No response received."
495
493
  # end
496
494
  #
497
495
  def create_instance request, options = nil
@@ -586,14 +584,14 @@ module Google
586
584
  # # Call the register_instance method.
587
585
  # result = client.register_instance request
588
586
  #
589
- # # The returned object is of type Gapic::Operation. You can use this
590
- # # object to check the status of an operation, cancel it, or wait
591
- # # for results. Here is how to block until completion:
587
+ # # The returned object is of type Gapic::Operation. You can use it to
588
+ # # check the status of an operation, cancel it, or wait for results.
589
+ # # Here is how to wait for a response.
592
590
  # result.wait_until_done! timeout: 60
593
591
  # if result.response?
594
592
  # p result.response
595
593
  # else
596
- # puts "Error!"
594
+ # puts "No response received."
597
595
  # end
598
596
  #
599
597
  def register_instance request, options = nil
@@ -687,14 +685,14 @@ module Google
687
685
  # # Call the set_instance_accelerator method.
688
686
  # result = client.set_instance_accelerator request
689
687
  #
690
- # # The returned object is of type Gapic::Operation. You can use this
691
- # # object to check the status of an operation, cancel it, or wait
692
- # # for results. Here is how to block until completion:
688
+ # # The returned object is of type Gapic::Operation. You can use it to
689
+ # # check the status of an operation, cancel it, or wait for results.
690
+ # # Here is how to wait for a response.
693
691
  # result.wait_until_done! timeout: 60
694
692
  # if result.response?
695
693
  # p result.response
696
694
  # else
697
- # puts "Error!"
695
+ # puts "No response received."
698
696
  # end
699
697
  #
700
698
  def set_instance_accelerator request, options = nil
@@ -784,14 +782,14 @@ module Google
784
782
  # # Call the set_instance_machine_type method.
785
783
  # result = client.set_instance_machine_type request
786
784
  #
787
- # # The returned object is of type Gapic::Operation. You can use this
788
- # # object to check the status of an operation, cancel it, or wait
789
- # # for results. Here is how to block until completion:
785
+ # # The returned object is of type Gapic::Operation. You can use it to
786
+ # # check the status of an operation, cancel it, or wait for results.
787
+ # # Here is how to wait for a response.
790
788
  # result.wait_until_done! timeout: 60
791
789
  # if result.response?
792
790
  # p result.response
793
791
  # else
794
- # puts "Error!"
792
+ # puts "No response received."
795
793
  # end
796
794
  #
797
795
  def set_instance_machine_type request, options = nil
@@ -880,14 +878,14 @@ module Google
880
878
  # # Call the update_instance_config method.
881
879
  # result = client.update_instance_config request
882
880
  #
883
- # # The returned object is of type Gapic::Operation. You can use this
884
- # # object to check the status of an operation, cancel it, or wait
885
- # # for results. Here is how to block until completion:
881
+ # # The returned object is of type Gapic::Operation. You can use it to
882
+ # # check the status of an operation, cancel it, or wait for results.
883
+ # # Here is how to wait for a response.
886
884
  # result.wait_until_done! timeout: 60
887
885
  # if result.response?
888
886
  # p result.response
889
887
  # else
890
- # puts "Error!"
888
+ # puts "No response received."
891
889
  # end
892
890
  #
893
891
  def update_instance_config request, options = nil
@@ -976,14 +974,14 @@ module Google
976
974
  # # Call the update_shielded_instance_config method.
977
975
  # result = client.update_shielded_instance_config request
978
976
  #
979
- # # The returned object is of type Gapic::Operation. You can use this
980
- # # object to check the status of an operation, cancel it, or wait
981
- # # for results. Here is how to block until completion:
977
+ # # The returned object is of type Gapic::Operation. You can use it to
978
+ # # check the status of an operation, cancel it, or wait for results.
979
+ # # Here is how to wait for a response.
982
980
  # result.wait_until_done! timeout: 60
983
981
  # if result.response?
984
982
  # p result.response
985
983
  # else
986
- # puts "Error!"
984
+ # puts "No response received."
987
985
  # end
988
986
  #
989
987
  def update_shielded_instance_config request, options = nil
@@ -1073,14 +1071,14 @@ module Google
1073
1071
  # # Call the set_instance_labels method.
1074
1072
  # result = client.set_instance_labels request
1075
1073
  #
1076
- # # The returned object is of type Gapic::Operation. You can use this
1077
- # # object to check the status of an operation, cancel it, or wait
1078
- # # for results. Here is how to block until completion:
1074
+ # # The returned object is of type Gapic::Operation. You can use it to
1075
+ # # check the status of an operation, cancel it, or wait for results.
1076
+ # # Here is how to wait for a response.
1079
1077
  # result.wait_until_done! timeout: 60
1080
1078
  # if result.response?
1081
1079
  # p result.response
1082
1080
  # else
1083
- # puts "Error!"
1081
+ # puts "No response received."
1084
1082
  # end
1085
1083
  #
1086
1084
  def set_instance_labels request, options = nil
@@ -1255,14 +1253,14 @@ module Google
1255
1253
  # # Call the delete_instance method.
1256
1254
  # result = client.delete_instance request
1257
1255
  #
1258
- # # The returned object is of type Gapic::Operation. You can use this
1259
- # # object to check the status of an operation, cancel it, or wait
1260
- # # for results. Here is how to block until completion:
1256
+ # # The returned object is of type Gapic::Operation. You can use it to
1257
+ # # check the status of an operation, cancel it, or wait for results.
1258
+ # # Here is how to wait for a response.
1261
1259
  # result.wait_until_done! timeout: 60
1262
1260
  # if result.response?
1263
1261
  # p result.response
1264
1262
  # else
1265
- # puts "Error!"
1263
+ # puts "No response received."
1266
1264
  # end
1267
1265
  #
1268
1266
  def delete_instance request, options = nil
@@ -1349,14 +1347,14 @@ module Google
1349
1347
  # # Call the start_instance method.
1350
1348
  # result = client.start_instance request
1351
1349
  #
1352
- # # The returned object is of type Gapic::Operation. You can use this
1353
- # # object to check the status of an operation, cancel it, or wait
1354
- # # for results. Here is how to block until completion:
1350
+ # # The returned object is of type Gapic::Operation. You can use it to
1351
+ # # check the status of an operation, cancel it, or wait for results.
1352
+ # # Here is how to wait for a response.
1355
1353
  # result.wait_until_done! timeout: 60
1356
1354
  # if result.response?
1357
1355
  # p result.response
1358
1356
  # else
1359
- # puts "Error!"
1357
+ # puts "No response received."
1360
1358
  # end
1361
1359
  #
1362
1360
  def start_instance request, options = nil
@@ -1443,14 +1441,14 @@ module Google
1443
1441
  # # Call the stop_instance method.
1444
1442
  # result = client.stop_instance request
1445
1443
  #
1446
- # # The returned object is of type Gapic::Operation. You can use this
1447
- # # object to check the status of an operation, cancel it, or wait
1448
- # # for results. Here is how to block until completion:
1444
+ # # The returned object is of type Gapic::Operation. You can use it to
1445
+ # # check the status of an operation, cancel it, or wait for results.
1446
+ # # Here is how to wait for a response.
1449
1447
  # result.wait_until_done! timeout: 60
1450
1448
  # if result.response?
1451
1449
  # p result.response
1452
1450
  # else
1453
- # puts "Error!"
1451
+ # puts "No response received."
1454
1452
  # end
1455
1453
  #
1456
1454
  def stop_instance request, options = nil
@@ -1537,14 +1535,14 @@ module Google
1537
1535
  # # Call the reset_instance method.
1538
1536
  # result = client.reset_instance request
1539
1537
  #
1540
- # # The returned object is of type Gapic::Operation. You can use this
1541
- # # object to check the status of an operation, cancel it, or wait
1542
- # # for results. Here is how to block until completion:
1538
+ # # The returned object is of type Gapic::Operation. You can use it to
1539
+ # # check the status of an operation, cancel it, or wait for results.
1540
+ # # Here is how to wait for a response.
1543
1541
  # result.wait_until_done! timeout: 60
1544
1542
  # if result.response?
1545
1543
  # p result.response
1546
1544
  # else
1547
- # puts "Error!"
1545
+ # puts "No response received."
1548
1546
  # end
1549
1547
  #
1550
1548
  def reset_instance request, options = nil
@@ -1640,14 +1638,14 @@ module Google
1640
1638
  # # Call the report_instance_info method.
1641
1639
  # result = client.report_instance_info request
1642
1640
  #
1643
- # # The returned object is of type Gapic::Operation. You can use this
1644
- # # object to check the status of an operation, cancel it, or wait
1645
- # # for results. Here is how to block until completion:
1641
+ # # The returned object is of type Gapic::Operation. You can use it to
1642
+ # # check the status of an operation, cancel it, or wait for results.
1643
+ # # Here is how to wait for a response.
1646
1644
  # result.wait_until_done! timeout: 60
1647
1645
  # if result.response?
1648
1646
  # p result.response
1649
1647
  # else
1650
- # puts "Error!"
1648
+ # puts "No response received."
1651
1649
  # end
1652
1650
  #
1653
1651
  def report_instance_info request, options = nil
@@ -1912,14 +1910,14 @@ module Google
1912
1910
  # # Call the upgrade_instance method.
1913
1911
  # result = client.upgrade_instance request
1914
1912
  #
1915
- # # The returned object is of type Gapic::Operation. You can use this
1916
- # # object to check the status of an operation, cancel it, or wait
1917
- # # for results. Here is how to block until completion:
1913
+ # # The returned object is of type Gapic::Operation. You can use it to
1914
+ # # check the status of an operation, cancel it, or wait for results.
1915
+ # # Here is how to wait for a response.
1918
1916
  # result.wait_until_done! timeout: 60
1919
1917
  # if result.response?
1920
1918
  # p result.response
1921
1919
  # else
1922
- # puts "Error!"
1920
+ # puts "No response received."
1923
1921
  # end
1924
1922
  #
1925
1923
  def upgrade_instance request, options = nil
@@ -2009,14 +2007,14 @@ module Google
2009
2007
  # # Call the rollback_instance method.
2010
2008
  # result = client.rollback_instance request
2011
2009
  #
2012
- # # The returned object is of type Gapic::Operation. You can use this
2013
- # # object to check the status of an operation, cancel it, or wait
2014
- # # for results. Here is how to block until completion:
2010
+ # # The returned object is of type Gapic::Operation. You can use it to
2011
+ # # check the status of an operation, cancel it, or wait for results.
2012
+ # # Here is how to wait for a response.
2015
2013
  # result.wait_until_done! timeout: 60
2016
2014
  # if result.response?
2017
2015
  # p result.response
2018
2016
  # else
2019
- # puts "Error!"
2017
+ # puts "No response received."
2020
2018
  # end
2021
2019
  #
2022
2020
  def rollback_instance request, options = nil
@@ -2105,14 +2103,14 @@ module Google
2105
2103
  # # Call the diagnose_instance method.
2106
2104
  # result = client.diagnose_instance request
2107
2105
  #
2108
- # # The returned object is of type Gapic::Operation. You can use this
2109
- # # object to check the status of an operation, cancel it, or wait
2110
- # # for results. Here is how to block until completion:
2106
+ # # The returned object is of type Gapic::Operation. You can use it to
2107
+ # # check the status of an operation, cancel it, or wait for results.
2108
+ # # Here is how to wait for a response.
2111
2109
  # result.wait_until_done! timeout: 60
2112
2110
  # if result.response?
2113
2111
  # p result.response
2114
2112
  # else
2115
- # puts "Error!"
2113
+ # puts "No response received."
2116
2114
  # end
2117
2115
  #
2118
2116
  def diagnose_instance request, options = nil
@@ -2206,14 +2204,14 @@ module Google
2206
2204
  # # Call the upgrade_instance_internal method.
2207
2205
  # result = client.upgrade_instance_internal request
2208
2206
  #
2209
- # # The returned object is of type Gapic::Operation. You can use this
2210
- # # object to check the status of an operation, cancel it, or wait
2211
- # # for results. Here is how to block until completion:
2207
+ # # The returned object is of type Gapic::Operation. You can use it to
2208
+ # # check the status of an operation, cancel it, or wait for results.
2209
+ # # Here is how to wait for a response.
2212
2210
  # result.wait_until_done! timeout: 60
2213
2211
  # if result.response?
2214
2212
  # p result.response
2215
2213
  # else
2216
- # puts "Error!"
2214
+ # puts "No response received."
2217
2215
  # end
2218
2216
  #
2219
2217
  def upgrade_instance_internal request, options = nil
@@ -2304,13 +2302,11 @@ module Google
2304
2302
  # # Call the list_environments method.
2305
2303
  # result = client.list_environments request
2306
2304
  #
2307
- # # The returned object is of type Gapic::PagedEnumerable. You can
2308
- # # iterate over all elements by calling #each, and the enumerable
2309
- # # will lazily make API calls to fetch subsequent pages. Other
2310
- # # methods are also available for managing paging directly.
2311
- # result.each do |response|
2305
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2306
+ # # over elements, and API calls will be issued to fetch pages as needed.
2307
+ # result.each do |item|
2312
2308
  # # Each element is of type ::Google::Cloud::Notebooks::V1::Environment.
2313
- # p response
2309
+ # p item
2314
2310
  # end
2315
2311
  #
2316
2312
  def list_environments request, options = nil
@@ -2489,14 +2485,14 @@ module Google
2489
2485
  # # Call the create_environment method.
2490
2486
  # result = client.create_environment request
2491
2487
  #
2492
- # # The returned object is of type Gapic::Operation. You can use this
2493
- # # object to check the status of an operation, cancel it, or wait
2494
- # # for results. Here is how to block until completion:
2488
+ # # The returned object is of type Gapic::Operation. You can use it to
2489
+ # # check the status of an operation, cancel it, or wait for results.
2490
+ # # Here is how to wait for a response.
2495
2491
  # result.wait_until_done! timeout: 60
2496
2492
  # if result.response?
2497
2493
  # p result.response
2498
2494
  # else
2499
- # puts "Error!"
2495
+ # puts "No response received."
2500
2496
  # end
2501
2497
  #
2502
2498
  def create_environment request, options = nil
@@ -2583,14 +2579,14 @@ module Google
2583
2579
  # # Call the delete_environment method.
2584
2580
  # result = client.delete_environment request
2585
2581
  #
2586
- # # The returned object is of type Gapic::Operation. You can use this
2587
- # # object to check the status of an operation, cancel it, or wait
2588
- # # for results. Here is how to block until completion:
2582
+ # # The returned object is of type Gapic::Operation. You can use it to
2583
+ # # check the status of an operation, cancel it, or wait for results.
2584
+ # # Here is how to wait for a response.
2589
2585
  # result.wait_until_done! timeout: 60
2590
2586
  # if result.response?
2591
2587
  # p result.response
2592
2588
  # else
2593
- # puts "Error!"
2589
+ # puts "No response received."
2594
2590
  # end
2595
2591
  #
2596
2592
  def delete_environment request, options = nil
@@ -2686,13 +2682,11 @@ module Google
2686
2682
  # # Call the list_schedules method.
2687
2683
  # result = client.list_schedules request
2688
2684
  #
2689
- # # The returned object is of type Gapic::PagedEnumerable. You can
2690
- # # iterate over all elements by calling #each, and the enumerable
2691
- # # will lazily make API calls to fetch subsequent pages. Other
2692
- # # methods are also available for managing paging directly.
2693
- # result.each do |response|
2685
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2686
+ # # over elements, and API calls will be issued to fetch pages as needed.
2687
+ # result.each do |item|
2694
2688
  # # Each element is of type ::Google::Cloud::Notebooks::V1::Schedule.
2695
- # p response
2689
+ # p item
2696
2690
  # end
2697
2691
  #
2698
2692
  def list_schedules request, options = nil
@@ -2865,14 +2859,14 @@ module Google
2865
2859
  # # Call the delete_schedule method.
2866
2860
  # result = client.delete_schedule request
2867
2861
  #
2868
- # # The returned object is of type Gapic::Operation. You can use this
2869
- # # object to check the status of an operation, cancel it, or wait
2870
- # # for results. Here is how to block until completion:
2862
+ # # The returned object is of type Gapic::Operation. You can use it to
2863
+ # # check the status of an operation, cancel it, or wait for results.
2864
+ # # Here is how to wait for a response.
2871
2865
  # result.wait_until_done! timeout: 60
2872
2866
  # if result.response?
2873
2867
  # p result.response
2874
2868
  # else
2875
- # puts "Error!"
2869
+ # puts "No response received."
2876
2870
  # end
2877
2871
  #
2878
2872
  def delete_schedule request, options = nil
@@ -2963,14 +2957,14 @@ module Google
2963
2957
  # # Call the create_schedule method.
2964
2958
  # result = client.create_schedule request
2965
2959
  #
2966
- # # The returned object is of type Gapic::Operation. You can use this
2967
- # # object to check the status of an operation, cancel it, or wait
2968
- # # for results. Here is how to block until completion:
2960
+ # # The returned object is of type Gapic::Operation. You can use it to
2961
+ # # check the status of an operation, cancel it, or wait for results.
2962
+ # # Here is how to wait for a response.
2969
2963
  # result.wait_until_done! timeout: 60
2970
2964
  # if result.response?
2971
2965
  # p result.response
2972
2966
  # else
2973
- # puts "Error!"
2967
+ # puts "No response received."
2974
2968
  # end
2975
2969
  #
2976
2970
  def create_schedule request, options = nil
@@ -3057,14 +3051,14 @@ module Google
3057
3051
  # # Call the trigger_schedule method.
3058
3052
  # result = client.trigger_schedule request
3059
3053
  #
3060
- # # The returned object is of type Gapic::Operation. You can use this
3061
- # # object to check the status of an operation, cancel it, or wait
3062
- # # for results. Here is how to block until completion:
3054
+ # # The returned object is of type Gapic::Operation. You can use it to
3055
+ # # check the status of an operation, cancel it, or wait for results.
3056
+ # # Here is how to wait for a response.
3063
3057
  # result.wait_until_done! timeout: 60
3064
3058
  # if result.response?
3065
3059
  # p result.response
3066
3060
  # else
3067
- # puts "Error!"
3061
+ # puts "No response received."
3068
3062
  # end
3069
3063
  #
3070
3064
  def trigger_schedule request, options = nil
@@ -3162,13 +3156,11 @@ module Google
3162
3156
  # # Call the list_executions method.
3163
3157
  # result = client.list_executions request
3164
3158
  #
3165
- # # The returned object is of type Gapic::PagedEnumerable. You can
3166
- # # iterate over all elements by calling #each, and the enumerable
3167
- # # will lazily make API calls to fetch subsequent pages. Other
3168
- # # methods are also available for managing paging directly.
3169
- # result.each do |response|
3159
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3160
+ # # over elements, and API calls will be issued to fetch pages as needed.
3161
+ # result.each do |item|
3170
3162
  # # Each element is of type ::Google::Cloud::Notebooks::V1::Execution.
3171
- # p response
3163
+ # p item
3172
3164
  # end
3173
3165
  #
3174
3166
  def list_executions request, options = nil
@@ -3341,14 +3333,14 @@ module Google
3341
3333
  # # Call the delete_execution method.
3342
3334
  # result = client.delete_execution request
3343
3335
  #
3344
- # # The returned object is of type Gapic::Operation. You can use this
3345
- # # object to check the status of an operation, cancel it, or wait
3346
- # # for results. Here is how to block until completion:
3336
+ # # The returned object is of type Gapic::Operation. You can use it to
3337
+ # # check the status of an operation, cancel it, or wait for results.
3338
+ # # Here is how to wait for a response.
3347
3339
  # result.wait_until_done! timeout: 60
3348
3340
  # if result.response?
3349
3341
  # p result.response
3350
3342
  # else
3351
- # puts "Error!"
3343
+ # puts "No response received."
3352
3344
  # end
3353
3345
  #
3354
3346
  def delete_execution request, options = nil
@@ -3439,14 +3431,14 @@ module Google
3439
3431
  # # Call the create_execution method.
3440
3432
  # result = client.create_execution request
3441
3433
  #
3442
- # # The returned object is of type Gapic::Operation. You can use this
3443
- # # object to check the status of an operation, cancel it, or wait
3444
- # # for results. Here is how to block until completion:
3434
+ # # The returned object is of type Gapic::Operation. You can use it to
3435
+ # # check the status of an operation, cancel it, or wait for results.
3436
+ # # Here is how to wait for a response.
3445
3437
  # result.wait_until_done! timeout: 60
3446
3438
  # if result.response?
3447
3439
  # p result.response
3448
3440
  # else
3449
- # puts "Error!"
3441
+ # puts "No response received."
3450
3442
  # end
3451
3443
  #
3452
3444
  def create_execution request, options = nil
@@ -3529,9 +3521,9 @@ module Google
3529
3521
  # * (`String`) The path to a service account key file in JSON format
3530
3522
  # * (`Hash`) A service account key as a Hash
3531
3523
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3532
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
3524
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3533
3525
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3534
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
3526
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3535
3527
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3536
3528
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3537
3529
  # * (`nil`) indicating no credentials
@@ -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
@@ -622,9 +620,9 @@ module Google
622
620
  # * (`String`) The path to a service account key file in JSON format
623
621
  # * (`Hash`) A service account key as a Hash
624
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
625
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
626
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
627
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
628
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
629
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
630
628
  # * (`nil`) indicating no credentials