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
@@ -238,14 +238,14 @@ module Google
|
|
238
238
|
# # Call the create_featurestore method.
|
239
239
|
# result = client.create_featurestore 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_featurestore request, options = nil
|
@@ -461,13 +461,11 @@ module Google
|
|
461
461
|
# # Call the list_featurestores method.
|
462
462
|
# result = client.list_featurestores request
|
463
463
|
#
|
464
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
465
|
-
# #
|
466
|
-
#
|
467
|
-
# # methods are also available for managing paging directly.
|
468
|
-
# result.each do |response|
|
464
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
465
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
466
|
+
# result.each do |item|
|
469
467
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::Featurestore.
|
470
|
-
# p
|
468
|
+
# p item
|
471
469
|
# end
|
472
470
|
#
|
473
471
|
def list_featurestores request, options = nil
|
@@ -570,14 +568,14 @@ module Google
|
|
570
568
|
# # Call the update_featurestore method.
|
571
569
|
# result = client.update_featurestore request
|
572
570
|
#
|
573
|
-
# # The returned object is of type Gapic::Operation. You can use
|
574
|
-
# #
|
575
|
-
# #
|
571
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
572
|
+
# # check the status of an operation, cancel it, or wait for results.
|
573
|
+
# # Here is how to wait for a response.
|
576
574
|
# result.wait_until_done! timeout: 60
|
577
575
|
# if result.response?
|
578
576
|
# p result.response
|
579
577
|
# else
|
580
|
-
# puts "
|
578
|
+
# puts "No response received."
|
581
579
|
# end
|
582
580
|
#
|
583
581
|
def update_featurestore request, options = nil
|
@@ -670,14 +668,14 @@ module Google
|
|
670
668
|
# # Call the delete_featurestore method.
|
671
669
|
# result = client.delete_featurestore request
|
672
670
|
#
|
673
|
-
# # The returned object is of type Gapic::Operation. You can use
|
674
|
-
# #
|
675
|
-
# #
|
671
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
672
|
+
# # check the status of an operation, cancel it, or wait for results.
|
673
|
+
# # Here is how to wait for a response.
|
676
674
|
# result.wait_until_done! timeout: 60
|
677
675
|
# if result.response?
|
678
676
|
# p result.response
|
679
677
|
# else
|
680
|
-
# puts "
|
678
|
+
# puts "No response received."
|
681
679
|
# end
|
682
680
|
#
|
683
681
|
def delete_featurestore request, options = nil
|
@@ -775,14 +773,14 @@ module Google
|
|
775
773
|
# # Call the create_entity_type method.
|
776
774
|
# result = client.create_entity_type request
|
777
775
|
#
|
778
|
-
# # The returned object is of type Gapic::Operation. You can use
|
779
|
-
# #
|
780
|
-
# #
|
776
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
777
|
+
# # check the status of an operation, cancel it, or wait for results.
|
778
|
+
# # Here is how to wait for a response.
|
781
779
|
# result.wait_until_done! timeout: 60
|
782
780
|
# if result.response?
|
783
781
|
# p result.response
|
784
782
|
# else
|
785
|
-
# puts "
|
783
|
+
# puts "No response received."
|
786
784
|
# end
|
787
785
|
#
|
788
786
|
def create_entity_type request, options = nil
|
@@ -1000,13 +998,11 @@ module Google
|
|
1000
998
|
# # Call the list_entity_types method.
|
1001
999
|
# result = client.list_entity_types request
|
1002
1000
|
#
|
1003
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1004
|
-
# #
|
1005
|
-
#
|
1006
|
-
# # methods are also available for managing paging directly.
|
1007
|
-
# result.each do |response|
|
1001
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1002
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1003
|
+
# result.each do |item|
|
1008
1004
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::EntityType.
|
1009
|
-
# p
|
1005
|
+
# p item
|
1010
1006
|
# end
|
1011
1007
|
#
|
1012
1008
|
def list_entity_types request, options = nil
|
@@ -1206,14 +1202,14 @@ module Google
|
|
1206
1202
|
# # Call the delete_entity_type method.
|
1207
1203
|
# result = client.delete_entity_type request
|
1208
1204
|
#
|
1209
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1210
|
-
# #
|
1211
|
-
# #
|
1205
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1206
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1207
|
+
# # Here is how to wait for a response.
|
1212
1208
|
# result.wait_until_done! timeout: 60
|
1213
1209
|
# if result.response?
|
1214
1210
|
# p result.response
|
1215
1211
|
# else
|
1216
|
-
# puts "
|
1212
|
+
# puts "No response received."
|
1217
1213
|
# end
|
1218
1214
|
#
|
1219
1215
|
def delete_entity_type request, options = nil
|
@@ -1311,14 +1307,14 @@ module Google
|
|
1311
1307
|
# # Call the create_feature method.
|
1312
1308
|
# result = client.create_feature request
|
1313
1309
|
#
|
1314
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1315
|
-
# #
|
1316
|
-
# #
|
1310
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1311
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1312
|
+
# # Here is how to wait for a response.
|
1317
1313
|
# result.wait_until_done! timeout: 60
|
1318
1314
|
# if result.response?
|
1319
1315
|
# p result.response
|
1320
1316
|
# else
|
1321
|
-
# puts "
|
1317
|
+
# puts "No response received."
|
1322
1318
|
# end
|
1323
1319
|
#
|
1324
1320
|
def create_feature request, options = nil
|
@@ -1412,14 +1408,14 @@ module Google
|
|
1412
1408
|
# # Call the batch_create_features method.
|
1413
1409
|
# result = client.batch_create_features request
|
1414
1410
|
#
|
1415
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1416
|
-
# #
|
1417
|
-
# #
|
1411
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1412
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1413
|
+
# # Here is how to wait for a response.
|
1418
1414
|
# result.wait_until_done! timeout: 60
|
1419
1415
|
# if result.response?
|
1420
1416
|
# p result.response
|
1421
1417
|
# else
|
1422
|
-
# puts "
|
1418
|
+
# puts "No response received."
|
1423
1419
|
# end
|
1424
1420
|
#
|
1425
1421
|
def batch_create_features request, options = nil
|
@@ -1646,13 +1642,11 @@ module Google
|
|
1646
1642
|
# # Call the list_features method.
|
1647
1643
|
# result = client.list_features request
|
1648
1644
|
#
|
1649
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1650
|
-
# #
|
1651
|
-
#
|
1652
|
-
# # methods are also available for managing paging directly.
|
1653
|
-
# result.each do |response|
|
1645
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1646
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1647
|
+
# result.each do |item|
|
1654
1648
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::Feature.
|
1655
|
-
# p
|
1649
|
+
# p item
|
1656
1650
|
# end
|
1657
1651
|
#
|
1658
1652
|
def list_features request, options = nil
|
@@ -1842,14 +1836,14 @@ module Google
|
|
1842
1836
|
# # Call the delete_feature method.
|
1843
1837
|
# result = client.delete_feature request
|
1844
1838
|
#
|
1845
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1846
|
-
# #
|
1847
|
-
# #
|
1839
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1840
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1841
|
+
# # Here is how to wait for a response.
|
1848
1842
|
# result.wait_until_done! timeout: 60
|
1849
1843
|
# if result.response?
|
1850
1844
|
# p result.response
|
1851
1845
|
# else
|
1852
|
-
# puts "
|
1846
|
+
# puts "No response received."
|
1853
1847
|
# end
|
1854
1848
|
#
|
1855
1849
|
def delete_feature request, options = nil
|
@@ -1985,14 +1979,14 @@ module Google
|
|
1985
1979
|
# # Call the import_feature_values method.
|
1986
1980
|
# result = client.import_feature_values request
|
1987
1981
|
#
|
1988
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1989
|
-
# #
|
1990
|
-
# #
|
1982
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1983
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1984
|
+
# # Here is how to wait for a response.
|
1991
1985
|
# result.wait_until_done! timeout: 60
|
1992
1986
|
# if result.response?
|
1993
1987
|
# p result.response
|
1994
1988
|
# else
|
1995
|
-
# puts "
|
1989
|
+
# puts "No response received."
|
1996
1990
|
# end
|
1997
1991
|
#
|
1998
1992
|
def import_feature_values request, options = nil
|
@@ -2132,14 +2126,14 @@ module Google
|
|
2132
2126
|
# # Call the batch_read_feature_values method.
|
2133
2127
|
# result = client.batch_read_feature_values request
|
2134
2128
|
#
|
2135
|
-
# # The returned object is of type Gapic::Operation. You can use
|
2136
|
-
# #
|
2137
|
-
# #
|
2129
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2130
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2131
|
+
# # Here is how to wait for a response.
|
2138
2132
|
# result.wait_until_done! timeout: 60
|
2139
2133
|
# if result.response?
|
2140
2134
|
# p result.response
|
2141
2135
|
# else
|
2142
|
-
# puts "
|
2136
|
+
# puts "No response received."
|
2143
2137
|
# end
|
2144
2138
|
#
|
2145
2139
|
def batch_read_feature_values request, options = nil
|
@@ -2239,14 +2233,14 @@ module Google
|
|
2239
2233
|
# # Call the export_feature_values method.
|
2240
2234
|
# result = client.export_feature_values request
|
2241
2235
|
#
|
2242
|
-
# # The returned object is of type Gapic::Operation. You can use
|
2243
|
-
# #
|
2244
|
-
# #
|
2236
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2237
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2238
|
+
# # Here is how to wait for a response.
|
2245
2239
|
# result.wait_until_done! timeout: 60
|
2246
2240
|
# if result.response?
|
2247
2241
|
# p result.response
|
2248
2242
|
# else
|
2249
|
-
# puts "
|
2243
|
+
# puts "No response received."
|
2250
2244
|
# end
|
2251
2245
|
#
|
2252
2246
|
def export_feature_values request, options = nil
|
@@ -2291,6 +2285,115 @@ module Google
|
|
2291
2285
|
raise ::Google::Cloud::Error.from_error(e)
|
2292
2286
|
end
|
2293
2287
|
|
2288
|
+
##
|
2289
|
+
# Delete Feature values from Featurestore.
|
2290
|
+
#
|
2291
|
+
# The progress of the deletion is tracked by the returned operation. The
|
2292
|
+
# deleted feature values are guaranteed to be invisible to subsequent read
|
2293
|
+
# operations after the operation is marked as successfully done.
|
2294
|
+
#
|
2295
|
+
# If a delete feature values operation fails, the feature values
|
2296
|
+
# returned from reads and exports may be inconsistent. If consistency is
|
2297
|
+
# required, the caller must retry the same delete request again and wait till
|
2298
|
+
# the new operation returned is marked as successfully done.
|
2299
|
+
#
|
2300
|
+
# @overload delete_feature_values(request, options = nil)
|
2301
|
+
# Pass arguments to `delete_feature_values` via a request object, either of type
|
2302
|
+
# {::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest} or an equivalent Hash.
|
2303
|
+
#
|
2304
|
+
# @param request [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest, ::Hash]
|
2305
|
+
# A request object representing the call parameters. Required. To specify no
|
2306
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2307
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2308
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2309
|
+
#
|
2310
|
+
# @overload delete_feature_values(select_entity: nil, select_time_range_and_feature: nil, entity_type: nil)
|
2311
|
+
# Pass arguments to `delete_feature_values` via keyword arguments. Note that at
|
2312
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2313
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2314
|
+
#
|
2315
|
+
# @param select_entity [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest::SelectEntity, ::Hash]
|
2316
|
+
# Select feature values to be deleted by specifying entities.
|
2317
|
+
# @param select_time_range_and_feature [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest::SelectTimeRangeAndFeature, ::Hash]
|
2318
|
+
# Select feature values to be deleted by specifying time range and
|
2319
|
+
# features.
|
2320
|
+
# @param entity_type [::String]
|
2321
|
+
# Required. The resource name of the EntityType grouping the Features for
|
2322
|
+
# which values are being deleted from. Format:
|
2323
|
+
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
|
2324
|
+
#
|
2325
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2326
|
+
# @yieldparam response [::Gapic::Operation]
|
2327
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2328
|
+
#
|
2329
|
+
# @return [::Gapic::Operation]
|
2330
|
+
#
|
2331
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2332
|
+
#
|
2333
|
+
# @example Basic example
|
2334
|
+
# require "google/cloud/ai_platform/v1"
|
2335
|
+
#
|
2336
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2337
|
+
# client = Google::Cloud::AIPlatform::V1::FeaturestoreService::Client.new
|
2338
|
+
#
|
2339
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2340
|
+
# request = Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest.new
|
2341
|
+
#
|
2342
|
+
# # Call the delete_feature_values method.
|
2343
|
+
# result = client.delete_feature_values request
|
2344
|
+
#
|
2345
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2346
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2347
|
+
# # Here is how to wait for a response.
|
2348
|
+
# result.wait_until_done! timeout: 60
|
2349
|
+
# if result.response?
|
2350
|
+
# p result.response
|
2351
|
+
# else
|
2352
|
+
# puts "No response received."
|
2353
|
+
# end
|
2354
|
+
#
|
2355
|
+
def delete_feature_values request, options = nil
|
2356
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2357
|
+
|
2358
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest
|
2359
|
+
|
2360
|
+
# Converts hash and nil to an options object
|
2361
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2362
|
+
|
2363
|
+
# Customize the options with defaults
|
2364
|
+
metadata = @config.rpcs.delete_feature_values.metadata.to_h
|
2365
|
+
|
2366
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
2367
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2368
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2369
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
2370
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2371
|
+
|
2372
|
+
header_params = {}
|
2373
|
+
if request.entity_type
|
2374
|
+
header_params["entity_type"] = request.entity_type
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2378
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2379
|
+
|
2380
|
+
options.apply_defaults timeout: @config.rpcs.delete_feature_values.timeout,
|
2381
|
+
metadata: metadata,
|
2382
|
+
retry_policy: @config.rpcs.delete_feature_values.retry_policy
|
2383
|
+
|
2384
|
+
options.apply_defaults timeout: @config.timeout,
|
2385
|
+
metadata: @config.metadata,
|
2386
|
+
retry_policy: @config.retry_policy
|
2387
|
+
|
2388
|
+
@featurestore_service_stub.call_rpc :delete_feature_values, request, options: options do |response, operation|
|
2389
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
2390
|
+
yield response, operation if block_given?
|
2391
|
+
return response
|
2392
|
+
end
|
2393
|
+
rescue ::GRPC::BadStatus => e
|
2394
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2395
|
+
end
|
2396
|
+
|
2294
2397
|
##
|
2295
2398
|
# Searches Features matching a query in a given project.
|
2296
2399
|
#
|
@@ -2407,13 +2510,11 @@ module Google
|
|
2407
2510
|
# # Call the search_features method.
|
2408
2511
|
# result = client.search_features request
|
2409
2512
|
#
|
2410
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
2411
|
-
# #
|
2412
|
-
#
|
2413
|
-
# # methods are also available for managing paging directly.
|
2414
|
-
# result.each do |response|
|
2513
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2514
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2515
|
+
# result.each do |item|
|
2415
2516
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::Feature.
|
2416
|
-
# p
|
2517
|
+
# p item
|
2417
2518
|
# end
|
2418
2519
|
#
|
2419
2520
|
def search_features request, options = nil
|
@@ -2689,6 +2790,11 @@ module Google
|
|
2689
2790
|
#
|
2690
2791
|
attr_reader :export_feature_values
|
2691
2792
|
##
|
2793
|
+
# RPC-specific configuration for `delete_feature_values`
|
2794
|
+
# @return [::Gapic::Config::Method]
|
2795
|
+
#
|
2796
|
+
attr_reader :delete_feature_values
|
2797
|
+
##
|
2692
2798
|
# RPC-specific configuration for `search_features`
|
2693
2799
|
# @return [::Gapic::Config::Method]
|
2694
2800
|
#
|
@@ -2734,6 +2840,8 @@ module Google
|
|
2734
2840
|
@batch_read_feature_values = ::Gapic::Config::Method.new batch_read_feature_values_config
|
2735
2841
|
export_feature_values_config = parent_rpcs.export_feature_values if parent_rpcs.respond_to? :export_feature_values
|
2736
2842
|
@export_feature_values = ::Gapic::Config::Method.new export_feature_values_config
|
2843
|
+
delete_feature_values_config = parent_rpcs.delete_feature_values if parent_rpcs.respond_to? :delete_feature_values
|
2844
|
+
@delete_feature_values = ::Gapic::Config::Method.new delete_feature_values_config
|
2737
2845
|
search_features_config = parent_rpcs.search_features if parent_rpcs.respond_to? :search_features
|
2738
2846
|
@search_features = ::Gapic::Config::Method.new search_features_config
|
2739
2847
|
|
@@ -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
|
@@ -229,14 +229,14 @@ module Google
|
|
229
229
|
# # Call the create_index_endpoint method.
|
230
230
|
# result = client.create_index_endpoint 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_index_endpoint request, options = nil
|
@@ -440,13 +440,11 @@ module Google
|
|
440
440
|
# # Call the list_index_endpoints method.
|
441
441
|
# result = client.list_index_endpoints request
|
442
442
|
#
|
443
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
444
|
-
# #
|
445
|
-
#
|
446
|
-
# # methods are also available for managing paging directly.
|
447
|
-
# result.each do |response|
|
443
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
444
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
445
|
+
# result.each do |item|
|
448
446
|
# # Each element is of type ::Google::Cloud::AIPlatform::V1::IndexEndpoint.
|
449
|
-
# p
|
447
|
+
# p item
|
450
448
|
# end
|
451
449
|
#
|
452
450
|
def list_index_endpoints request, options = nil
|
@@ -622,14 +620,14 @@ module Google
|
|
622
620
|
# # Call the delete_index_endpoint method.
|
623
621
|
# result = client.delete_index_endpoint request
|
624
622
|
#
|
625
|
-
# # The returned object is of type Gapic::Operation. You can use
|
626
|
-
# #
|
627
|
-
# #
|
623
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
624
|
+
# # check the status of an operation, cancel it, or wait for results.
|
625
|
+
# # Here is how to wait for a response.
|
628
626
|
# result.wait_until_done! timeout: 60
|
629
627
|
# if result.response?
|
630
628
|
# p result.response
|
631
629
|
# else
|
632
|
-
# puts "
|
630
|
+
# puts "No response received."
|
633
631
|
# end
|
634
632
|
#
|
635
633
|
def delete_index_endpoint request, options = nil
|
@@ -721,14 +719,14 @@ module Google
|
|
721
719
|
# # Call the deploy_index method.
|
722
720
|
# result = client.deploy_index request
|
723
721
|
#
|
724
|
-
# # The returned object is of type Gapic::Operation. You can use
|
725
|
-
# #
|
726
|
-
# #
|
722
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
723
|
+
# # check the status of an operation, cancel it, or wait for results.
|
724
|
+
# # Here is how to wait for a response.
|
727
725
|
# result.wait_until_done! timeout: 60
|
728
726
|
# if result.response?
|
729
727
|
# p result.response
|
730
728
|
# else
|
731
|
-
# puts "
|
729
|
+
# puts "No response received."
|
732
730
|
# end
|
733
731
|
#
|
734
732
|
def deploy_index request, options = nil
|
@@ -820,14 +818,14 @@ module Google
|
|
820
818
|
# # Call the undeploy_index method.
|
821
819
|
# result = client.undeploy_index request
|
822
820
|
#
|
823
|
-
# # The returned object is of type Gapic::Operation. You can use
|
824
|
-
# #
|
825
|
-
# #
|
821
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
822
|
+
# # check the status of an operation, cancel it, or wait for results.
|
823
|
+
# # Here is how to wait for a response.
|
826
824
|
# result.wait_until_done! timeout: 60
|
827
825
|
# if result.response?
|
828
826
|
# p result.response
|
829
827
|
# else
|
830
|
-
# puts "
|
828
|
+
# puts "No response received."
|
831
829
|
# end
|
832
830
|
#
|
833
831
|
def undeploy_index request, options = nil
|
@@ -919,14 +917,14 @@ module Google
|
|
919
917
|
# # Call the mutate_deployed_index method.
|
920
918
|
# result = client.mutate_deployed_index request
|
921
919
|
#
|
922
|
-
# # The returned object is of type Gapic::Operation. You can use
|
923
|
-
# #
|
924
|
-
# #
|
920
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
921
|
+
# # check the status of an operation, cancel it, or wait for results.
|
922
|
+
# # Here is how to wait for a response.
|
925
923
|
# result.wait_until_done! timeout: 60
|
926
924
|
# if result.response?
|
927
925
|
# p result.response
|
928
926
|
# else
|
929
|
-
# puts "
|
927
|
+
# puts "No response received."
|
930
928
|
# end
|
931
929
|
#
|
932
930
|
def mutate_deployed_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
|
-
# #
|
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
|