google-cloud-ai_platform-v1 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +36 -46
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +20 -22
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +6 -6
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +176 -68
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +24 -26
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +16 -18
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +60 -76
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +52 -62
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +8 -10
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +135 -46
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +16 -20
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +16 -18
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +50 -60
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +17 -21
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +12 -14
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +9 -0
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +63 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +49 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_services_pb.rb +11 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -0
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +11 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +5 -2
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +14 -1
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb +190 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +9 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -8
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +128 -0
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +2 -5
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +16 -11
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +6 -5
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +131 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +25 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -1
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +15 -11
@@ -229,14 +229,14 @@ module Google
|
|
229
229
|
# # Call the create_tensorboard method.
|
230
230
|
# result = client.create_tensorboard request
|
231
231
|
#
|
232
|
-
# # The returned object is of type Gapic::Operation. You can use
|
233
|
-
# #
|
234
|
-
# #
|
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 "
|
239
|
+
# puts "No response received."
|
240
240
|
# end
|
241
241
|
#
|
242
242
|
def create_tensorboard request, options = nil
|
@@ -505,14 +505,14 @@ module Google
|
|
505
505
|
# # Call the update_tensorboard method.
|
506
506
|
# result = client.update_tensorboard request
|
507
507
|
#
|
508
|
-
# # The returned object is of type Gapic::Operation. You can use
|
509
|
-
# #
|
510
|
-
# #
|
508
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
509
|
+
# # check the status of an operation, cancel it, or wait for results.
|
510
|
+
# # Here is how to wait for a response.
|
511
511
|
# result.wait_until_done! timeout: 60
|
512
512
|
# if result.response?
|
513
513
|
# p result.response
|
514
514
|
# else
|
515
|
-
# puts "
|
515
|
+
# puts "No response received."
|
516
516
|
# end
|
517
517
|
#
|
518
518
|
def update_tensorboard request, options = nil
|
@@ -619,13 +619,11 @@ module Google
|
|
619
619
|
# # Call the list_tensorboards method.
|
620
620
|
# result = client.list_tensorboards request
|
621
621
|
#
|
622
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
623
|
-
# #
|
624
|
-
#
|
625
|
-
# # methods are also available for managing paging directly.
|
626
|
-
# result.each do |response|
|
622
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
623
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
624
|
+
# result.each do |item|
|
627
625
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::Tensorboard.
|
628
|
-
# p
|
626
|
+
# p item
|
629
627
|
# end
|
630
628
|
#
|
631
629
|
def list_tensorboards request, options = nil
|
@@ -713,14 +711,14 @@ module Google
|
|
713
711
|
# # Call the delete_tensorboard method.
|
714
712
|
# result = client.delete_tensorboard request
|
715
713
|
#
|
716
|
-
# # The returned object is of type Gapic::Operation. You can use
|
717
|
-
# #
|
718
|
-
# #
|
714
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
715
|
+
# # check the status of an operation, cancel it, or wait for results.
|
716
|
+
# # Here is how to wait for a response.
|
719
717
|
# result.wait_until_done! timeout: 60
|
720
718
|
# if result.response?
|
721
719
|
# p result.response
|
722
720
|
# else
|
723
|
-
# puts "
|
721
|
+
# puts "No response received."
|
724
722
|
# end
|
725
723
|
#
|
726
724
|
def delete_tensorboard request, options = nil
|
@@ -1103,13 +1101,11 @@ module Google
|
|
1103
1101
|
# # Call the list_tensorboard_experiments method.
|
1104
1102
|
# result = client.list_tensorboard_experiments request
|
1105
1103
|
#
|
1106
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1107
|
-
# #
|
1108
|
-
#
|
1109
|
-
# # methods are also available for managing paging directly.
|
1110
|
-
# result.each do |response|
|
1104
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1105
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1106
|
+
# result.each do |item|
|
1111
1107
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::TensorboardExperiment.
|
1112
|
-
# p
|
1108
|
+
# p item
|
1113
1109
|
# end
|
1114
1110
|
#
|
1115
1111
|
def list_tensorboard_experiments request, options = nil
|
@@ -1197,14 +1193,14 @@ module Google
|
|
1197
1193
|
# # Call the delete_tensorboard_experiment method.
|
1198
1194
|
# result = client.delete_tensorboard_experiment request
|
1199
1195
|
#
|
1200
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1201
|
-
# #
|
1202
|
-
# #
|
1196
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1197
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1198
|
+
# # Here is how to wait for a response.
|
1203
1199
|
# result.wait_until_done! timeout: 60
|
1204
1200
|
# if result.response?
|
1205
1201
|
# p result.response
|
1206
1202
|
# else
|
1207
|
-
# puts "
|
1203
|
+
# puts "No response received."
|
1208
1204
|
# end
|
1209
1205
|
#
|
1210
1206
|
def delete_tensorboard_experiment request, options = nil
|
@@ -1679,13 +1675,11 @@ module Google
|
|
1679
1675
|
# # Call the list_tensorboard_runs method.
|
1680
1676
|
# result = client.list_tensorboard_runs request
|
1681
1677
|
#
|
1682
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1683
|
-
# #
|
1684
|
-
#
|
1685
|
-
# # methods are also available for managing paging directly.
|
1686
|
-
# result.each do |response|
|
1678
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1679
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1680
|
+
# result.each do |item|
|
1687
1681
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::TensorboardRun.
|
1688
|
-
# p
|
1682
|
+
# p item
|
1689
1683
|
# end
|
1690
1684
|
#
|
1691
1685
|
def list_tensorboard_runs request, options = nil
|
@@ -1773,14 +1767,14 @@ module Google
|
|
1773
1767
|
# # Call the delete_tensorboard_run method.
|
1774
1768
|
# result = client.delete_tensorboard_run request
|
1775
1769
|
#
|
1776
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1777
|
-
# #
|
1778
|
-
# #
|
1770
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1771
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1772
|
+
# # Here is how to wait for a response.
|
1779
1773
|
# result.wait_until_done! timeout: 60
|
1780
1774
|
# if result.response?
|
1781
1775
|
# p result.response
|
1782
1776
|
# else
|
1783
|
-
# puts "
|
1777
|
+
# puts "No response received."
|
1784
1778
|
# end
|
1785
1779
|
#
|
1786
1780
|
def delete_tensorboard_run request, options = nil
|
@@ -2258,13 +2252,11 @@ module Google
|
|
2258
2252
|
# # Call the list_tensorboard_time_series method.
|
2259
2253
|
# result = client.list_tensorboard_time_series request
|
2260
2254
|
#
|
2261
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
2262
|
-
# #
|
2263
|
-
#
|
2264
|
-
# # methods are also available for managing paging directly.
|
2265
|
-
# result.each do |response|
|
2255
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2256
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2257
|
+
# result.each do |item|
|
2266
2258
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::TensorboardTimeSeries.
|
2267
|
-
# p
|
2259
|
+
# p item
|
2268
2260
|
# end
|
2269
2261
|
#
|
2270
2262
|
def list_tensorboard_time_series request, options = nil
|
@@ -2352,14 +2344,14 @@ module Google
|
|
2352
2344
|
# # Call the delete_tensorboard_time_series method.
|
2353
2345
|
# result = client.delete_tensorboard_time_series request
|
2354
2346
|
#
|
2355
|
-
# # The returned object is of type Gapic::Operation. You can use
|
2356
|
-
# #
|
2357
|
-
# #
|
2347
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2348
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2349
|
+
# # Here is how to wait for a response.
|
2358
2350
|
# result.wait_until_done! timeout: 60
|
2359
2351
|
# if result.response?
|
2360
2352
|
# p result.response
|
2361
2353
|
# else
|
2362
|
-
# puts "
|
2354
|
+
# puts "No response received."
|
2363
2355
|
# end
|
2364
2356
|
#
|
2365
2357
|
def delete_tensorboard_time_series request, options = nil
|
@@ -2645,13 +2637,13 @@ module Google
|
|
2645
2637
|
# # Create a request. To set request fields, pass in keyword arguments.
|
2646
2638
|
# request = Google::Cloud::AIPlatform::V1::ReadTensorboardBlobDataRequest.new
|
2647
2639
|
#
|
2648
|
-
# # Call the read_tensorboard_blob_data method.
|
2649
|
-
#
|
2640
|
+
# # Call the read_tensorboard_blob_data method to start streaming.
|
2641
|
+
# output = client.read_tensorboard_blob_data request
|
2650
2642
|
#
|
2651
|
-
# # The returned object is a streamed enumerable yielding elements of
|
2652
|
-
# #
|
2653
|
-
#
|
2654
|
-
# p
|
2643
|
+
# # The returned object is a streamed enumerable yielding elements of type
|
2644
|
+
# # ::Google::Cloud::AIPlatform::V1::ReadTensorboardBlobDataResponse
|
2645
|
+
# output.each do |current_response|
|
2646
|
+
# p current_response
|
2655
2647
|
# end
|
2656
2648
|
#
|
2657
2649
|
def read_tensorboard_blob_data request, options = nil
|
@@ -2941,13 +2933,11 @@ module Google
|
|
2941
2933
|
# # Call the export_tensorboard_time_series_data method.
|
2942
2934
|
# result = client.export_tensorboard_time_series_data request
|
2943
2935
|
#
|
2944
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
2945
|
-
# #
|
2946
|
-
#
|
2947
|
-
# # methods are also available for managing paging directly.
|
2948
|
-
# result.each do |response|
|
2936
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2937
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2938
|
+
# result.each do |item|
|
2949
2939
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::TimeSeriesDataPoint.
|
2950
|
-
# p
|
2940
|
+
# p item
|
2951
2941
|
# end
|
2952
2942
|
#
|
2953
2943
|
def export_tensorboard_time_series_data 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
|
-
# #
|
163
|
-
#
|
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
|
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
|
257
|
-
# #
|
258
|
-
# #
|
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 "
|
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
|
544
|
-
# #
|
545
|
-
# #
|
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 "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|
@@ -412,13 +412,11 @@ module Google
|
|
412
412
|
# # Call the list_studies method.
|
413
413
|
# result = client.list_studies request
|
414
414
|
#
|
415
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
416
|
-
# #
|
417
|
-
#
|
418
|
-
# # methods are also available for managing paging directly.
|
419
|
-
# result.each do |response|
|
415
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
416
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
417
|
+
# result.each do |item|
|
420
418
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::Study.
|
421
|
-
# p
|
419
|
+
# p item
|
422
420
|
# end
|
423
421
|
#
|
424
422
|
def list_studies request, options = nil
|
@@ -692,14 +690,14 @@ module Google
|
|
692
690
|
# # Call the suggest_trials method.
|
693
691
|
# result = client.suggest_trials request
|
694
692
|
#
|
695
|
-
# # The returned object is of type Gapic::Operation. You can use
|
696
|
-
# #
|
697
|
-
# #
|
693
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
694
|
+
# # check the status of an operation, cancel it, or wait for results.
|
695
|
+
# # Here is how to wait for a response.
|
698
696
|
# result.wait_until_done! timeout: 60
|
699
697
|
# if result.response?
|
700
698
|
# p result.response
|
701
699
|
# else
|
702
|
-
# puts "
|
700
|
+
# puts "No response received."
|
703
701
|
# end
|
704
702
|
#
|
705
703
|
def suggest_trials request, options = nil
|
@@ -967,13 +965,11 @@ module Google
|
|
967
965
|
# # Call the list_trials method.
|
968
966
|
# result = client.list_trials request
|
969
967
|
#
|
970
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
971
|
-
# #
|
972
|
-
#
|
973
|
-
# # methods are also available for managing paging directly.
|
974
|
-
# result.each do |response|
|
968
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
969
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
970
|
+
# result.each do |item|
|
975
971
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::Trial.
|
976
|
-
# p
|
972
|
+
# p item
|
977
973
|
# end
|
978
974
|
#
|
979
975
|
def list_trials request, options = nil
|
@@ -1296,7 +1292,7 @@ module Google
|
|
1296
1292
|
# Checks whether a Trial should stop or not. Returns a
|
1297
1293
|
# long-running operation. When the operation is successful,
|
1298
1294
|
# it will contain a
|
1299
|
-
#
|
1295
|
+
# {::Google::Cloud::AIPlatform::V1::CheckTrialEarlyStoppingStateResponse CheckTrialEarlyStoppingStateResponse}.
|
1300
1296
|
#
|
1301
1297
|
# @overload check_trial_early_stopping_state(request, options = nil)
|
1302
1298
|
# Pass arguments to `check_trial_early_stopping_state` via a request object, either of type
|
@@ -1338,14 +1334,14 @@ module Google
|
|
1338
1334
|
# # Call the check_trial_early_stopping_state method.
|
1339
1335
|
# result = client.check_trial_early_stopping_state request
|
1340
1336
|
#
|
1341
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1342
|
-
# #
|
1343
|
-
# #
|
1337
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1338
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1339
|
+
# # Here is how to wait for a response.
|
1344
1340
|
# result.wait_until_done! timeout: 60
|
1345
1341
|
# if result.response?
|
1346
1342
|
# p result.response
|
1347
1343
|
# else
|
1348
|
-
# puts "
|
1344
|
+
# puts "No response received."
|
1349
1345
|
# end
|
1350
1346
|
#
|
1351
1347
|
def check_trial_early_stopping_state 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
|
-
# #
|
163
|
-
#
|
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
|
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
|
257
|
-
# #
|
258
|
-
# #
|
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 "
|
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
|
544
|
-
# #
|
545
|
-
# #
|
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 "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|
@@ -46,6 +46,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
46
46
|
optional :update_time, :message, 18, "google.protobuf.Timestamp"
|
47
47
|
map :labels, :string, :string, 19
|
48
48
|
optional :encryption_spec, :message, 24, "google.cloud.aiplatform.v1.EncryptionSpec"
|
49
|
+
optional :disable_container_logging, :bool, 34
|
49
50
|
end
|
50
51
|
add_message "google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig" do
|
51
52
|
optional :instances_format, :string, 1
|
@@ -40,6 +40,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
40
40
|
oneof :destination do
|
41
41
|
optional :gcs_destination, :message, 1, "google.cloud.aiplatform.v1.GcsDestination"
|
42
42
|
end
|
43
|
+
oneof :split do
|
44
|
+
optional :fraction_split, :message, 5, "google.cloud.aiplatform.v1.ExportFractionSplit"
|
45
|
+
end
|
46
|
+
end
|
47
|
+
add_message "google.cloud.aiplatform.v1.ExportFractionSplit" do
|
48
|
+
optional :training_fraction, :double, 1
|
49
|
+
optional :validation_fraction, :double, 2
|
50
|
+
optional :test_fraction, :double, 3
|
43
51
|
end
|
44
52
|
end
|
45
53
|
end
|
@@ -51,6 +59,7 @@ module Google
|
|
51
59
|
Dataset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Dataset").msgclass
|
52
60
|
ImportDataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ImportDataConfig").msgclass
|
53
61
|
ExportDataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportDataConfig").msgclass
|
62
|
+
ExportFractionSplit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportFractionSplit").msgclass
|
54
63
|
end
|
55
64
|
end
|
56
65
|
end
|
@@ -14,6 +14,7 @@ require 'google/cloud/aiplatform/v1/dataset_pb'
|
|
14
14
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
15
15
|
require 'google/cloud/aiplatform/v1/saved_query_pb'
|
16
16
|
require 'google/longrunning/operations_pb'
|
17
|
+
require 'google/protobuf/empty_pb'
|
17
18
|
require 'google/protobuf/field_mask_pb'
|
18
19
|
|
19
20
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -10,6 +10,7 @@ require 'google/api/resource_pb'
|
|
10
10
|
require 'google/cloud/aiplatform/v1/endpoint_pb'
|
11
11
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
12
12
|
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/empty_pb'
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
14
15
|
|
15
16
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/aiplatform/v1/evaluated_annotation.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/cloud/aiplatform/v1/explanation_pb'
|
8
|
+
require 'google/protobuf/struct_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("google/cloud/aiplatform/v1/evaluated_annotation.proto", :syntax => :proto3) do
|
12
|
+
add_message "google.cloud.aiplatform.v1.EvaluatedAnnotation" do
|
13
|
+
optional :type, :enum, 1, "google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType"
|
14
|
+
repeated :predictions, :message, 2, "google.protobuf.Value"
|
15
|
+
repeated :ground_truths, :message, 3, "google.protobuf.Value"
|
16
|
+
optional :data_item_payload, :message, 5, "google.protobuf.Value"
|
17
|
+
optional :evaluated_data_item_view_id, :string, 6
|
18
|
+
repeated :explanations, :message, 8, "google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation"
|
19
|
+
repeated :error_analysis_annotations, :message, 9, "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation"
|
20
|
+
end
|
21
|
+
add_enum "google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType" do
|
22
|
+
value :EVALUATED_ANNOTATION_TYPE_UNSPECIFIED, 0
|
23
|
+
value :TRUE_POSITIVE, 1
|
24
|
+
value :FALSE_POSITIVE, 2
|
25
|
+
value :FALSE_NEGATIVE, 3
|
26
|
+
end
|
27
|
+
add_message "google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation" do
|
28
|
+
optional :explanation_type, :string, 1
|
29
|
+
optional :explanation, :message, 2, "google.cloud.aiplatform.v1.Explanation"
|
30
|
+
end
|
31
|
+
add_message "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation" do
|
32
|
+
repeated :attributed_items, :message, 1, "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem"
|
33
|
+
optional :query_type, :enum, 2, "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType"
|
34
|
+
optional :outlier_score, :double, 3
|
35
|
+
optional :outlier_threshold, :double, 4
|
36
|
+
end
|
37
|
+
add_message "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem" do
|
38
|
+
optional :annotation_resource_name, :string, 1
|
39
|
+
optional :distance, :double, 2
|
40
|
+
end
|
41
|
+
add_enum "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType" do
|
42
|
+
value :QUERY_TYPE_UNSPECIFIED, 0
|
43
|
+
value :ALL_SIMILAR, 1
|
44
|
+
value :SAME_CLASS_SIMILAR, 2
|
45
|
+
value :SAME_CLASS_DISSIMILAR, 3
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
module Google
|
51
|
+
module Cloud
|
52
|
+
module AIPlatform
|
53
|
+
module V1
|
54
|
+
EvaluatedAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EvaluatedAnnotation").msgclass
|
55
|
+
EvaluatedAnnotation::EvaluatedAnnotationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType").enummodule
|
56
|
+
EvaluatedAnnotationExplanation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation").msgclass
|
57
|
+
ErrorAnalysisAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ErrorAnalysisAnnotation").msgclass
|
58
|
+
ErrorAnalysisAnnotation::AttributedItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem").msgclass
|
59
|
+
ErrorAnalysisAnnotation::QueryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType").enummodule
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -27,6 +27,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
27
|
add_message "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling" do
|
28
28
|
optional :min_node_count, :int32, 1
|
29
29
|
optional :max_node_count, :int32, 2
|
30
|
+
optional :cpu_utilization_target, :int32, 3
|
30
31
|
end
|
31
32
|
add_enum "google.cloud.aiplatform.v1.Featurestore.State" do
|
32
33
|
value :STATE_UNSPECIFIED, 0
|