google-cloud-ai_platform-v1 0.26.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +103 -2
- data/lib/google/cloud/ai_platform/v1/dataset_service.rb +1 -2
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +1094 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +778 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +187 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +94 -94
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +3 -2
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/schedule_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/schedule_service_pb.rb +61 -0
- data/lib/google/cloud/aiplatform/v1/schedule_service_services_pb.rb +74 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +5 -5
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_services_pb.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +5 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +12 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +8 -8
- data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +13 -0
- data/proto_docs/google/cloud/aiplatform/v1/schedule.rb +152 -0
- data/proto_docs/google/cloud/aiplatform/v1/schedule_service.rb +201 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +52 -51
- metadata +12 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 379089a4e17a7aaa10e1185ff6bd08fb66f1c87822056b0563961897338eed1c
|
4
|
+
data.tar.gz: 2a2df950aafcadc946811bd6dcd17c8b57005db2aec2f097cc0653ce91fad6ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 156c2df6e81821665e0319d457f475fe6ccd5adb41d90fa8a2cd16fa81cbe9b27af7cb6d847975e931a147450f22de9eaaf256cb299953074af1135b05f51306
|
7
|
+
data.tar.gz: 3ad2b028dad2f03be9e60f7bcbb214cb0d715b1cd710cc90150e98c011a41f9c2492f7e29e8ad9cd60cb2cbd69f64f27a8e15201f3a1e6359c534b2003dd4fd4
|
@@ -29,8 +29,7 @@ module Google
|
|
29
29
|
##
|
30
30
|
# Client for the DatasetService service.
|
31
31
|
#
|
32
|
-
# The service that
|
33
|
-
# resources.
|
32
|
+
# The service that manages Vertex AI Dataset and its child resources.
|
34
33
|
#
|
35
34
|
class Client
|
36
35
|
include Paths
|
@@ -1229,6 +1228,101 @@ module Google
|
|
1229
1228
|
raise ::Google::Cloud::Error.from_error(e)
|
1230
1229
|
end
|
1231
1230
|
|
1231
|
+
##
|
1232
|
+
# Deletes a SavedQuery.
|
1233
|
+
#
|
1234
|
+
# @overload delete_saved_query(request, options = nil)
|
1235
|
+
# Pass arguments to `delete_saved_query` via a request object, either of type
|
1236
|
+
# {::Google::Cloud::AIPlatform::V1::DeleteSavedQueryRequest} or an equivalent Hash.
|
1237
|
+
#
|
1238
|
+
# @param request [::Google::Cloud::AIPlatform::V1::DeleteSavedQueryRequest, ::Hash]
|
1239
|
+
# A request object representing the call parameters. Required. To specify no
|
1240
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1241
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1242
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1243
|
+
#
|
1244
|
+
# @overload delete_saved_query(name: nil)
|
1245
|
+
# Pass arguments to `delete_saved_query` via keyword arguments. Note that at
|
1246
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
1247
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
1248
|
+
#
|
1249
|
+
# @param name [::String]
|
1250
|
+
# Required. The resource name of the SavedQuery to delete.
|
1251
|
+
# Format:
|
1252
|
+
# `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}`
|
1253
|
+
#
|
1254
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
1255
|
+
# @yieldparam response [::Gapic::Operation]
|
1256
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1257
|
+
#
|
1258
|
+
# @return [::Gapic::Operation]
|
1259
|
+
#
|
1260
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1261
|
+
#
|
1262
|
+
# @example Basic example
|
1263
|
+
# require "google/cloud/ai_platform/v1"
|
1264
|
+
#
|
1265
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1266
|
+
# client = Google::Cloud::AIPlatform::V1::DatasetService::Client.new
|
1267
|
+
#
|
1268
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1269
|
+
# request = Google::Cloud::AIPlatform::V1::DeleteSavedQueryRequest.new
|
1270
|
+
#
|
1271
|
+
# # Call the delete_saved_query method.
|
1272
|
+
# result = client.delete_saved_query request
|
1273
|
+
#
|
1274
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1275
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1276
|
+
# # Here is how to wait for a response.
|
1277
|
+
# result.wait_until_done! timeout: 60
|
1278
|
+
# if result.response?
|
1279
|
+
# p result.response
|
1280
|
+
# else
|
1281
|
+
# puts "No response received."
|
1282
|
+
# end
|
1283
|
+
#
|
1284
|
+
def delete_saved_query request, options = nil
|
1285
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1286
|
+
|
1287
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::DeleteSavedQueryRequest
|
1288
|
+
|
1289
|
+
# Converts hash and nil to an options object
|
1290
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1291
|
+
|
1292
|
+
# Customize the options with defaults
|
1293
|
+
metadata = @config.rpcs.delete_saved_query.metadata.to_h
|
1294
|
+
|
1295
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
1296
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1297
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1298
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
1299
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1300
|
+
|
1301
|
+
header_params = {}
|
1302
|
+
if request.name
|
1303
|
+
header_params["name"] = request.name
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1307
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
1308
|
+
|
1309
|
+
options.apply_defaults timeout: @config.rpcs.delete_saved_query.timeout,
|
1310
|
+
metadata: metadata,
|
1311
|
+
retry_policy: @config.rpcs.delete_saved_query.retry_policy
|
1312
|
+
|
1313
|
+
options.apply_defaults timeout: @config.timeout,
|
1314
|
+
metadata: @config.metadata,
|
1315
|
+
retry_policy: @config.retry_policy
|
1316
|
+
|
1317
|
+
@dataset_service_stub.call_rpc :delete_saved_query, request, options: options do |response, operation|
|
1318
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1319
|
+
yield response, operation if block_given?
|
1320
|
+
return response
|
1321
|
+
end
|
1322
|
+
rescue ::GRPC::BadStatus => e
|
1323
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1324
|
+
end
|
1325
|
+
|
1232
1326
|
##
|
1233
1327
|
# Gets an AnnotationSpec.
|
1234
1328
|
#
|
@@ -1609,6 +1703,11 @@ module Google
|
|
1609
1703
|
#
|
1610
1704
|
attr_reader :list_saved_queries
|
1611
1705
|
##
|
1706
|
+
# RPC-specific configuration for `delete_saved_query`
|
1707
|
+
# @return [::Gapic::Config::Method]
|
1708
|
+
#
|
1709
|
+
attr_reader :delete_saved_query
|
1710
|
+
##
|
1612
1711
|
# RPC-specific configuration for `get_annotation_spec`
|
1613
1712
|
# @return [::Gapic::Config::Method]
|
1614
1713
|
#
|
@@ -1641,6 +1740,8 @@ module Google
|
|
1641
1740
|
@search_data_items = ::Gapic::Config::Method.new search_data_items_config
|
1642
1741
|
list_saved_queries_config = parent_rpcs.list_saved_queries if parent_rpcs.respond_to? :list_saved_queries
|
1643
1742
|
@list_saved_queries = ::Gapic::Config::Method.new list_saved_queries_config
|
1743
|
+
delete_saved_query_config = parent_rpcs.delete_saved_query if parent_rpcs.respond_to? :delete_saved_query
|
1744
|
+
@delete_saved_query = ::Gapic::Config::Method.new delete_saved_query_config
|
1644
1745
|
get_annotation_spec_config = parent_rpcs.get_annotation_spec if parent_rpcs.respond_to? :get_annotation_spec
|
1645
1746
|
@get_annotation_spec = ::Gapic::Config::Method.new get_annotation_spec_config
|
1646
1747
|
list_annotations_config = parent_rpcs.list_annotations if parent_rpcs.respond_to? :list_annotations
|
@@ -32,8 +32,7 @@ module Google
|
|
32
32
|
module AIPlatform
|
33
33
|
module V1
|
34
34
|
##
|
35
|
-
# The service that
|
36
|
-
# resources.
|
35
|
+
# The service that manages Vertex AI Dataset and its child resources.
|
37
36
|
#
|
38
37
|
# @example Load this service and instantiate a gRPC client
|
39
38
|
#
|
@@ -206,7 +206,7 @@ module Google
|
|
206
206
|
# @param parent [::String]
|
207
207
|
# Required. The resource name of the Location to create Featurestores.
|
208
208
|
# Format:
|
209
|
-
# `projects/{project}/locations/{location}
|
209
|
+
# `projects/{project}/locations/{location}`
|
210
210
|
# @param featurestore [::Google::Cloud::AIPlatform::V1::Featurestore, ::Hash]
|
211
211
|
# Required. The Featurestore to create.
|
212
212
|
# @param featurestore_id [::String]
|
@@ -2466,6 +2466,7 @@ module Google
|
|
2466
2466
|
# * `featurestore_id`: Supports = comparisons.
|
2467
2467
|
#
|
2468
2468
|
# Examples:
|
2469
|
+
#
|
2469
2470
|
# * `description = "foo bar"` --> Any Feature with description exactly equal
|
2470
2471
|
# to `foo bar`
|
2471
2472
|
# * `value_type = DOUBLE` --> Features whose type is DOUBLE.
|