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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +38 -48
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +32 -28
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +8 -8
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +179 -74
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +26 -28
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +18 -20
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +62 -78
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +54 -64
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +10 -12
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +137 -48
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +18 -22
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +2 -2
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +18 -20
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +52 -62
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +19 -23
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +14 -16
- 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/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 +2 -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/api/client.rb +57 -3
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -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/endpoint_service.rb +10 -4
- 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 +129 -4
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +11 -1
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +2 -5
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +24 -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
|
@@ -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
|
|
@@ -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://
|
|
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://
|
|
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_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
|
|
@@ -3030,9 +3020,9 @@ module Google
|
|
|
3030
3020
|
# * (`String`) The path to a service account key file in JSON format
|
|
3031
3021
|
# * (`Hash`) A service account key as a Hash
|
|
3032
3022
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3033
|
-
# (see the [googleauth docs](https://
|
|
3023
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3034
3024
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
3035
|
-
# (see the [signet docs](https://
|
|
3025
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
|
3036
3026
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
|
3037
3027
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
3038
3028
|
# * (`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
|
-
# #
|
|
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
|
|
@@ -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://
|
|
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://
|
|
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
|
|
@@ -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
|
|
@@ -1603,9 +1599,9 @@ module Google
|
|
|
1603
1599
|
# * (`String`) The path to a service account key file in JSON format
|
|
1604
1600
|
# * (`Hash`) A service account key as a Hash
|
|
1605
1601
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1606
|
-
# (see the [googleauth docs](https://
|
|
1602
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1607
1603
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
1608
|
-
# (see the [signet docs](https://
|
|
1604
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
|
1609
1605
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
|
1610
1606
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1611
1607
|
# * (`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
|
-
# #
|
|
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
|
|
@@ -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://
|
|
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://
|
|
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
|
|
@@ -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
|