google-cloud-ai_platform-v1 0.25.0 → 0.27.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/model_service/client.rb +103 -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/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 +6 -1
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -1
- 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 +32 -0
- 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/tensorboard_service.rb +52 -51
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1555acd4a72deb70df0daf713aa449b3565bab50d1d2b81ba8a44cf56bd6f91a
|
4
|
+
data.tar.gz: 6ada0b556e610fe1d52e28b2480e2cd7d1aa99f72e83f977ba06421525314f5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfb8967df79c8d5217f877609fcf56c447cce943a5b5f36a34286f5673dc70e50806bdccd39ecdf40a97468a9347238c281fed695f541828a1fd687ad85c8490
|
7
|
+
data.tar.gz: bc42bc22cb2cfb3fcfe8b852cfdf69c6d3c4a02b572eed8cc4bbed829b370a8c7e30e202a7edcf9c8a02c8a4f8aa6bbfb98fd2ee1ecc757d3c8f8aa0c022e006
|
@@ -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.
|
@@ -752,6 +752,102 @@ module Google
|
|
752
752
|
raise ::Google::Cloud::Error.from_error(e)
|
753
753
|
end
|
754
754
|
|
755
|
+
##
|
756
|
+
# Incrementally update the dataset used for an examples model.
|
757
|
+
#
|
758
|
+
# @overload update_explanation_dataset(request, options = nil)
|
759
|
+
# Pass arguments to `update_explanation_dataset` via a request object, either of type
|
760
|
+
# {::Google::Cloud::AIPlatform::V1::UpdateExplanationDatasetRequest} or an equivalent Hash.
|
761
|
+
#
|
762
|
+
# @param request [::Google::Cloud::AIPlatform::V1::UpdateExplanationDatasetRequest, ::Hash]
|
763
|
+
# A request object representing the call parameters. Required. To specify no
|
764
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
765
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
766
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
767
|
+
#
|
768
|
+
# @overload update_explanation_dataset(model: nil, examples: nil)
|
769
|
+
# Pass arguments to `update_explanation_dataset` via keyword arguments. Note that at
|
770
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
771
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
772
|
+
#
|
773
|
+
# @param model [::String]
|
774
|
+
# Required. The resource name of the Model to update.
|
775
|
+
# Format: `projects/{project}/locations/{location}/models/{model}`
|
776
|
+
# @param examples [::Google::Cloud::AIPlatform::V1::Examples, ::Hash]
|
777
|
+
# The example config containing the location of the dataset.
|
778
|
+
#
|
779
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
780
|
+
# @yieldparam response [::Gapic::Operation]
|
781
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
782
|
+
#
|
783
|
+
# @return [::Gapic::Operation]
|
784
|
+
#
|
785
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
786
|
+
#
|
787
|
+
# @example Basic example
|
788
|
+
# require "google/cloud/ai_platform/v1"
|
789
|
+
#
|
790
|
+
# # Create a client object. The client can be reused for multiple calls.
|
791
|
+
# client = Google::Cloud::AIPlatform::V1::ModelService::Client.new
|
792
|
+
#
|
793
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
794
|
+
# request = Google::Cloud::AIPlatform::V1::UpdateExplanationDatasetRequest.new
|
795
|
+
#
|
796
|
+
# # Call the update_explanation_dataset method.
|
797
|
+
# result = client.update_explanation_dataset request
|
798
|
+
#
|
799
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
800
|
+
# # check the status of an operation, cancel it, or wait for results.
|
801
|
+
# # Here is how to wait for a response.
|
802
|
+
# result.wait_until_done! timeout: 60
|
803
|
+
# if result.response?
|
804
|
+
# p result.response
|
805
|
+
# else
|
806
|
+
# puts "No response received."
|
807
|
+
# end
|
808
|
+
#
|
809
|
+
def update_explanation_dataset request, options = nil
|
810
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
811
|
+
|
812
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::UpdateExplanationDatasetRequest
|
813
|
+
|
814
|
+
# Converts hash and nil to an options object
|
815
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
816
|
+
|
817
|
+
# Customize the options with defaults
|
818
|
+
metadata = @config.rpcs.update_explanation_dataset.metadata.to_h
|
819
|
+
|
820
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
821
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
822
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
823
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
824
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
825
|
+
|
826
|
+
header_params = {}
|
827
|
+
if request.model
|
828
|
+
header_params["model"] = request.model
|
829
|
+
end
|
830
|
+
|
831
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
832
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
833
|
+
|
834
|
+
options.apply_defaults timeout: @config.rpcs.update_explanation_dataset.timeout,
|
835
|
+
metadata: metadata,
|
836
|
+
retry_policy: @config.rpcs.update_explanation_dataset.retry_policy
|
837
|
+
|
838
|
+
options.apply_defaults timeout: @config.timeout,
|
839
|
+
metadata: @config.metadata,
|
840
|
+
retry_policy: @config.retry_policy
|
841
|
+
|
842
|
+
@model_service_stub.call_rpc :update_explanation_dataset, request, options: options do |response, operation|
|
843
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
844
|
+
yield response, operation if block_given?
|
845
|
+
return response
|
846
|
+
end
|
847
|
+
rescue ::GRPC::BadStatus => e
|
848
|
+
raise ::Google::Cloud::Error.from_error(e)
|
849
|
+
end
|
850
|
+
|
755
851
|
##
|
756
852
|
# Deletes a Model.
|
757
853
|
#
|
@@ -2086,6 +2182,11 @@ module Google
|
|
2086
2182
|
#
|
2087
2183
|
attr_reader :update_model
|
2088
2184
|
##
|
2185
|
+
# RPC-specific configuration for `update_explanation_dataset`
|
2186
|
+
# @return [::Gapic::Config::Method]
|
2187
|
+
#
|
2188
|
+
attr_reader :update_explanation_dataset
|
2189
|
+
##
|
2089
2190
|
# RPC-specific configuration for `delete_model`
|
2090
2191
|
# @return [::Gapic::Config::Method]
|
2091
2192
|
#
|
@@ -2158,6 +2259,8 @@ module Google
|
|
2158
2259
|
@list_model_versions = ::Gapic::Config::Method.new list_model_versions_config
|
2159
2260
|
update_model_config = parent_rpcs.update_model if parent_rpcs.respond_to? :update_model
|
2160
2261
|
@update_model = ::Gapic::Config::Method.new update_model_config
|
2262
|
+
update_explanation_dataset_config = parent_rpcs.update_explanation_dataset if parent_rpcs.respond_to? :update_explanation_dataset
|
2263
|
+
@update_explanation_dataset = ::Gapic::Config::Method.new update_explanation_dataset_config
|
2161
2264
|
delete_model_config = parent_rpcs.delete_model if parent_rpcs.respond_to? :delete_model
|
2162
2265
|
@delete_model = ::Gapic::Config::Method.new delete_model_config
|
2163
2266
|
delete_model_version_config = parent_rpcs.delete_model_version if parent_rpcs.respond_to? :delete_model_version
|
@@ -368,93 +368,6 @@ module Google
|
|
368
368
|
raise ::Google::Cloud::Error.from_error(e)
|
369
369
|
end
|
370
370
|
|
371
|
-
##
|
372
|
-
# Returns a list of monthly active users for a given TensorBoard instance.
|
373
|
-
#
|
374
|
-
# @overload read_tensorboard_usage(request, options = nil)
|
375
|
-
# Pass arguments to `read_tensorboard_usage` via a request object, either of type
|
376
|
-
# {::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageRequest} or an equivalent Hash.
|
377
|
-
#
|
378
|
-
# @param request [::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageRequest, ::Hash]
|
379
|
-
# A request object representing the call parameters. Required. To specify no
|
380
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
381
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
382
|
-
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
383
|
-
#
|
384
|
-
# @overload read_tensorboard_usage(tensorboard: nil)
|
385
|
-
# Pass arguments to `read_tensorboard_usage` via keyword arguments. Note that at
|
386
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
387
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
388
|
-
#
|
389
|
-
# @param tensorboard [::String]
|
390
|
-
# Required. The name of the Tensorboard resource.
|
391
|
-
# Format:
|
392
|
-
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
|
393
|
-
#
|
394
|
-
# @yield [response, operation] Access the result along with the RPC operation
|
395
|
-
# @yieldparam response [::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse]
|
396
|
-
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
397
|
-
#
|
398
|
-
# @return [::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse]
|
399
|
-
#
|
400
|
-
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
401
|
-
#
|
402
|
-
# @example Basic example
|
403
|
-
# require "google/cloud/ai_platform/v1"
|
404
|
-
#
|
405
|
-
# # Create a client object. The client can be reused for multiple calls.
|
406
|
-
# client = Google::Cloud::AIPlatform::V1::TensorboardService::Client.new
|
407
|
-
#
|
408
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
409
|
-
# request = Google::Cloud::AIPlatform::V1::ReadTensorboardUsageRequest.new
|
410
|
-
#
|
411
|
-
# # Call the read_tensorboard_usage method.
|
412
|
-
# result = client.read_tensorboard_usage request
|
413
|
-
#
|
414
|
-
# # The returned object is of type Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse.
|
415
|
-
# p result
|
416
|
-
#
|
417
|
-
def read_tensorboard_usage request, options = nil
|
418
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
419
|
-
|
420
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageRequest
|
421
|
-
|
422
|
-
# Converts hash and nil to an options object
|
423
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
424
|
-
|
425
|
-
# Customize the options with defaults
|
426
|
-
metadata = @config.rpcs.read_tensorboard_usage.metadata.to_h
|
427
|
-
|
428
|
-
# Set x-goog-api-client and x-goog-user-project headers
|
429
|
-
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
430
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
431
|
-
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
432
|
-
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
433
|
-
|
434
|
-
header_params = {}
|
435
|
-
if request.tensorboard
|
436
|
-
header_params["tensorboard"] = request.tensorboard
|
437
|
-
end
|
438
|
-
|
439
|
-
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
440
|
-
metadata[:"x-goog-request-params"] ||= request_params_header
|
441
|
-
|
442
|
-
options.apply_defaults timeout: @config.rpcs.read_tensorboard_usage.timeout,
|
443
|
-
metadata: metadata,
|
444
|
-
retry_policy: @config.rpcs.read_tensorboard_usage.retry_policy
|
445
|
-
|
446
|
-
options.apply_defaults timeout: @config.timeout,
|
447
|
-
metadata: @config.metadata,
|
448
|
-
retry_policy: @config.retry_policy
|
449
|
-
|
450
|
-
@tensorboard_service_stub.call_rpc :read_tensorboard_usage, request, options: options do |response, operation|
|
451
|
-
yield response, operation if block_given?
|
452
|
-
return response
|
453
|
-
end
|
454
|
-
rescue ::GRPC::BadStatus => e
|
455
|
-
raise ::Google::Cloud::Error.from_error(e)
|
456
|
-
end
|
457
|
-
|
458
371
|
##
|
459
372
|
# Updates a Tensorboard.
|
460
373
|
#
|
@@ -763,6 +676,93 @@ module Google
|
|
763
676
|
raise ::Google::Cloud::Error.from_error(e)
|
764
677
|
end
|
765
678
|
|
679
|
+
##
|
680
|
+
# Returns a list of monthly active users for a given TensorBoard instance.
|
681
|
+
#
|
682
|
+
# @overload read_tensorboard_usage(request, options = nil)
|
683
|
+
# Pass arguments to `read_tensorboard_usage` via a request object, either of type
|
684
|
+
# {::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageRequest} or an equivalent Hash.
|
685
|
+
#
|
686
|
+
# @param request [::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageRequest, ::Hash]
|
687
|
+
# A request object representing the call parameters. Required. To specify no
|
688
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
689
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
690
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
691
|
+
#
|
692
|
+
# @overload read_tensorboard_usage(tensorboard: nil)
|
693
|
+
# Pass arguments to `read_tensorboard_usage` via keyword arguments. Note that at
|
694
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
695
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
696
|
+
#
|
697
|
+
# @param tensorboard [::String]
|
698
|
+
# Required. The name of the Tensorboard resource.
|
699
|
+
# Format:
|
700
|
+
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
|
701
|
+
#
|
702
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
703
|
+
# @yieldparam response [::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse]
|
704
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
705
|
+
#
|
706
|
+
# @return [::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse]
|
707
|
+
#
|
708
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
709
|
+
#
|
710
|
+
# @example Basic example
|
711
|
+
# require "google/cloud/ai_platform/v1"
|
712
|
+
#
|
713
|
+
# # Create a client object. The client can be reused for multiple calls.
|
714
|
+
# client = Google::Cloud::AIPlatform::V1::TensorboardService::Client.new
|
715
|
+
#
|
716
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
717
|
+
# request = Google::Cloud::AIPlatform::V1::ReadTensorboardUsageRequest.new
|
718
|
+
#
|
719
|
+
# # Call the read_tensorboard_usage method.
|
720
|
+
# result = client.read_tensorboard_usage request
|
721
|
+
#
|
722
|
+
# # The returned object is of type Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse.
|
723
|
+
# p result
|
724
|
+
#
|
725
|
+
def read_tensorboard_usage request, options = nil
|
726
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
727
|
+
|
728
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageRequest
|
729
|
+
|
730
|
+
# Converts hash and nil to an options object
|
731
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
732
|
+
|
733
|
+
# Customize the options with defaults
|
734
|
+
metadata = @config.rpcs.read_tensorboard_usage.metadata.to_h
|
735
|
+
|
736
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
737
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
738
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
739
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
740
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
741
|
+
|
742
|
+
header_params = {}
|
743
|
+
if request.tensorboard
|
744
|
+
header_params["tensorboard"] = request.tensorboard
|
745
|
+
end
|
746
|
+
|
747
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
748
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
749
|
+
|
750
|
+
options.apply_defaults timeout: @config.rpcs.read_tensorboard_usage.timeout,
|
751
|
+
metadata: metadata,
|
752
|
+
retry_policy: @config.rpcs.read_tensorboard_usage.retry_policy
|
753
|
+
|
754
|
+
options.apply_defaults timeout: @config.timeout,
|
755
|
+
metadata: @config.metadata,
|
756
|
+
retry_policy: @config.retry_policy
|
757
|
+
|
758
|
+
@tensorboard_service_stub.call_rpc :read_tensorboard_usage, request, options: options do |response, operation|
|
759
|
+
yield response, operation if block_given?
|
760
|
+
return response
|
761
|
+
end
|
762
|
+
rescue ::GRPC::BadStatus => e
|
763
|
+
raise ::Google::Cloud::Error.from_error(e)
|
764
|
+
end
|
765
|
+
|
766
766
|
##
|
767
767
|
# Creates a TensorboardExperiment.
|
768
768
|
#
|
@@ -3130,11 +3130,6 @@ module Google
|
|
3130
3130
|
#
|
3131
3131
|
attr_reader :get_tensorboard
|
3132
3132
|
##
|
3133
|
-
# RPC-specific configuration for `read_tensorboard_usage`
|
3134
|
-
# @return [::Gapic::Config::Method]
|
3135
|
-
#
|
3136
|
-
attr_reader :read_tensorboard_usage
|
3137
|
-
##
|
3138
3133
|
# RPC-specific configuration for `update_tensorboard`
|
3139
3134
|
# @return [::Gapic::Config::Method]
|
3140
3135
|
#
|
@@ -3150,6 +3145,11 @@ module Google
|
|
3150
3145
|
#
|
3151
3146
|
attr_reader :delete_tensorboard
|
3152
3147
|
##
|
3148
|
+
# RPC-specific configuration for `read_tensorboard_usage`
|
3149
|
+
# @return [::Gapic::Config::Method]
|
3150
|
+
#
|
3151
|
+
attr_reader :read_tensorboard_usage
|
3152
|
+
##
|
3153
3153
|
# RPC-specific configuration for `create_tensorboard_experiment`
|
3154
3154
|
# @return [::Gapic::Config::Method]
|
3155
3155
|
#
|
@@ -3271,14 +3271,14 @@ module Google
|
|
3271
3271
|
@create_tensorboard = ::Gapic::Config::Method.new create_tensorboard_config
|
3272
3272
|
get_tensorboard_config = parent_rpcs.get_tensorboard if parent_rpcs.respond_to? :get_tensorboard
|
3273
3273
|
@get_tensorboard = ::Gapic::Config::Method.new get_tensorboard_config
|
3274
|
-
read_tensorboard_usage_config = parent_rpcs.read_tensorboard_usage if parent_rpcs.respond_to? :read_tensorboard_usage
|
3275
|
-
@read_tensorboard_usage = ::Gapic::Config::Method.new read_tensorboard_usage_config
|
3276
3274
|
update_tensorboard_config = parent_rpcs.update_tensorboard if parent_rpcs.respond_to? :update_tensorboard
|
3277
3275
|
@update_tensorboard = ::Gapic::Config::Method.new update_tensorboard_config
|
3278
3276
|
list_tensorboards_config = parent_rpcs.list_tensorboards if parent_rpcs.respond_to? :list_tensorboards
|
3279
3277
|
@list_tensorboards = ::Gapic::Config::Method.new list_tensorboards_config
|
3280
3278
|
delete_tensorboard_config = parent_rpcs.delete_tensorboard if parent_rpcs.respond_to? :delete_tensorboard
|
3281
3279
|
@delete_tensorboard = ::Gapic::Config::Method.new delete_tensorboard_config
|
3280
|
+
read_tensorboard_usage_config = parent_rpcs.read_tensorboard_usage if parent_rpcs.respond_to? :read_tensorboard_usage
|
3281
|
+
@read_tensorboard_usage = ::Gapic::Config::Method.new read_tensorboard_usage_config
|
3282
3282
|
create_tensorboard_experiment_config = parent_rpcs.create_tensorboard_experiment if parent_rpcs.respond_to? :create_tensorboard_experiment
|
3283
3283
|
@create_tensorboard_experiment = ::Gapic::Config::Method.new create_tensorboard_experiment_config
|
3284
3284
|
get_tensorboard_experiment_config = parent_rpcs.get_tensorboard_experiment if parent_rpcs.respond_to? :get_tensorboard_experiment
|
@@ -13,7 +13,7 @@ require 'google/protobuf/struct_pb'
|
|
13
13
|
require 'google/protobuf/timestamp_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n(google/cloud/aiplatform/v1/dataset.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a,google/cloud/aiplatform/v1/saved_query.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
16
|
+
descriptor_data = "\n(google/cloud/aiplatform/v1/dataset.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a,google/cloud/aiplatform/v1/saved_query.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xad\x05\n\x07\x44\x61taset\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x10 \x01(\t\x12 \n\x13metadata_schema_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12-\n\x08metadata\x18\x08 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x02\x12\x1c\n\x0f\x64\x61ta_item_count\x18\n \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x06 \x01(\t\x12?\n\x06labels\x18\x07 \x03(\x0b\x32/.google.cloud.aiplatform.v1.Dataset.LabelsEntry\x12=\n\rsaved_queries\x18\t \x03(\x0b\x32&.google.cloud.aiplatform.v1.SavedQuery\x12\x43\n\x0f\x65ncryption_spec\x18\x0b \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x1e\n\x11metadata_artifact\x18\x11 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:b\xea\x41_\n!aiplatform.googleapis.com/Dataset\x12:projects/{project}/locations/{location}/datasets/{dataset}\"\xa4\x03\n\x10ImportDataConfig\x12;\n\ngcs_source\x18\x01 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12Z\n\x10\x64\x61ta_item_labels\x18\x02 \x03(\x0b\x32@.google.cloud.aiplatform.v1.ImportDataConfig.DataItemLabelsEntry\x12]\n\x11\x61nnotation_labels\x18\x03 \x03(\x0b\x32\x42.google.cloud.aiplatform.v1.ImportDataConfig.AnnotationLabelsEntry\x12\x1e\n\x11import_schema_uri\x18\x04 \x01(\tB\x03\xe0\x41\x02\x1a\x35\n\x13\x44\x61taItemLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15\x41nnotationLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06source\"\xd8\x01\n\x10\x45xportDataConfig\x12\x45\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12I\n\x0e\x66raction_split\x18\x05 \x01(\x0b\x32/.google.cloud.aiplatform.v1.ExportFractionSplitH\x01\x12\x1a\n\x12\x61nnotations_filter\x18\x02 \x01(\tB\r\n\x0b\x64\x65stinationB\x07\n\x05split\"d\n\x13\x45xportFractionSplit\x12\x19\n\x11training_fraction\x18\x01 \x01(\x01\x12\x1b\n\x13validation_fraction\x18\x02 \x01(\x01\x12\x15\n\rtest_fraction\x18\x03 \x01(\x01\x42\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x44\x61tasetProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -19,7 +19,7 @@ require 'google/protobuf/empty_pb'
|
|
19
19
|
require 'google/protobuf/field_mask_pb'
|
20
20
|
|
21
21
|
|
22
|
-
descriptor_data = "\n0google/cloud/aiplatform/v1/dataset_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/aiplatform/v1/annotation.proto\x1a\x30google/cloud/aiplatform/v1/annotation_spec.proto\x1a*google/cloud/aiplatform/v1/data_item.proto\x1a(google/cloud/aiplatform/v1/dataset.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a,google/cloud/aiplatform/v1/saved_query.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x8c\x01\n\x14\x43reateDatasetRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x39\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\"p\n\x1e\x43reateDatasetOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\n\x11GetDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x87\x01\n\x14UpdateDatasetRequest\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xc8\x01\n\x13ListDatasetsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"f\n\x14ListDatasetsResponse\x12\x35\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32#.google.cloud.aiplatform.v1.Dataset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x14\x44\x65leteDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\"\x97\x01\n\x11ImportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12I\n\x0eimport_configs\x18\x02 \x03(\x0b\x32,.google.cloud.aiplatform.v1.ImportDataConfigB\x03\xe0\x41\x02\"\x14\n\x12ImportDataResponse\"m\n\x1bImportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x96\x01\n\x11\x45xportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12H\n\rexport_config\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ExportDataConfigB\x03\xe0\x41\x02\",\n\x12\x45xportDataResponse\x12\x16\n\x0e\x65xported_files\x18\x01 \x03(\t\"\x8b\x01\n\x1b\x45xportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x1c\n\x14gcs_output_directory\x18\x02 \x01(\t\"\xc9\x01\n\x14ListDataItemsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"j\n\x15ListDataItemsResponse\x12\x38\n\ndata_items\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdc\x04\n\x16SearchDataItemsRequest\x12\x1c\n\x12order_by_data_item\x18\x0c \x01(\tH\x00\x12\x63\n\x13order_by_annotation\x18\r \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotationH\x00\x12:\n\x07\x64\x61taset\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12@\n\x0bsaved_query\x18\x02 \x01(\tB+\x18\x01\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\x12\x19\n\x11\x64\x61ta_labeling_job\x18\x03 \x01(\t\x12\x18\n\x10\x64\x61ta_item_filter\x18\x04 \x01(\t\x12\x1e\n\x12\x61nnotations_filter\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12\x61nnotation_filters\x18\x0b \x03(\t\x12.\n\nfield_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61nnotations_limit\x18\x07 \x01(\x05\x12\x11\n\tpage_size\x18\x08 \x01(\x05\x12\x14\n\x08order_by\x18\t \x01(\tB\x02\x18\x01\x12\x12\n\npage_token\x18\n \x01(\t\x1a?\n\x11OrderByAnnotation\x12\x18\n\x0bsaved_query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08order_by\x18\x02 \x01(\tB\x07\n\x05order\"u\n\x17SearchDataItemsResponse\x12\x41\n\x0f\x64\x61ta_item_views\x18\x01 \x03(\x0b\x32(.google.cloud.aiplatform.v1.DataItemView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x0c\x44\x61taItemView\x12\x37\n\tdata_item\x18\x01 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12;\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12!\n\x19has_truncated_annotations\x18\x03 \x01(\x08\"\xcc\x01\n\x17ListSavedQueriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"r\n\x18ListSavedQueriesResponse\x12=\n\rsaved_queries\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.SavedQuery\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x89\x01\n\x18GetAnnotationSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/AnnotationSpec\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xcc\x01\n\x16ListAnnotationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/DataItem\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"o\n\x17ListAnnotationsResponse\x12;\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xec\x13\n\x0e\x44\x61tasetService\x12\xdc\x01\n\rCreateDataset\x12\x30.google.cloud.aiplatform.v1.CreateDatasetRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/datasets:\x07\x64\x61taset\xda\x41\x0eparent,dataset\xca\x41)\n\x07\x44\x61taset\x12\x1e\x43reateDatasetOperationMetadata\x12\x9d\x01\n\nGetDataset\x12-.google.cloud.aiplatform.v1.GetDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\x12\xc3\x01\n\rUpdateDataset\x12\x30.google.cloud.aiplatform.v1.UpdateDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\"[\x82\xd3\xe4\x93\x02?24/v1/{dataset.name=projects/*/locations/*/datasets/*}:\x07\x64\x61taset\xda\x41\x13\x64\x61taset,update_mask\x12\xb0\x01\n\x0cListDatasets\x12/.google.cloud.aiplatform.v1.ListDatasetsRequest\x1a\x30.google.cloud.aiplatform.v1.ListDatasetsResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/datasets\xda\x41\x06parent\x12\xd0\x01\n\rDeleteDataset\x12\x30.google.cloud.aiplatform.v1.DeleteDatasetRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xe5\x01\n\nImportData\x12-.google.cloud.aiplatform.v1.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:import:\x01*\xda\x41\x13name,import_configs\xca\x41\x31\n\x12ImportDataResponse\x12\x1bImportDataOperationMetadata\x12\xe4\x01\n\nExportData\x12-.google.cloud.aiplatform.v1.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:export:\x01*\xda\x41\x12name,export_config\xca\x41\x31\n\x12\x45xportDataResponse\x12\x1b\x45xportDataOperationMetadata\x12\xbf\x01\n\rListDataItems\x12\x30.google.cloud.aiplatform.v1.ListDataItemsRequest\x1a\x31.google.cloud.aiplatform.v1.ListDataItemsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/datasets/*}/dataItems\xda\x41\x06parent\x12\xc3\x01\n\x0fSearchDataItems\x12\x32.google.cloud.aiplatform.v1.SearchDataItemsRequest\x1a\x33.google.cloud.aiplatform.v1.SearchDataItemsResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/v1/{dataset=projects/*/locations/*/datasets/*}:searchDataItems\x12\xcb\x01\n\x10ListSavedQueries\x12\x33.google.cloud.aiplatform.v1.ListSavedQueriesRequest\x1a\x34.google.cloud.aiplatform.v1.ListSavedQueriesResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/datasets/*}/savedQueries\xda\x41\x06parent\x12\xc4\x01\n\x11GetAnnotationSpec\x12\x34.google.cloud.aiplatform.v1.GetAnnotationSpecRequest\x1a*.google.cloud.aiplatform.v1.AnnotationSpec\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}\xda\x41\x04name\x12\xd3\x01\n\x0fListAnnotations\x12\x32.google.cloud.aiplatform.v1.ListAnnotationsRequest\x1a\x33.google.cloud.aiplatform.v1.ListAnnotationsResponse\"W\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/datasets/*/dataItems/*}/annotations\xda\x41\x06parent\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13\x44\x61tasetServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
22
|
+
descriptor_data = "\n0google/cloud/aiplatform/v1/dataset_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/aiplatform/v1/annotation.proto\x1a\x30google/cloud/aiplatform/v1/annotation_spec.proto\x1a*google/cloud/aiplatform/v1/data_item.proto\x1a(google/cloud/aiplatform/v1/dataset.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a,google/cloud/aiplatform/v1/saved_query.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x8c\x01\n\x14\x43reateDatasetRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x39\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\"p\n\x1e\x43reateDatasetOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\n\x11GetDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x87\x01\n\x14UpdateDatasetRequest\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xc8\x01\n\x13ListDatasetsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"f\n\x14ListDatasetsResponse\x12\x35\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32#.google.cloud.aiplatform.v1.Dataset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x14\x44\x65leteDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\"\x97\x01\n\x11ImportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12I\n\x0eimport_configs\x18\x02 \x03(\x0b\x32,.google.cloud.aiplatform.v1.ImportDataConfigB\x03\xe0\x41\x02\"\x14\n\x12ImportDataResponse\"m\n\x1bImportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x96\x01\n\x11\x45xportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12H\n\rexport_config\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ExportDataConfigB\x03\xe0\x41\x02\",\n\x12\x45xportDataResponse\x12\x16\n\x0e\x65xported_files\x18\x01 \x03(\t\"\x8b\x01\n\x1b\x45xportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x1c\n\x14gcs_output_directory\x18\x02 \x01(\t\"\xc9\x01\n\x14ListDataItemsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"j\n\x15ListDataItemsResponse\x12\x38\n\ndata_items\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdc\x04\n\x16SearchDataItemsRequest\x12\x1c\n\x12order_by_data_item\x18\x0c \x01(\tH\x00\x12\x63\n\x13order_by_annotation\x18\r \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotationH\x00\x12:\n\x07\x64\x61taset\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12@\n\x0bsaved_query\x18\x02 \x01(\tB+\x18\x01\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\x12\x19\n\x11\x64\x61ta_labeling_job\x18\x03 \x01(\t\x12\x18\n\x10\x64\x61ta_item_filter\x18\x04 \x01(\t\x12\x1e\n\x12\x61nnotations_filter\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12\x61nnotation_filters\x18\x0b \x03(\t\x12.\n\nfield_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61nnotations_limit\x18\x07 \x01(\x05\x12\x11\n\tpage_size\x18\x08 \x01(\x05\x12\x14\n\x08order_by\x18\t \x01(\tB\x02\x18\x01\x12\x12\n\npage_token\x18\n \x01(\t\x1a?\n\x11OrderByAnnotation\x12\x18\n\x0bsaved_query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08order_by\x18\x02 \x01(\tB\x07\n\x05order\"u\n\x17SearchDataItemsResponse\x12\x41\n\x0f\x64\x61ta_item_views\x18\x01 \x03(\x0b\x32(.google.cloud.aiplatform.v1.DataItemView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x0c\x44\x61taItemView\x12\x37\n\tdata_item\x18\x01 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12;\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12!\n\x19has_truncated_annotations\x18\x03 \x01(\x08\"\xcc\x01\n\x17ListSavedQueriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"r\n\x18ListSavedQueriesResponse\x12=\n\rsaved_queries\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.SavedQuery\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x17\x44\x65leteSavedQueryRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\"\x89\x01\n\x18GetAnnotationSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/AnnotationSpec\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xcc\x01\n\x16ListAnnotationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/DataItem\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"o\n\x17ListAnnotationsResponse\x12;\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd4\x15\n\x0e\x44\x61tasetService\x12\xdc\x01\n\rCreateDataset\x12\x30.google.cloud.aiplatform.v1.CreateDatasetRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/datasets:\x07\x64\x61taset\xda\x41\x0eparent,dataset\xca\x41)\n\x07\x44\x61taset\x12\x1e\x43reateDatasetOperationMetadata\x12\x9d\x01\n\nGetDataset\x12-.google.cloud.aiplatform.v1.GetDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\x12\xc3\x01\n\rUpdateDataset\x12\x30.google.cloud.aiplatform.v1.UpdateDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\"[\x82\xd3\xe4\x93\x02?24/v1/{dataset.name=projects/*/locations/*/datasets/*}:\x07\x64\x61taset\xda\x41\x13\x64\x61taset,update_mask\x12\xb0\x01\n\x0cListDatasets\x12/.google.cloud.aiplatform.v1.ListDatasetsRequest\x1a\x30.google.cloud.aiplatform.v1.ListDatasetsResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/datasets\xda\x41\x06parent\x12\xd0\x01\n\rDeleteDataset\x12\x30.google.cloud.aiplatform.v1.DeleteDatasetRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xe5\x01\n\nImportData\x12-.google.cloud.aiplatform.v1.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:import:\x01*\xda\x41\x13name,import_configs\xca\x41\x31\n\x12ImportDataResponse\x12\x1bImportDataOperationMetadata\x12\xe4\x01\n\nExportData\x12-.google.cloud.aiplatform.v1.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:export:\x01*\xda\x41\x12name,export_config\xca\x41\x31\n\x12\x45xportDataResponse\x12\x1b\x45xportDataOperationMetadata\x12\xbf\x01\n\rListDataItems\x12\x30.google.cloud.aiplatform.v1.ListDataItemsRequest\x1a\x31.google.cloud.aiplatform.v1.ListDataItemsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/datasets/*}/dataItems\xda\x41\x06parent\x12\xc3\x01\n\x0fSearchDataItems\x12\x32.google.cloud.aiplatform.v1.SearchDataItemsRequest\x1a\x33.google.cloud.aiplatform.v1.SearchDataItemsResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/v1/{dataset=projects/*/locations/*/datasets/*}:searchDataItems\x12\xcb\x01\n\x10ListSavedQueries\x12\x33.google.cloud.aiplatform.v1.ListSavedQueriesRequest\x1a\x34.google.cloud.aiplatform.v1.ListSavedQueriesResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/datasets/*}/savedQueries\xda\x41\x06parent\x12\xe5\x01\n\x10\x44\x65leteSavedQuery\x12\x33.google.cloud.aiplatform.v1.DeleteSavedQueryRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xc4\x01\n\x11GetAnnotationSpec\x12\x34.google.cloud.aiplatform.v1.GetAnnotationSpecRequest\x1a*.google.cloud.aiplatform.v1.AnnotationSpec\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}\xda\x41\x04name\x12\xd3\x01\n\x0fListAnnotations\x12\x32.google.cloud.aiplatform.v1.ListAnnotationsRequest\x1a\x33.google.cloud.aiplatform.v1.ListAnnotationsResponse\"W\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/datasets/*/dataItems/*}/annotations\xda\x41\x06parent\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13\x44\x61tasetServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
23
23
|
|
24
24
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
25
|
|
@@ -76,6 +76,7 @@ module Google
|
|
76
76
|
DataItemView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DataItemView").msgclass
|
77
77
|
ListSavedQueriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListSavedQueriesRequest").msgclass
|
78
78
|
ListSavedQueriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListSavedQueriesResponse").msgclass
|
79
|
+
DeleteSavedQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteSavedQueryRequest").msgclass
|
79
80
|
GetAnnotationSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetAnnotationSpecRequest").msgclass
|
80
81
|
ListAnnotationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListAnnotationsRequest").msgclass
|
81
82
|
ListAnnotationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListAnnotationsResponse").msgclass
|
@@ -24,8 +24,7 @@ module Google
|
|
24
24
|
module AIPlatform
|
25
25
|
module V1
|
26
26
|
module DatasetService
|
27
|
-
# The service that
|
28
|
-
# resources.
|
27
|
+
# The service that manages Vertex AI Dataset and its child resources.
|
29
28
|
class Service
|
30
29
|
|
31
30
|
include ::GRPC::GenericService
|
@@ -54,6 +53,8 @@ module Google
|
|
54
53
|
rpc :SearchDataItems, ::Google::Cloud::AIPlatform::V1::SearchDataItemsRequest, ::Google::Cloud::AIPlatform::V1::SearchDataItemsResponse
|
55
54
|
# Lists SavedQueries in a Dataset.
|
56
55
|
rpc :ListSavedQueries, ::Google::Cloud::AIPlatform::V1::ListSavedQueriesRequest, ::Google::Cloud::AIPlatform::V1::ListSavedQueriesResponse
|
56
|
+
# Deletes a SavedQuery.
|
57
|
+
rpc :DeleteSavedQuery, ::Google::Cloud::AIPlatform::V1::DeleteSavedQueryRequest, ::Google::Longrunning::Operation
|
57
58
|
# Gets an AnnotationSpec.
|
58
59
|
rpc :GetAnnotationSpec, ::Google::Cloud::AIPlatform::V1::GetAnnotationSpecRequest, ::Google::Cloud::AIPlatform::V1::AnnotationSpec
|
59
60
|
# Lists Annotations belongs to a dataitem
|