google-cloud-ai_platform-v1 0.19.0 → 0.21.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 (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +38 -48
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +14 -16
  5. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +32 -28
  6. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +14 -16
  7. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +8 -8
  8. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +179 -74
  9. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +14 -16
  10. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +26 -28
  11. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +14 -16
  12. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +18 -20
  13. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +14 -16
  14. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +62 -78
  15. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +14 -16
  16. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +54 -64
  17. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +14 -16
  18. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +10 -12
  19. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +14 -16
  20. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +137 -48
  21. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +14 -16
  22. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +18 -22
  23. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +14 -16
  24. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +2 -2
  25. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +18 -20
  26. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +14 -16
  27. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +52 -62
  28. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +14 -16
  29. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  30. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +19 -23
  31. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +14 -16
  32. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -0
  33. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -0
  34. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +9 -0
  35. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +1 -0
  36. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +1 -0
  37. data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +63 -0
  38. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -0
  39. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +49 -0
  40. data/lib/google/cloud/aiplatform/v1/featurestore_service_services_pb.rb +11 -0
  41. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -0
  42. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +1 -0
  43. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -0
  44. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +1 -0
  45. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -0
  46. data/lib/google/cloud/aiplatform/v1/model_pb.rb +2 -0
  47. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +11 -0
  48. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +5 -2
  49. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +1 -0
  50. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +1 -0
  51. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +1 -0
  52. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +1 -1
  53. data/proto_docs/google/api/client.rb +57 -3
  54. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  55. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +14 -1
  56. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +23 -0
  57. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +5 -1
  58. data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +10 -4
  59. data/proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb +190 -0
  60. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +9 -0
  61. data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -8
  62. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +129 -4
  63. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +11 -1
  64. data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +2 -5
  65. data/proto_docs/google/cloud/aiplatform/v1/model.rb +24 -11
  66. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +6 -5
  67. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +131 -0
  68. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +25 -0
  69. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -1
  70. data/proto_docs/google/type/interval.rb +45 -0
  71. metadata +15 -11
@@ -239,14 +239,14 @@ module Google
239
239
  # # Call the create_metadata_store method.
240
240
  # result = client.create_metadata_store request
241
241
  #
242
- # # The returned object is of type Gapic::Operation. You can use this
243
- # # object to check the status of an operation, cancel it, or wait
244
- # # for results. Here is how to block until completion:
242
+ # # The returned object is of type Gapic::Operation. You can use it to
243
+ # # check the status of an operation, cancel it, or wait for results.
244
+ # # Here is how to wait for a response.
245
245
  # result.wait_until_done! timeout: 60
246
246
  # if result.response?
247
247
  # p result.response
248
248
  # else
249
- # puts "Error!"
249
+ # puts "No response received."
250
250
  # end
251
251
  #
252
252
  def create_metadata_store request, options = nil
@@ -433,13 +433,11 @@ module Google
433
433
  # # Call the list_metadata_stores method.
434
434
  # result = client.list_metadata_stores request
435
435
  #
436
- # # The returned object is of type Gapic::PagedEnumerable. You can
437
- # # iterate over all elements by calling #each, and the enumerable
438
- # # will lazily make API calls to fetch subsequent pages. Other
439
- # # methods are also available for managing paging directly.
440
- # result.each do |response|
436
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
437
+ # # over elements, and API calls will be issued to fetch pages as needed.
438
+ # result.each do |item|
441
439
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::MetadataStore.
442
- # p response
440
+ # p item
443
441
  # end
444
442
  #
445
443
  def list_metadata_stores request, options = nil
@@ -530,14 +528,14 @@ module Google
530
528
  # # Call the delete_metadata_store method.
531
529
  # result = client.delete_metadata_store request
532
530
  #
533
- # # The returned object is of type Gapic::Operation. You can use this
534
- # # object to check the status of an operation, cancel it, or wait
535
- # # for results. Here is how to block until completion:
531
+ # # The returned object is of type Gapic::Operation. You can use it to
532
+ # # check the status of an operation, cancel it, or wait for results.
533
+ # # Here is how to wait for a response.
536
534
  # result.wait_until_done! timeout: 60
537
535
  # if result.response?
538
536
  # p result.response
539
537
  # else
540
- # puts "Error!"
538
+ # puts "No response received."
541
539
  # end
542
540
  #
543
541
  def delete_metadata_store request, options = nil
@@ -857,13 +855,11 @@ module Google
857
855
  # # Call the list_artifacts method.
858
856
  # result = client.list_artifacts request
859
857
  #
860
- # # The returned object is of type Gapic::PagedEnumerable. You can
861
- # # iterate over all elements by calling #each, and the enumerable
862
- # # will lazily make API calls to fetch subsequent pages. Other
863
- # # methods are also available for managing paging directly.
864
- # result.each do |response|
858
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
859
+ # # over elements, and API calls will be issued to fetch pages as needed.
860
+ # result.each do |item|
865
861
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::Artifact.
866
- # p response
862
+ # p item
867
863
  # end
868
864
  #
869
865
  def list_artifacts request, options = nil
@@ -1050,14 +1046,14 @@ module Google
1050
1046
  # # Call the delete_artifact method.
1051
1047
  # result = client.delete_artifact request
1052
1048
  #
1053
- # # The returned object is of type Gapic::Operation. You can use this
1054
- # # object to check the status of an operation, cancel it, or wait
1055
- # # for results. Here is how to block until completion:
1049
+ # # The returned object is of type Gapic::Operation. You can use it to
1050
+ # # check the status of an operation, cancel it, or wait for results.
1051
+ # # Here is how to wait for a response.
1056
1052
  # result.wait_until_done! timeout: 60
1057
1053
  # if result.response?
1058
1054
  # p result.response
1059
1055
  # else
1060
- # puts "Error!"
1056
+ # puts "No response received."
1061
1057
  # end
1062
1058
  #
1063
1059
  def delete_artifact request, options = nil
@@ -1152,14 +1148,14 @@ module Google
1152
1148
  # # Call the purge_artifacts method.
1153
1149
  # result = client.purge_artifacts request
1154
1150
  #
1155
- # # The returned object is of type Gapic::Operation. You can use this
1156
- # # object to check the status of an operation, cancel it, or wait
1157
- # # for results. Here is how to block until completion:
1151
+ # # The returned object is of type Gapic::Operation. You can use it to
1152
+ # # check the status of an operation, cancel it, or wait for results.
1153
+ # # Here is how to wait for a response.
1158
1154
  # result.wait_until_done! timeout: 60
1159
1155
  # if result.response?
1160
1156
  # p result.response
1161
1157
  # else
1162
- # puts "Error!"
1158
+ # puts "No response received."
1163
1159
  # end
1164
1160
  #
1165
1161
  def purge_artifacts request, options = nil
@@ -1482,13 +1478,11 @@ module Google
1482
1478
  # # Call the list_contexts method.
1483
1479
  # result = client.list_contexts request
1484
1480
  #
1485
- # # The returned object is of type Gapic::PagedEnumerable. You can
1486
- # # iterate over all elements by calling #each, and the enumerable
1487
- # # will lazily make API calls to fetch subsequent pages. Other
1488
- # # methods are also available for managing paging directly.
1489
- # result.each do |response|
1481
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1482
+ # # over elements, and API calls will be issued to fetch pages as needed.
1483
+ # result.each do |item|
1490
1484
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::Context.
1491
- # p response
1485
+ # p item
1492
1486
  # end
1493
1487
  #
1494
1488
  def list_contexts request, options = nil
@@ -1677,14 +1671,14 @@ module Google
1677
1671
  # # Call the delete_context method.
1678
1672
  # result = client.delete_context request
1679
1673
  #
1680
- # # The returned object is of type Gapic::Operation. You can use this
1681
- # # object to check the status of an operation, cancel it, or wait
1682
- # # for results. Here is how to block until completion:
1674
+ # # The returned object is of type Gapic::Operation. You can use it to
1675
+ # # check the status of an operation, cancel it, or wait for results.
1676
+ # # Here is how to wait for a response.
1683
1677
  # result.wait_until_done! timeout: 60
1684
1678
  # if result.response?
1685
1679
  # p result.response
1686
1680
  # else
1687
- # puts "Error!"
1681
+ # puts "No response received."
1688
1682
  # end
1689
1683
  #
1690
1684
  def delete_context request, options = nil
@@ -1779,14 +1773,14 @@ module Google
1779
1773
  # # Call the purge_contexts method.
1780
1774
  # result = client.purge_contexts request
1781
1775
  #
1782
- # # The returned object is of type Gapic::Operation. You can use this
1783
- # # object to check the status of an operation, cancel it, or wait
1784
- # # for results. Here is how to block until completion:
1776
+ # # The returned object is of type Gapic::Operation. You can use it to
1777
+ # # check the status of an operation, cancel it, or wait for results.
1778
+ # # Here is how to wait for a response.
1785
1779
  # result.wait_until_done! timeout: 60
1786
1780
  # if result.response?
1787
1781
  # p result.response
1788
1782
  # else
1789
- # puts "Error!"
1783
+ # puts "No response received."
1790
1784
  # end
1791
1785
  #
1792
1786
  def purge_contexts request, options = nil
@@ -2486,13 +2480,11 @@ module Google
2486
2480
  # # Call the list_executions method.
2487
2481
  # result = client.list_executions request
2488
2482
  #
2489
- # # The returned object is of type Gapic::PagedEnumerable. You can
2490
- # # iterate over all elements by calling #each, and the enumerable
2491
- # # will lazily make API calls to fetch subsequent pages. Other
2492
- # # methods are also available for managing paging directly.
2493
- # result.each do |response|
2483
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2484
+ # # over elements, and API calls will be issued to fetch pages as needed.
2485
+ # result.each do |item|
2494
2486
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::Execution.
2495
- # p response
2487
+ # p item
2496
2488
  # end
2497
2489
  #
2498
2490
  def list_executions request, options = nil
@@ -2679,14 +2671,14 @@ module Google
2679
2671
  # # Call the delete_execution method.
2680
2672
  # result = client.delete_execution request
2681
2673
  #
2682
- # # The returned object is of type Gapic::Operation. You can use this
2683
- # # object to check the status of an operation, cancel it, or wait
2684
- # # for results. Here is how to block until completion:
2674
+ # # The returned object is of type Gapic::Operation. You can use it to
2675
+ # # check the status of an operation, cancel it, or wait for results.
2676
+ # # Here is how to wait for a response.
2685
2677
  # result.wait_until_done! timeout: 60
2686
2678
  # if result.response?
2687
2679
  # p result.response
2688
2680
  # else
2689
- # puts "Error!"
2681
+ # puts "No response received."
2690
2682
  # end
2691
2683
  #
2692
2684
  def delete_execution request, options = nil
@@ -2781,14 +2773,14 @@ module Google
2781
2773
  # # Call the purge_executions method.
2782
2774
  # result = client.purge_executions request
2783
2775
  #
2784
- # # The returned object is of type Gapic::Operation. You can use this
2785
- # # object to check the status of an operation, cancel it, or wait
2786
- # # for results. Here is how to block until completion:
2776
+ # # The returned object is of type Gapic::Operation. You can use it to
2777
+ # # check the status of an operation, cancel it, or wait for results.
2778
+ # # Here is how to wait for a response.
2787
2779
  # result.wait_until_done! timeout: 60
2788
2780
  # if result.response?
2789
2781
  # p result.response
2790
2782
  # else
2791
- # puts "Error!"
2783
+ # puts "No response received."
2792
2784
  # end
2793
2785
  #
2794
2786
  def purge_executions request, options = nil
@@ -3257,13 +3249,11 @@ module Google
3257
3249
  # # Call the list_metadata_schemas method.
3258
3250
  # result = client.list_metadata_schemas request
3259
3251
  #
3260
- # # The returned object is of type Gapic::PagedEnumerable. You can
3261
- # # iterate over all elements by calling #each, and the enumerable
3262
- # # will lazily make API calls to fetch subsequent pages. Other
3263
- # # methods are also available for managing paging directly.
3264
- # result.each do |response|
3252
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3253
+ # # over elements, and API calls will be issued to fetch pages as needed.
3254
+ # result.each do |item|
3265
3255
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::MetadataSchema.
3266
- # p response
3256
+ # p item
3267
3257
  # end
3268
3258
  #
3269
3259
  def list_metadata_schemas request, options = nil
@@ -3467,9 +3457,9 @@ module Google
3467
3457
  # * (`String`) The path to a service account key file in JSON format
3468
3458
  # * (`Hash`) A service account key as a Hash
3469
3459
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3470
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
3460
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3471
3461
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3472
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
3462
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3473
3463
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3474
3464
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3475
3465
  # * (`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
@@ -630,9 +628,9 @@ module Google
630
628
  # * (`String`) The path to a service account key file in JSON format
631
629
  # * (`Hash`) A service account key as a Hash
632
630
  # * (`Google::Auth::Credentials`) A googleauth credentials object
633
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
631
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
634
632
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
635
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
633
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
636
634
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
637
635
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
638
636
  # * (`nil`) indicating no credentials
@@ -250,13 +250,11 @@ module Google
250
250
  # # Call the search_migratable_resources method.
251
251
  # result = client.search_migratable_resources request
252
252
  #
253
- # # The returned object is of type Gapic::PagedEnumerable. You can
254
- # # iterate over all elements by calling #each, and the enumerable
255
- # # will lazily make API calls to fetch subsequent pages. Other
256
- # # methods are also available for managing paging directly.
257
- # result.each do |response|
253
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
254
+ # # over elements, and API calls will be issued to fetch pages as needed.
255
+ # result.each do |item|
258
256
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::MigratableResource.
259
- # p response
257
+ # p item
260
258
  # end
261
259
  #
262
260
  def search_migratable_resources request, options = nil
@@ -348,14 +346,14 @@ module Google
348
346
  # # Call the batch_migrate_resources method.
349
347
  # result = client.batch_migrate_resources request
350
348
  #
351
- # # The returned object is of type Gapic::Operation. You can use this
352
- # # object to check the status of an operation, cancel it, or wait
353
- # # for results. Here is how to block until completion:
349
+ # # The returned object is of type Gapic::Operation. You can use it to
350
+ # # check the status of an operation, cancel it, or wait for results.
351
+ # # Here is how to wait for a response.
354
352
  # result.wait_until_done! timeout: 60
355
353
  # if result.response?
356
354
  # p result.response
357
355
  # else
358
- # puts "Error!"
356
+ # puts "No response received."
359
357
  # end
360
358
  #
361
359
  def batch_migrate_resources request, options = nil
@@ -438,9 +436,9 @@ module Google
438
436
  # * (`String`) The path to a service account key file in JSON format
439
437
  # * (`Hash`) A service account key as a Hash
440
438
  # * (`Google::Auth::Credentials`) A googleauth credentials object
441
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
439
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
442
440
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
443
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
441
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
444
442
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
445
443
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
446
444
  # * (`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
@@ -630,9 +628,9 @@ module Google
630
628
  # * (`String`) The path to a service account key file in JSON format
631
629
  # * (`Hash`) A service account key as a Hash
632
630
  # * (`Google::Auth::Credentials`) A googleauth credentials object
633
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
631
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
634
632
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
635
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
633
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
636
634
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
637
635
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
638
636
  # * (`nil`) indicating no credentials