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.
- 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 +777 -60
- data/lib/google/cloud/ai_platform/v1/job_service/credentials.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +40 -0
- 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 +254 -42
- 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_pb.rb +2 -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/job_service_pb.rb +46 -0
- data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +26 -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_pb.rb +5 -0
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +31 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +12 -2
- data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +123 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +25 -0
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +6 -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 +8 -2
- 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/index_endpoint.rb +10 -3
- data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +166 -0
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +2 -5
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +31 -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 +83 -0
- data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +306 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +5 -0
- data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +39 -0
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +22 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -1
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +19 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c1770a287d774d57ba4f0d1bdc6343ea44e98159ecac48bc1d88dce12094dfa
|
4
|
+
data.tar.gz: 21b4b15bda1b4aecc87c66ce1a750f859ab84fbf412a806f2735af419f40602a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ed4a93b6102b49b72b605dc2b46c381c367d9a0a2e5f3337b9052891b24090945b805459df7205f9d52a77c6f118af7966f496eaf574d968fa81df77287be6
|
7
|
+
data.tar.gz: edf093073e2a532923114bb237b22db2c971a6dc8f63b6e189be4020dc0aba0f0108d389f750d7073901eaf78db0aab9d1de5a0117e17acc1ebd1ffa3dbaa8b8
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Vertex AI V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Train high-quality custom machine learning models with minimal machine learning expertise and effort.
|
4
4
|
|
5
5
|
Vertex AI enables data scientists, developers, and AI newcomers to create custom machine learning models specific to their business needs by leveraging Google's state-of-the-art transfer learning and innovative AI research.
|
6
6
|
|
@@ -230,14 +230,14 @@ module Google
|
|
230
230
|
# # Call the create_dataset method.
|
231
231
|
# result = client.create_dataset request
|
232
232
|
#
|
233
|
-
# # The returned object is of type Gapic::Operation. You can use
|
234
|
-
# #
|
235
|
-
# #
|
233
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
234
|
+
# # check the status of an operation, cancel it, or wait for results.
|
235
|
+
# # Here is how to wait for a response.
|
236
236
|
# result.wait_until_done! timeout: 60
|
237
237
|
# if result.response?
|
238
238
|
# p result.response
|
239
239
|
# else
|
240
|
-
# puts "
|
240
|
+
# puts "No response received."
|
241
241
|
# end
|
242
242
|
#
|
243
243
|
def create_dataset request, options = nil
|
@@ -533,13 +533,11 @@ module Google
|
|
533
533
|
# # Call the list_datasets method.
|
534
534
|
# result = client.list_datasets request
|
535
535
|
#
|
536
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
537
|
-
# #
|
538
|
-
#
|
539
|
-
# # methods are also available for managing paging directly.
|
540
|
-
# result.each do |response|
|
536
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
537
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
538
|
+
# result.each do |item|
|
541
539
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::Dataset.
|
542
|
-
# p
|
540
|
+
# p item
|
543
541
|
# end
|
544
542
|
#
|
545
543
|
def list_datasets request, options = nil
|
@@ -627,14 +625,14 @@ module Google
|
|
627
625
|
# # Call the delete_dataset method.
|
628
626
|
# result = client.delete_dataset request
|
629
627
|
#
|
630
|
-
# # The returned object is of type Gapic::Operation. You can use
|
631
|
-
# #
|
632
|
-
# #
|
628
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
629
|
+
# # check the status of an operation, cancel it, or wait for results.
|
630
|
+
# # Here is how to wait for a response.
|
633
631
|
# result.wait_until_done! timeout: 60
|
634
632
|
# if result.response?
|
635
633
|
# p result.response
|
636
634
|
# else
|
637
|
-
# puts "
|
635
|
+
# puts "No response received."
|
638
636
|
# end
|
639
637
|
#
|
640
638
|
def delete_dataset request, options = nil
|
@@ -725,14 +723,14 @@ module Google
|
|
725
723
|
# # Call the import_data method.
|
726
724
|
# result = client.import_data request
|
727
725
|
#
|
728
|
-
# # The returned object is of type Gapic::Operation. You can use
|
729
|
-
# #
|
730
|
-
# #
|
726
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
727
|
+
# # check the status of an operation, cancel it, or wait for results.
|
728
|
+
# # Here is how to wait for a response.
|
731
729
|
# result.wait_until_done! timeout: 60
|
732
730
|
# if result.response?
|
733
731
|
# p result.response
|
734
732
|
# else
|
735
|
-
# puts "
|
733
|
+
# puts "No response received."
|
736
734
|
# end
|
737
735
|
#
|
738
736
|
def import_data request, options = nil
|
@@ -822,14 +820,14 @@ module Google
|
|
822
820
|
# # Call the export_data method.
|
823
821
|
# result = client.export_data request
|
824
822
|
#
|
825
|
-
# # The returned object is of type Gapic::Operation. You can use
|
826
|
-
# #
|
827
|
-
# #
|
823
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
824
|
+
# # check the status of an operation, cancel it, or wait for results.
|
825
|
+
# # Here is how to wait for a response.
|
828
826
|
# result.wait_until_done! timeout: 60
|
829
827
|
# if result.response?
|
830
828
|
# p result.response
|
831
829
|
# else
|
832
|
-
# puts "
|
830
|
+
# puts "No response received."
|
833
831
|
# end
|
834
832
|
#
|
835
833
|
def export_data request, options = nil
|
@@ -928,13 +926,11 @@ module Google
|
|
928
926
|
# # Call the list_data_items method.
|
929
927
|
# result = client.list_data_items request
|
930
928
|
#
|
931
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
932
|
-
# #
|
933
|
-
#
|
934
|
-
# # methods are also available for managing paging directly.
|
935
|
-
# result.each do |response|
|
929
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
930
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
931
|
+
# result.each do |item|
|
936
932
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::DataItem.
|
937
|
-
# p
|
933
|
+
# p item
|
938
934
|
# end
|
939
935
|
#
|
940
936
|
def list_data_items request, options = nil
|
@@ -1081,13 +1077,11 @@ module Google
|
|
1081
1077
|
# # Call the search_data_items method.
|
1082
1078
|
# result = client.search_data_items request
|
1083
1079
|
#
|
1084
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1085
|
-
# #
|
1086
|
-
#
|
1087
|
-
# # methods are also available for managing paging directly.
|
1088
|
-
# result.each do |response|
|
1080
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1081
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1082
|
+
# result.each do |item|
|
1089
1083
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::DataItemView.
|
1090
|
-
# p
|
1084
|
+
# p item
|
1091
1085
|
# end
|
1092
1086
|
#
|
1093
1087
|
def search_data_items request, options = nil
|
@@ -1186,13 +1180,11 @@ module Google
|
|
1186
1180
|
# # Call the list_saved_queries method.
|
1187
1181
|
# result = client.list_saved_queries request
|
1188
1182
|
#
|
1189
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1190
|
-
# #
|
1191
|
-
#
|
1192
|
-
# # methods are also available for managing paging directly.
|
1193
|
-
# result.each do |response|
|
1183
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1184
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1185
|
+
# result.each do |item|
|
1194
1186
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::SavedQuery.
|
1195
|
-
# p
|
1187
|
+
# p item
|
1196
1188
|
# end
|
1197
1189
|
#
|
1198
1190
|
def list_saved_queries request, options = nil
|
@@ -1380,13 +1372,11 @@ module Google
|
|
1380
1372
|
# # Call the list_annotations method.
|
1381
1373
|
# result = client.list_annotations request
|
1382
1374
|
#
|
1383
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1384
|
-
# #
|
1385
|
-
#
|
1386
|
-
# # methods are also available for managing paging directly.
|
1387
|
-
# result.each do |response|
|
1375
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1376
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1377
|
+
# result.each do |item|
|
1388
1378
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::Annotation.
|
1389
|
-
# p
|
1379
|
+
# p item
|
1390
1380
|
# end
|
1391
1381
|
#
|
1392
1382
|
def list_annotations 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
|
@@ -238,14 +238,14 @@ module Google
|
|
238
238
|
# # Call the create_endpoint method.
|
239
239
|
# result = client.create_endpoint request
|
240
240
|
#
|
241
|
-
# # The returned object is of type Gapic::Operation. You can use
|
242
|
-
# #
|
243
|
-
# #
|
241
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
242
|
+
# # check the status of an operation, cancel it, or wait for results.
|
243
|
+
# # Here is how to wait for a response.
|
244
244
|
# result.wait_until_done! timeout: 60
|
245
245
|
# if result.response?
|
246
246
|
# p result.response
|
247
247
|
# else
|
248
|
-
# puts "
|
248
|
+
# puts "No response received."
|
249
249
|
# end
|
250
250
|
#
|
251
251
|
def create_endpoint request, options = nil
|
@@ -456,13 +456,11 @@ module Google
|
|
456
456
|
# # Call the list_endpoints method.
|
457
457
|
# result = client.list_endpoints request
|
458
458
|
#
|
459
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
460
|
-
# #
|
461
|
-
#
|
462
|
-
# # methods are also available for managing paging directly.
|
463
|
-
# result.each do |response|
|
459
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
460
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
461
|
+
# result.each do |item|
|
464
462
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::Endpoint.
|
465
|
-
# p
|
463
|
+
# p item
|
466
464
|
# end
|
467
465
|
#
|
468
466
|
def list_endpoints request, options = nil
|
@@ -638,14 +636,14 @@ module Google
|
|
638
636
|
# # Call the delete_endpoint method.
|
639
637
|
# result = client.delete_endpoint request
|
640
638
|
#
|
641
|
-
# # The returned object is of type Gapic::Operation. You can use
|
642
|
-
# #
|
643
|
-
# #
|
639
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
640
|
+
# # check the status of an operation, cancel it, or wait for results.
|
641
|
+
# # Here is how to wait for a response.
|
644
642
|
# result.wait_until_done! timeout: 60
|
645
643
|
# if result.response?
|
646
644
|
# p result.response
|
647
645
|
# else
|
648
|
-
# puts "
|
646
|
+
# puts "No response received."
|
649
647
|
# end
|
650
648
|
#
|
651
649
|
def delete_endpoint request, options = nil
|
@@ -753,14 +751,14 @@ module Google
|
|
753
751
|
# # Call the deploy_model method.
|
754
752
|
# result = client.deploy_model request
|
755
753
|
#
|
756
|
-
# # The returned object is of type Gapic::Operation. You can use
|
757
|
-
# #
|
758
|
-
# #
|
754
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
755
|
+
# # check the status of an operation, cancel it, or wait for results.
|
756
|
+
# # Here is how to wait for a response.
|
759
757
|
# result.wait_until_done! timeout: 60
|
760
758
|
# if result.response?
|
761
759
|
# p result.response
|
762
760
|
# else
|
763
|
-
# puts "
|
761
|
+
# puts "No response received."
|
764
762
|
# end
|
765
763
|
#
|
766
764
|
def deploy_model request, options = nil
|
@@ -859,14 +857,14 @@ module Google
|
|
859
857
|
# # Call the undeploy_model method.
|
860
858
|
# result = client.undeploy_model request
|
861
859
|
#
|
862
|
-
# # The returned object is of type Gapic::Operation. You can use
|
863
|
-
# #
|
864
|
-
# #
|
860
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
861
|
+
# # check the status of an operation, cancel it, or wait for results.
|
862
|
+
# # Here is how to wait for a response.
|
865
863
|
# result.wait_until_done! timeout: 60
|
866
864
|
# if result.response?
|
867
865
|
# p result.response
|
868
866
|
# else
|
869
|
-
# puts "
|
867
|
+
# puts "No response received."
|
870
868
|
# end
|
871
869
|
#
|
872
870
|
def undeploy_model 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
|
@@ -321,13 +321,13 @@ module Google
|
|
321
321
|
# # Create a request. To set request fields, pass in keyword arguments.
|
322
322
|
# request = Google::Cloud::AIPlatform::V1::StreamingReadFeatureValuesRequest.new
|
323
323
|
#
|
324
|
-
# # Call the streaming_read_feature_values method.
|
325
|
-
#
|
324
|
+
# # Call the streaming_read_feature_values method to start streaming.
|
325
|
+
# output = client.streaming_read_feature_values request
|
326
326
|
#
|
327
|
-
# # The returned object is a streamed enumerable yielding elements of
|
328
|
-
# #
|
329
|
-
#
|
330
|
-
# p
|
327
|
+
# # The returned object is a streamed enumerable yielding elements of type
|
328
|
+
# # ::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse
|
329
|
+
# output.each do |current_response|
|
330
|
+
# p current_response
|
331
331
|
# end
|
332
332
|
#
|
333
333
|
def streaming_read_feature_values request, options = nil
|