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
@@ -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
@@ -229,14 +229,14 @@ module Google
229
229
  # # Call the create_index method.
230
230
  # result = client.create_index request
231
231
  #
232
- # # The returned object is of type Gapic::Operation. You can use this
233
- # # object to check the status of an operation, cancel it, or wait
234
- # # for results. Here is how to block until completion:
232
+ # # The returned object is of type Gapic::Operation. You can use it to
233
+ # # check the status of an operation, cancel it, or wait for results.
234
+ # # Here is how to wait for a response.
235
235
  # result.wait_until_done! timeout: 60
236
236
  # if result.response?
237
237
  # p result.response
238
238
  # else
239
- # puts "Error!"
239
+ # puts "No response received."
240
240
  # end
241
241
  #
242
242
  def create_index request, options = nil
@@ -423,13 +423,11 @@ module Google
423
423
  # # Call the list_indexes method.
424
424
  # result = client.list_indexes request
425
425
  #
426
- # # The returned object is of type Gapic::PagedEnumerable. You can
427
- # # iterate over all elements by calling #each, and the enumerable
428
- # # will lazily make API calls to fetch subsequent pages. Other
429
- # # methods are also available for managing paging directly.
430
- # result.each do |response|
426
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
427
+ # # over elements, and API calls will be issued to fetch pages as needed.
428
+ # result.each do |item|
431
429
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::Index.
432
- # p response
430
+ # p item
433
431
  # end
434
432
  #
435
433
  def list_indexes request, options = nil
@@ -519,14 +517,14 @@ module Google
519
517
  # # Call the update_index method.
520
518
  # result = client.update_index request
521
519
  #
522
- # # The returned object is of type Gapic::Operation. You can use this
523
- # # object to check the status of an operation, cancel it, or wait
524
- # # for results. Here is how to block until completion:
520
+ # # The returned object is of type Gapic::Operation. You can use it to
521
+ # # check the status of an operation, cancel it, or wait for results.
522
+ # # Here is how to wait for a response.
525
523
  # result.wait_until_done! timeout: 60
526
524
  # if result.response?
527
525
  # p result.response
528
526
  # else
529
- # puts "Error!"
527
+ # puts "No response received."
530
528
  # end
531
529
  #
532
530
  def update_index request, options = nil
@@ -617,14 +615,14 @@ module Google
617
615
  # # Call the delete_index method.
618
616
  # result = client.delete_index request
619
617
  #
620
- # # The returned object is of type Gapic::Operation. You can use this
621
- # # object to check the status of an operation, cancel it, or wait
622
- # # for results. Here is how to block until completion:
618
+ # # The returned object is of type Gapic::Operation. You can use it to
619
+ # # check the status of an operation, cancel it, or wait for results.
620
+ # # Here is how to wait for a response.
623
621
  # result.wait_until_done! timeout: 60
624
622
  # if result.response?
625
623
  # p result.response
626
624
  # else
627
- # puts "Error!"
625
+ # puts "No response received."
628
626
  # end
629
627
  #
630
628
  def delete_index request, options = nil
@@ -885,9 +883,9 @@ module Google
885
883
  # * (`String`) The path to a service account key file in JSON format
886
884
  # * (`Hash`) A service account key as a Hash
887
885
  # * (`Google::Auth::Credentials`) A googleauth credentials object
888
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
886
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
889
887
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
890
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
888
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
891
889
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
892
890
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
893
891
  # * (`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
@@ -435,13 +435,11 @@ module Google
435
435
  # # Call the list_custom_jobs method.
436
436
  # result = client.list_custom_jobs request
437
437
  #
438
- # # The returned object is of type Gapic::PagedEnumerable. You can
439
- # # iterate over all elements by calling #each, and the enumerable
440
- # # will lazily make API calls to fetch subsequent pages. Other
441
- # # methods are also available for managing paging directly.
442
- # result.each do |response|
438
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
439
+ # # over elements, and API calls will be issued to fetch pages as needed.
440
+ # result.each do |item|
443
441
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::CustomJob.
444
- # p response
442
+ # p item
445
443
  # end
446
444
  #
447
445
  def list_custom_jobs request, options = nil
@@ -529,14 +527,14 @@ module Google
529
527
  # # Call the delete_custom_job method.
530
528
  # result = client.delete_custom_job request
531
529
  #
532
- # # The returned object is of type Gapic::Operation. You can use this
533
- # # object to check the status of an operation, cancel it, or wait
534
- # # for results. Here is how to block until completion:
530
+ # # The returned object is of type Gapic::Operation. You can use it to
531
+ # # check the status of an operation, cancel it, or wait for results.
532
+ # # Here is how to wait for a response.
535
533
  # result.wait_until_done! timeout: 60
536
534
  # if result.response?
537
535
  # p result.response
538
536
  # else
539
- # puts "Error!"
537
+ # puts "No response received."
540
538
  # end
541
539
  #
542
540
  def delete_custom_job request, options = nil
@@ -931,13 +929,11 @@ module Google
931
929
  # # Call the list_data_labeling_jobs method.
932
930
  # result = client.list_data_labeling_jobs request
933
931
  #
934
- # # The returned object is of type Gapic::PagedEnumerable. You can
935
- # # iterate over all elements by calling #each, and the enumerable
936
- # # will lazily make API calls to fetch subsequent pages. Other
937
- # # methods are also available for managing paging directly.
938
- # result.each do |response|
932
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
933
+ # # over elements, and API calls will be issued to fetch pages as needed.
934
+ # result.each do |item|
939
935
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::DataLabelingJob.
940
- # p response
936
+ # p item
941
937
  # end
942
938
  #
943
939
  def list_data_labeling_jobs request, options = nil
@@ -1025,14 +1021,14 @@ module Google
1025
1021
  # # Call the delete_data_labeling_job method.
1026
1022
  # result = client.delete_data_labeling_job request
1027
1023
  #
1028
- # # The returned object is of type Gapic::Operation. You can use this
1029
- # # object to check the status of an operation, cancel it, or wait
1030
- # # for results. Here is how to block until completion:
1024
+ # # The returned object is of type Gapic::Operation. You can use it to
1025
+ # # check the status of an operation, cancel it, or wait for results.
1026
+ # # Here is how to wait for a response.
1031
1027
  # result.wait_until_done! timeout: 60
1032
1028
  # if result.response?
1033
1029
  # p result.response
1034
1030
  # else
1035
- # puts "Error!"
1031
+ # puts "No response received."
1036
1032
  # end
1037
1033
  #
1038
1034
  def delete_data_labeling_job request, options = nil
@@ -1415,13 +1411,11 @@ module Google
1415
1411
  # # Call the list_hyperparameter_tuning_jobs method.
1416
1412
  # result = client.list_hyperparameter_tuning_jobs request
1417
1413
  #
1418
- # # The returned object is of type Gapic::PagedEnumerable. You can
1419
- # # iterate over all elements by calling #each, and the enumerable
1420
- # # will lazily make API calls to fetch subsequent pages. Other
1421
- # # methods are also available for managing paging directly.
1422
- # result.each do |response|
1414
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1415
+ # # over elements, and API calls will be issued to fetch pages as needed.
1416
+ # result.each do |item|
1423
1417
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob.
1424
- # p response
1418
+ # p item
1425
1419
  # end
1426
1420
  #
1427
1421
  def list_hyperparameter_tuning_jobs request, options = nil
@@ -1509,14 +1503,14 @@ module Google
1509
1503
  # # Call the delete_hyperparameter_tuning_job method.
1510
1504
  # result = client.delete_hyperparameter_tuning_job request
1511
1505
  #
1512
- # # The returned object is of type Gapic::Operation. You can use this
1513
- # # object to check the status of an operation, cancel it, or wait
1514
- # # for results. Here is how to block until completion:
1506
+ # # The returned object is of type Gapic::Operation. You can use it to
1507
+ # # check the status of an operation, cancel it, or wait for results.
1508
+ # # Here is how to wait for a response.
1515
1509
  # result.wait_until_done! timeout: 60
1516
1510
  # if result.response?
1517
1511
  # p result.response
1518
1512
  # else
1519
- # puts "Error!"
1513
+ # puts "No response received."
1520
1514
  # end
1521
1515
  #
1522
1516
  def delete_hyperparameter_tuning_job request, options = nil
@@ -1910,13 +1904,11 @@ module Google
1910
1904
  # # Call the list_nas_jobs method.
1911
1905
  # result = client.list_nas_jobs request
1912
1906
  #
1913
- # # The returned object is of type Gapic::PagedEnumerable. You can
1914
- # # iterate over all elements by calling #each, and the enumerable
1915
- # # will lazily make API calls to fetch subsequent pages. Other
1916
- # # methods are also available for managing paging directly.
1917
- # result.each do |response|
1907
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1908
+ # # over elements, and API calls will be issued to fetch pages as needed.
1909
+ # result.each do |item|
1918
1910
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::NasJob.
1919
- # p response
1911
+ # p item
1920
1912
  # end
1921
1913
  #
1922
1914
  def list_nas_jobs request, options = nil
@@ -2004,14 +1996,14 @@ module Google
2004
1996
  # # Call the delete_nas_job method.
2005
1997
  # result = client.delete_nas_job request
2006
1998
  #
2007
- # # The returned object is of type Gapic::Operation. You can use this
2008
- # # object to check the status of an operation, cancel it, or wait
2009
- # # for results. Here is how to block until completion:
1999
+ # # The returned object is of type Gapic::Operation. You can use it to
2000
+ # # check the status of an operation, cancel it, or wait for results.
2001
+ # # Here is how to wait for a response.
2010
2002
  # result.wait_until_done! timeout: 60
2011
2003
  # if result.response?
2012
2004
  # p result.response
2013
2005
  # else
2014
- # puts "Error!"
2006
+ # puts "No response received."
2015
2007
  # end
2016
2008
  #
2017
2009
  def delete_nas_job request, options = nil
@@ -2294,13 +2286,11 @@ module Google
2294
2286
  # # Call the list_nas_trial_details method.
2295
2287
  # result = client.list_nas_trial_details request
2296
2288
  #
2297
- # # The returned object is of type Gapic::PagedEnumerable. You can
2298
- # # iterate over all elements by calling #each, and the enumerable
2299
- # # will lazily make API calls to fetch subsequent pages. Other
2300
- # # methods are also available for managing paging directly.
2301
- # result.each do |response|
2289
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2290
+ # # over elements, and API calls will be issued to fetch pages as needed.
2291
+ # result.each do |item|
2302
2292
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::NasTrialDetail.
2303
- # p response
2293
+ # p item
2304
2294
  # end
2305
2295
  #
2306
2296
  def list_nas_trial_details request, options = nil
@@ -2596,13 +2586,11 @@ module Google
2596
2586
  # # Call the list_batch_prediction_jobs method.
2597
2587
  # result = client.list_batch_prediction_jobs request
2598
2588
  #
2599
- # # The returned object is of type Gapic::PagedEnumerable. You can
2600
- # # iterate over all elements by calling #each, and the enumerable
2601
- # # will lazily make API calls to fetch subsequent pages. Other
2602
- # # methods are also available for managing paging directly.
2603
- # result.each do |response|
2589
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2590
+ # # over elements, and API calls will be issued to fetch pages as needed.
2591
+ # result.each do |item|
2604
2592
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::BatchPredictionJob.
2605
- # p response
2593
+ # p item
2606
2594
  # end
2607
2595
  #
2608
2596
  def list_batch_prediction_jobs request, options = nil
@@ -2691,14 +2679,14 @@ module Google
2691
2679
  # # Call the delete_batch_prediction_job method.
2692
2680
  # result = client.delete_batch_prediction_job request
2693
2681
  #
2694
- # # The returned object is of type Gapic::Operation. You can use this
2695
- # # object to check the status of an operation, cancel it, or wait
2696
- # # for results. Here is how to block until completion:
2682
+ # # The returned object is of type Gapic::Operation. You can use it to
2683
+ # # check the status of an operation, cancel it, or wait for results.
2684
+ # # Here is how to wait for a response.
2697
2685
  # result.wait_until_done! timeout: 60
2698
2686
  # if result.response?
2699
2687
  # p result.response
2700
2688
  # else
2701
- # puts "Error!"
2689
+ # puts "No response received."
2702
2690
  # end
2703
2691
  #
2704
2692
  def delete_batch_prediction_job request, options = nil
@@ -2995,13 +2983,11 @@ module Google
2995
2983
  # # Call the search_model_deployment_monitoring_stats_anomalies method.
2996
2984
  # result = client.search_model_deployment_monitoring_stats_anomalies request
2997
2985
  #
2998
- # # The returned object is of type Gapic::PagedEnumerable. You can
2999
- # # iterate over all elements by calling #each, and the enumerable
3000
- # # will lazily make API calls to fetch subsequent pages. Other
3001
- # # methods are also available for managing paging directly.
3002
- # result.each do |response|
2986
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2987
+ # # over elements, and API calls will be issued to fetch pages as needed.
2988
+ # result.each do |item|
3003
2989
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies.
3004
- # p response
2990
+ # p item
3005
2991
  # end
3006
2992
  #
3007
2993
  def search_model_deployment_monitoring_stats_anomalies request, options = nil
@@ -3202,13 +3188,11 @@ module Google
3202
3188
  # # Call the list_model_deployment_monitoring_jobs method.
3203
3189
  # result = client.list_model_deployment_monitoring_jobs request
3204
3190
  #
3205
- # # The returned object is of type Gapic::PagedEnumerable. You can
3206
- # # iterate over all elements by calling #each, and the enumerable
3207
- # # will lazily make API calls to fetch subsequent pages. Other
3208
- # # methods are also available for managing paging directly.
3209
- # result.each do |response|
3191
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3192
+ # # over elements, and API calls will be issued to fetch pages as needed.
3193
+ # result.each do |item|
3210
3194
  # # Each element is of type ::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob.
3211
- # p response
3195
+ # p item
3212
3196
  # end
3213
3197
  #
3214
3198
  def list_model_deployment_monitoring_jobs request, options = nil
@@ -3322,14 +3306,14 @@ module Google
3322
3306
  # # Call the update_model_deployment_monitoring_job method.
3323
3307
  # result = client.update_model_deployment_monitoring_job request
3324
3308
  #
3325
- # # The returned object is of type Gapic::Operation. You can use this
3326
- # # object to check the status of an operation, cancel it, or wait
3327
- # # for results. Here is how to block until completion:
3309
+ # # The returned object is of type Gapic::Operation. You can use it to
3310
+ # # check the status of an operation, cancel it, or wait for results.
3311
+ # # Here is how to wait for a response.
3328
3312
  # result.wait_until_done! timeout: 60
3329
3313
  # if result.response?
3330
3314
  # p result.response
3331
3315
  # else
3332
- # puts "Error!"
3316
+ # puts "No response received."
3333
3317
  # end
3334
3318
  #
3335
3319
  def update_model_deployment_monitoring_job request, options = nil
@@ -3417,14 +3401,14 @@ module Google
3417
3401
  # # Call the delete_model_deployment_monitoring_job method.
3418
3402
  # result = client.delete_model_deployment_monitoring_job request
3419
3403
  #
3420
- # # The returned object is of type Gapic::Operation. You can use this
3421
- # # object to check the status of an operation, cancel it, or wait
3422
- # # for results. Here is how to block until completion:
3404
+ # # The returned object is of type Gapic::Operation. You can use it to
3405
+ # # check the status of an operation, cancel it, or wait for results.
3406
+ # # Here is how to wait for a response.
3423
3407
  # result.wait_until_done! timeout: 60
3424
3408
  # if result.response?
3425
3409
  # p result.response
3426
3410
  # else
3427
- # puts "Error!"
3411
+ # puts "No response received."
3428
3412
  # end
3429
3413
  #
3430
3414
  def delete_model_deployment_monitoring_job request, options = nil
@@ -3686,9 +3670,9 @@ module Google
3686
3670
  # * (`String`) The path to a service account key file in JSON format
3687
3671
  # * (`Hash`) A service account key as a Hash
3688
3672
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3689
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
3673
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3690
3674
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3691
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
3675
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3692
3676
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3693
3677
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3694
3678
  # * (`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