google-cloud-ai_platform-v1 0.18.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +36 -46
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +12 -14
  5. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +20 -22
  6. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +12 -14
  7. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +6 -6
  8. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +176 -68
  9. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +12 -14
  10. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +24 -26
  11. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +12 -14
  12. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +16 -18
  13. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +12 -14
  14. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +777 -60
  15. data/lib/google/cloud/ai_platform/v1/job_service/credentials.rb +2 -1
  16. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +12 -14
  17. data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +40 -0
  18. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +52 -62
  19. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +12 -14
  20. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +8 -10
  21. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +12 -14
  22. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +254 -42
  23. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +12 -14
  24. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +16 -20
  25. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +12 -14
  26. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +16 -18
  27. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +12 -14
  28. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +50 -60
  29. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +12 -14
  30. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  31. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +17 -21
  32. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +12 -14
  33. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -0
  34. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -0
  35. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +9 -0
  36. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +1 -0
  37. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +1 -0
  38. data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +63 -0
  39. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -0
  40. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +49 -0
  41. data/lib/google/cloud/aiplatform/v1/featurestore_service_services_pb.rb +11 -0
  42. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -0
  43. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +1 -0
  44. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -0
  45. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +46 -0
  46. data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +26 -0
  47. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +1 -0
  48. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -0
  49. data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -0
  50. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +31 -0
  51. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +12 -2
  52. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +123 -0
  53. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -0
  54. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +1 -0
  55. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +25 -0
  56. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +1 -0
  57. data/lib/google/cloud/aiplatform/v1/study_pb.rb +6 -0
  58. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +1 -0
  59. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +1 -1
  60. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +4 -0
  61. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +14 -1
  62. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +23 -0
  63. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +8 -2
  64. data/proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb +190 -0
  65. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +9 -0
  66. data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -8
  67. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +128 -0
  68. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +10 -3
  69. data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +166 -0
  70. data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +2 -5
  71. data/proto_docs/google/cloud/aiplatform/v1/model.rb +31 -11
  72. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +6 -5
  73. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +131 -0
  74. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +83 -0
  75. data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +306 -0
  76. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +5 -0
  77. data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +39 -0
  78. data/proto_docs/google/cloud/aiplatform/v1/study.rb +22 -0
  79. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -1
  80. data/proto_docs/google/type/interval.rb +45 -0
  81. metadata +19 -11
@@ -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
@@ -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