google-cloud-ai_platform-v1 0.16.0 → 0.18.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 +10 -7
- data/lib/google/cloud/ai_platform/v1/dataset_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +28 -21
- data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +10 -9
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +53 -50
- data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +18 -14
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +8 -4
- data/lib/google/cloud/ai_platform/v1/index_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +53 -36
- data/lib/google/cloud/ai_platform/v1/job_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +33 -36
- data/lib/google/cloud/ai_platform/v1/metadata_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +3 -4
- data/lib/google/cloud/ai_platform/v1/migration_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +44 -22
- data/lib/google/cloud/ai_platform/v1/model_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +28 -17
- data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +28 -19
- data/lib/google/cloud/ai_platform/v1/prediction_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +5 -3
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +165 -71
- data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +8 -0
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/index_service_services_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +24 -14
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +10 -5
- data/lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb +16 -9
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +10 -6
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +17 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_services_pb.rb +8 -8
- data/proto_docs/google/cloud/aiplatform/v1/annotation.rb +9 -6
- data/proto_docs/google/cloud/aiplatform/v1/annotation_spec.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +183 -50
- data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +8 -7
- data/proto_docs/google/cloud/aiplatform/v1/context.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +34 -17
- data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +6 -5
- data/proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb +16 -16
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +33 -17
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +59 -32
- data/proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +38 -23
- data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +57 -35
- data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +8 -6
- data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +111 -75
- data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +58 -38
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +9 -6
- data/proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +12 -11
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -2
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +27 -19
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +138 -99
- data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +9 -7
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +18 -17
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +36 -24
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint_service.rb +49 -29
- data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +35 -17
- data/proto_docs/google/cloud/aiplatform/v1/io.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +94 -57
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +53 -43
- data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +5 -5
- data/proto_docs/google/cloud/aiplatform/v1/metadata_schema.rb +3 -3
- data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +141 -91
- data/proto_docs/google/cloud/aiplatform/v1/migratable_resource.rb +3 -3
- data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +18 -15
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +179 -132
- data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +21 -17
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +7 -6
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +11 -7
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +4 -2
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +110 -54
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +56 -42
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +42 -22
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +42 -28
- data/proto_docs/google/cloud/aiplatform/v1/saved_query.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/specialist_pool_service.rb +19 -11
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +42 -25
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_data.rb +8 -7
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +203 -109
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_time_series.rb +8 -6
- data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +84 -59
- data/proto_docs/google/cloud/aiplatform/v1/unmanaged_container_model.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/vizier_service.rb +40 -20
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +9 -9
@@ -368,6 +368,93 @@ 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
|
+
|
371
458
|
##
|
372
459
|
# Updates a Tensorboard.
|
373
460
|
#
|
@@ -390,8 +477,8 @@ module Google
|
|
390
477
|
# Required. Field mask is used to specify the fields to be overwritten in the
|
391
478
|
# Tensorboard resource by the update.
|
392
479
|
# The fields specified in the update_mask are relative to the resource, not
|
393
|
-
# the full request. A field
|
394
|
-
# user does not provide a mask then all fields
|
480
|
+
# the full request. A field is overwritten if it's in the mask. If the
|
481
|
+
# user does not provide a mask then all fields are overwritten if new
|
395
482
|
# values are specified.
|
396
483
|
# @param tensorboard [::Google::Cloud::AIPlatform::V1::Tensorboard, ::Hash]
|
397
484
|
# Required. The Tensorboard's `name` field is used to identify the
|
@@ -496,17 +583,17 @@ module Google
|
|
496
583
|
# Lists the Tensorboards that match the filter expression.
|
497
584
|
# @param page_size [::Integer]
|
498
585
|
# The maximum number of Tensorboards to return. The service may return
|
499
|
-
# fewer than this value. If unspecified, at most 100 Tensorboards
|
500
|
-
# returned. The maximum value is 100; values above 100
|
586
|
+
# fewer than this value. If unspecified, at most 100 Tensorboards are
|
587
|
+
# returned. The maximum value is 100; values above 100 are coerced to
|
501
588
|
# 100.
|
502
589
|
# @param page_token [::String]
|
503
590
|
# A page token, received from a previous
|
504
|
-
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboards TensorboardService.ListTensorboards}
|
505
|
-
# Provide this to retrieve the subsequent page.
|
591
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboards TensorboardService.ListTensorboards}
|
592
|
+
# call. Provide this to retrieve the subsequent page.
|
506
593
|
#
|
507
594
|
# When paginating, all other parameters provided to
|
508
|
-
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboards TensorboardService.ListTensorboards}
|
509
|
-
# match the call that provided the page token.
|
595
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboards TensorboardService.ListTensorboards}
|
596
|
+
# must match the call that provided the page token.
|
510
597
|
# @param order_by [::String]
|
511
598
|
# Field to use to sort the list.
|
512
599
|
# @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
|
@@ -697,14 +784,14 @@ module Google
|
|
697
784
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
698
785
|
#
|
699
786
|
# @param parent [::String]
|
700
|
-
# Required. The resource name of the Tensorboard to create the
|
701
|
-
# in. Format:
|
787
|
+
# Required. The resource name of the Tensorboard to create the
|
788
|
+
# TensorboardExperiment in. Format:
|
702
789
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
|
703
790
|
# @param tensorboard_experiment [::Google::Cloud::AIPlatform::V1::TensorboardExperiment, ::Hash]
|
704
791
|
# The TensorboardExperiment to create.
|
705
792
|
# @param tensorboard_experiment_id [::String]
|
706
|
-
# Required. The ID to use for the Tensorboard experiment, which
|
707
|
-
# component of the Tensorboard experiment's resource name.
|
793
|
+
# Required. The ID to use for the Tensorboard experiment, which becomes the
|
794
|
+
# final component of the Tensorboard experiment's resource name.
|
708
795
|
#
|
709
796
|
# This value should be 1-128 characters, and valid characters
|
710
797
|
# are /[a-z][0-9]-/.
|
@@ -882,8 +969,8 @@ module Google
|
|
882
969
|
# Required. Field mask is used to specify the fields to be overwritten in the
|
883
970
|
# TensorboardExperiment resource by the update.
|
884
971
|
# The fields specified in the update_mask are relative to the resource, not
|
885
|
-
# the full request. A field
|
886
|
-
# user does not provide a mask then all fields
|
972
|
+
# the full request. A field is overwritten if it's in the mask. If the
|
973
|
+
# user does not provide a mask then all fields are overwritten if new
|
887
974
|
# values are specified.
|
888
975
|
# @param tensorboard_experiment [::Google::Cloud::AIPlatform::V1::TensorboardExperiment, ::Hash]
|
889
976
|
# Required. The TensorboardExperiment's `name` field is used to identify the
|
@@ -973,24 +1060,24 @@ module Google
|
|
973
1060
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
974
1061
|
#
|
975
1062
|
# @param parent [::String]
|
976
|
-
# Required. The resource name of the Tensorboard to list
|
977
|
-
# Format:
|
1063
|
+
# Required. The resource name of the Tensorboard to list
|
1064
|
+
# TensorboardExperiments. Format:
|
978
1065
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
|
979
1066
|
# @param filter [::String]
|
980
1067
|
# Lists the TensorboardExperiments that match the filter expression.
|
981
1068
|
# @param page_size [::Integer]
|
982
1069
|
# The maximum number of TensorboardExperiments to return. The service may
|
983
1070
|
# return fewer than this value. If unspecified, at most 50
|
984
|
-
# TensorboardExperiments
|
985
|
-
# above 1000
|
1071
|
+
# TensorboardExperiments are returned. The maximum value is 1000; values
|
1072
|
+
# above 1000 are coerced to 1000.
|
986
1073
|
# @param page_token [::String]
|
987
1074
|
# A page token, received from a previous
|
988
|
-
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_experiments TensorboardService.ListTensorboardExperiments}
|
989
|
-
# Provide this to retrieve the subsequent page.
|
1075
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_experiments TensorboardService.ListTensorboardExperiments}
|
1076
|
+
# call. Provide this to retrieve the subsequent page.
|
990
1077
|
#
|
991
1078
|
# When paginating, all other parameters provided to
|
992
|
-
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_experiments TensorboardService.ListTensorboardExperiments}
|
993
|
-
# match the call that provided the page token.
|
1079
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_experiments TensorboardService.ListTensorboardExperiments}
|
1080
|
+
# must match the call that provided the page token.
|
994
1081
|
# @param order_by [::String]
|
995
1082
|
# Field to use to sort the list.
|
996
1083
|
# @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
|
@@ -1181,13 +1268,13 @@ module Google
|
|
1181
1268
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1182
1269
|
#
|
1183
1270
|
# @param parent [::String]
|
1184
|
-
# Required. The resource name of the TensorboardExperiment to create the
|
1185
|
-
# in. Format:
|
1271
|
+
# Required. The resource name of the TensorboardExperiment to create the
|
1272
|
+
# TensorboardRun in. Format:
|
1186
1273
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
|
1187
1274
|
# @param tensorboard_run [::Google::Cloud::AIPlatform::V1::TensorboardRun, ::Hash]
|
1188
1275
|
# Required. The TensorboardRun to create.
|
1189
1276
|
# @param tensorboard_run_id [::String]
|
1190
|
-
# Required. The ID to use for the Tensorboard run, which
|
1277
|
+
# Required. The ID to use for the Tensorboard run, which becomes the final
|
1191
1278
|
# component of the Tensorboard run's resource name.
|
1192
1279
|
#
|
1193
1280
|
# This value should be 1-128 characters, and valid characters
|
@@ -1458,12 +1545,12 @@ module Google
|
|
1458
1545
|
# Required. Field mask is used to specify the fields to be overwritten in the
|
1459
1546
|
# TensorboardRun resource by the update.
|
1460
1547
|
# The fields specified in the update_mask are relative to the resource, not
|
1461
|
-
# the full request. A field
|
1462
|
-
# user does not provide a mask then all fields
|
1548
|
+
# the full request. A field is overwritten if it's in the mask. If the
|
1549
|
+
# user does not provide a mask then all fields are overwritten if new
|
1463
1550
|
# values are specified.
|
1464
1551
|
# @param tensorboard_run [::Google::Cloud::AIPlatform::V1::TensorboardRun, ::Hash]
|
1465
|
-
# Required. The TensorboardRun's `name` field is used to identify the
|
1466
|
-
# be updated. Format:
|
1552
|
+
# Required. The TensorboardRun's `name` field is used to identify the
|
1553
|
+
# TensorboardRun to be updated. Format:
|
1467
1554
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
|
1468
1555
|
#
|
1469
1556
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -1549,24 +1636,24 @@ module Google
|
|
1549
1636
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1550
1637
|
#
|
1551
1638
|
# @param parent [::String]
|
1552
|
-
# Required. The resource name of the TensorboardExperiment to list
|
1553
|
-
# Format:
|
1639
|
+
# Required. The resource name of the TensorboardExperiment to list
|
1640
|
+
# TensorboardRuns. Format:
|
1554
1641
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
|
1555
1642
|
# @param filter [::String]
|
1556
1643
|
# Lists the TensorboardRuns that match the filter expression.
|
1557
1644
|
# @param page_size [::Integer]
|
1558
1645
|
# The maximum number of TensorboardRuns to return. The service may return
|
1559
|
-
# fewer than this value. If unspecified, at most 50 TensorboardRuns
|
1560
|
-
# returned. The maximum value is 1000; values above 1000
|
1646
|
+
# fewer than this value. If unspecified, at most 50 TensorboardRuns are
|
1647
|
+
# returned. The maximum value is 1000; values above 1000 are coerced to
|
1561
1648
|
# 1000.
|
1562
1649
|
# @param page_token [::String]
|
1563
1650
|
# A page token, received from a previous
|
1564
|
-
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_runs TensorboardService.ListTensorboardRuns}
|
1565
|
-
# Provide this to retrieve the subsequent page.
|
1651
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_runs TensorboardService.ListTensorboardRuns}
|
1652
|
+
# call. Provide this to retrieve the subsequent page.
|
1566
1653
|
#
|
1567
1654
|
# When paginating, all other parameters provided to
|
1568
|
-
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_runs TensorboardService.ListTensorboardRuns}
|
1569
|
-
# match the call that provided the page token.
|
1655
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_runs TensorboardService.ListTensorboardRuns}
|
1656
|
+
# must match the call that provided the page token.
|
1570
1657
|
# @param order_by [::String]
|
1571
1658
|
# Field to use to sort the list.
|
1572
1659
|
# @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
|
@@ -1765,8 +1852,8 @@ module Google
|
|
1765
1852
|
# CreateTensorboardTimeSeriesRequest messages must be sub resources of this
|
1766
1853
|
# TensorboardExperiment.
|
1767
1854
|
# @param requests [::Array<::Google::Cloud::AIPlatform::V1::CreateTensorboardTimeSeriesRequest, ::Hash>]
|
1768
|
-
# Required. The request message specifying the TensorboardTimeSeries to
|
1769
|
-
# A maximum of 1000 TensorboardTimeSeries can be created in a batch.
|
1855
|
+
# Required. The request message specifying the TensorboardTimeSeries to
|
1856
|
+
# create. A maximum of 1000 TensorboardTimeSeries can be created in a batch.
|
1770
1857
|
#
|
1771
1858
|
# @yield [response, operation] Access the result along with the RPC operation
|
1772
1859
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::BatchCreateTensorboardTimeSeriesResponse]
|
@@ -1856,10 +1943,10 @@ module Google
|
|
1856
1943
|
# Format:
|
1857
1944
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
|
1858
1945
|
# @param tensorboard_time_series_id [::String]
|
1859
|
-
# Optional. The user specified unique ID to use for the
|
1860
|
-
#
|
1861
|
-
# name.
|
1862
|
-
#
|
1946
|
+
# Optional. The user specified unique ID to use for the
|
1947
|
+
# TensorboardTimeSeries, which becomes the final component of the
|
1948
|
+
# TensorboardTimeSeries's resource name. This value should match
|
1949
|
+
# "[a-z0-9][a-z0-9-]\\{0, 127}"
|
1863
1950
|
# @param tensorboard_time_series [::Google::Cloud::AIPlatform::V1::TensorboardTimeSeries, ::Hash]
|
1864
1951
|
# Required. The TensorboardTimeSeries to create.
|
1865
1952
|
#
|
@@ -2036,8 +2123,8 @@ module Google
|
|
2036
2123
|
# Required. Field mask is used to specify the fields to be overwritten in the
|
2037
2124
|
# TensorboardTimeSeries resource by the update.
|
2038
2125
|
# The fields specified in the update_mask are relative to the resource, not
|
2039
|
-
# the full request. A field
|
2040
|
-
# user does not provide a mask then all fields
|
2126
|
+
# the full request. A field is overwritten if it's in the mask. If the
|
2127
|
+
# user does not provide a mask then all fields are overwritten if new
|
2041
2128
|
# values are specified.
|
2042
2129
|
# @param tensorboard_time_series [::Google::Cloud::AIPlatform::V1::TensorboardTimeSeries, ::Hash]
|
2043
2130
|
# Required. The TensorboardTimeSeries' `name` field is used to identify the
|
@@ -2128,24 +2215,24 @@ module Google
|
|
2128
2215
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2129
2216
|
#
|
2130
2217
|
# @param parent [::String]
|
2131
|
-
# Required. The resource name of the TensorboardRun to list
|
2132
|
-
# Format:
|
2218
|
+
# Required. The resource name of the TensorboardRun to list
|
2219
|
+
# TensorboardTimeSeries. Format:
|
2133
2220
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
|
2134
2221
|
# @param filter [::String]
|
2135
2222
|
# Lists the TensorboardTimeSeries that match the filter expression.
|
2136
2223
|
# @param page_size [::Integer]
|
2137
2224
|
# The maximum number of TensorboardTimeSeries to return. The service may
|
2138
2225
|
# return fewer than this value. If unspecified, at most 50
|
2139
|
-
# TensorboardTimeSeries
|
2140
|
-
# above 1000
|
2226
|
+
# TensorboardTimeSeries are returned. The maximum value is 1000; values
|
2227
|
+
# above 1000 are coerced to 1000.
|
2141
2228
|
# @param page_token [::String]
|
2142
2229
|
# A page token, received from a previous
|
2143
|
-
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_time_series TensorboardService.ListTensorboardTimeSeries}
|
2144
|
-
# Provide this to retrieve the subsequent page.
|
2230
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_time_series TensorboardService.ListTensorboardTimeSeries}
|
2231
|
+
# call. Provide this to retrieve the subsequent page.
|
2145
2232
|
#
|
2146
2233
|
# When paginating, all other parameters provided to
|
2147
|
-
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_time_series TensorboardService.ListTensorboardTimeSeries}
|
2148
|
-
# match the call that provided the page token.
|
2234
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboard_time_series TensorboardService.ListTensorboardTimeSeries}
|
2235
|
+
# must match the call that provided the page token.
|
2149
2236
|
# @param order_by [::String]
|
2150
2237
|
# Field to use to sort the list.
|
2151
2238
|
# @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
|
@@ -2320,8 +2407,8 @@ module Google
|
|
2320
2407
|
##
|
2321
2408
|
# Reads multiple TensorboardTimeSeries' data. The data point number limit is
|
2322
2409
|
# 1000 for scalars, 100 for tensors and blob references. If the number of
|
2323
|
-
# data points stored is less than the limit, all data
|
2324
|
-
# Otherwise,
|
2410
|
+
# data points stored is less than the limit, all data is returned.
|
2411
|
+
# Otherwise, the number limit of data points is randomly selected from
|
2325
2412
|
# this time series and returned.
|
2326
2413
|
#
|
2327
2414
|
# @overload batch_read_tensorboard_time_series_data(request, options = nil)
|
@@ -2340,13 +2427,15 @@ module Google
|
|
2340
2427
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2341
2428
|
#
|
2342
2429
|
# @param tensorboard [::String]
|
2343
|
-
# Required. The resource name of the Tensorboard containing
|
2344
|
-
# read data from. Format:
|
2430
|
+
# Required. The resource name of the Tensorboard containing
|
2431
|
+
# TensorboardTimeSeries to read data from. Format:
|
2345
2432
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}`.
|
2346
|
-
# The TensorboardTimeSeries referenced by
|
2347
|
-
#
|
2433
|
+
# The TensorboardTimeSeries referenced by
|
2434
|
+
# {::Google::Cloud::AIPlatform::V1::BatchReadTensorboardTimeSeriesDataRequest#time_series time_series}
|
2435
|
+
# must be sub resources of this Tensorboard.
|
2348
2436
|
# @param time_series [::Array<::String>]
|
2349
|
-
# Required. The resource names of the TensorboardTimeSeries to read data
|
2437
|
+
# Required. The resource names of the TensorboardTimeSeries to read data
|
2438
|
+
# from. Format:
|
2350
2439
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
|
2351
2440
|
#
|
2352
2441
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -2415,8 +2504,8 @@ module Google
|
|
2415
2504
|
|
2416
2505
|
##
|
2417
2506
|
# Reads a TensorboardTimeSeries' data. By default, if the number of data
|
2418
|
-
# points stored is less than 1000, all data
|
2419
|
-
# data points
|
2507
|
+
# points stored is less than 1000, all data is returned. Otherwise, 1000
|
2508
|
+
# data points is randomly selected from this time series and returned.
|
2420
2509
|
# This value can be changed by changing max_data_points, which can't be
|
2421
2510
|
# greater than 10k.
|
2422
2511
|
#
|
@@ -2608,8 +2697,7 @@ module Google
|
|
2608
2697
|
|
2609
2698
|
##
|
2610
2699
|
# Write time series data points of multiple TensorboardTimeSeries in multiple
|
2611
|
-
# TensorboardRun's. If any data fail to be ingested, an error
|
2612
|
-
# returned.
|
2700
|
+
# TensorboardRun's. If any data fail to be ingested, an error is returned.
|
2613
2701
|
#
|
2614
2702
|
# @overload write_tensorboard_experiment_data(request, options = nil)
|
2615
2703
|
# Pass arguments to `write_tensorboard_experiment_data` via a request object, either of type
|
@@ -2699,8 +2787,7 @@ module Google
|
|
2699
2787
|
|
2700
2788
|
##
|
2701
2789
|
# Write time series data points into multiple TensorboardTimeSeries under
|
2702
|
-
# a TensorboardRun. If any data fail to be ingested, an error
|
2703
|
-
# returned.
|
2790
|
+
# a TensorboardRun. If any data fail to be ingested, an error is returned.
|
2704
2791
|
#
|
2705
2792
|
# @overload write_tensorboard_run_data(request, options = nil)
|
2706
2793
|
# Pass arguments to `write_tensorboard_run_data` via a request object, either of type
|
@@ -2812,15 +2899,15 @@ module Google
|
|
2812
2899
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2813
2900
|
#
|
2814
2901
|
# @param tensorboard_time_series [::String]
|
2815
|
-
# Required. The resource name of the TensorboardTimeSeries to export data
|
2816
|
-
# Format:
|
2902
|
+
# Required. The resource name of the TensorboardTimeSeries to export data
|
2903
|
+
# from. Format:
|
2817
2904
|
# `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}`
|
2818
2905
|
# @param filter [::String]
|
2819
2906
|
# Exports the TensorboardTimeSeries' data that match the filter expression.
|
2820
2907
|
# @param page_size [::Integer]
|
2821
2908
|
# The maximum number of data points to return per page.
|
2822
|
-
# The default page_size
|
2823
|
-
# Values above 10000
|
2909
|
+
# The default page_size is 1000. Values must be between 1 and 10000.
|
2910
|
+
# Values above 10000 are coerced to 10000.
|
2824
2911
|
# @param page_token [::String]
|
2825
2912
|
# A page token, received from a previous
|
2826
2913
|
# [TensorboardService.ExportTensorboardTimeSeries][] call.
|
@@ -2831,7 +2918,7 @@ module Google
|
|
2831
2918
|
# match the call that provided the page token.
|
2832
2919
|
# @param order_by [::String]
|
2833
2920
|
# Field to use to sort the TensorboardTimeSeries' data.
|
2834
|
-
# By default, TensorboardTimeSeries' data
|
2921
|
+
# By default, TensorboardTimeSeries' data is returned in a pseudo random
|
2835
2922
|
# order.
|
2836
2923
|
#
|
2837
2924
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -3051,6 +3138,11 @@ module Google
|
|
3051
3138
|
#
|
3052
3139
|
attr_reader :get_tensorboard
|
3053
3140
|
##
|
3141
|
+
# RPC-specific configuration for `read_tensorboard_usage`
|
3142
|
+
# @return [::Gapic::Config::Method]
|
3143
|
+
#
|
3144
|
+
attr_reader :read_tensorboard_usage
|
3145
|
+
##
|
3054
3146
|
# RPC-specific configuration for `update_tensorboard`
|
3055
3147
|
# @return [::Gapic::Config::Method]
|
3056
3148
|
#
|
@@ -3187,6 +3279,8 @@ module Google
|
|
3187
3279
|
@create_tensorboard = ::Gapic::Config::Method.new create_tensorboard_config
|
3188
3280
|
get_tensorboard_config = parent_rpcs.get_tensorboard if parent_rpcs.respond_to? :get_tensorboard
|
3189
3281
|
@get_tensorboard = ::Gapic::Config::Method.new get_tensorboard_config
|
3282
|
+
read_tensorboard_usage_config = parent_rpcs.read_tensorboard_usage if parent_rpcs.respond_to? :read_tensorboard_usage
|
3283
|
+
@read_tensorboard_usage = ::Gapic::Config::Method.new read_tensorboard_usage_config
|
3190
3284
|
update_tensorboard_config = parent_rpcs.update_tensorboard if parent_rpcs.respond_to? :update_tensorboard
|
3191
3285
|
@update_tensorboard = ::Gapic::Config::Method.new update_tensorboard_config
|
3192
3286
|
list_tensorboards_config = parent_rpcs.list_tensorboards if parent_rpcs.respond_to? :list_tensorboards
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
##
|
35
35
|
# TensorboardService
|
36
36
|
#
|
37
|
-
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
38
38
|
#
|
39
39
|
# require "google/cloud/ai_platform/v1/tensorboard_service"
|
40
40
|
# client = ::Google::Cloud::AIPlatform::V1::TensorboardService::Client.new
|
@@ -38,7 +38,7 @@ module Google
|
|
38
38
|
# such as tuning machine learning hyperparameters and searching over deep
|
39
39
|
# learning architectures.
|
40
40
|
#
|
41
|
-
#
|
41
|
+
# @example Load this service and instantiate a gRPC client
|
42
42
|
#
|
43
43
|
# require "google/cloud/ai_platform/v1/vizier_service"
|
44
44
|
# client = ::Google::Cloud::AIPlatform::V1::VizierService::Client.new
|
@@ -37,9 +37,9 @@ module Google
|
|
37
37
|
module Cloud
|
38
38
|
module AIPlatform
|
39
39
|
##
|
40
|
-
#
|
40
|
+
# API client module.
|
41
41
|
#
|
42
|
-
# @example
|
42
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
43
43
|
#
|
44
44
|
# require "google/cloud/ai_platform/v1"
|
45
45
|
# client = ::Google::Cloud::AIPlatform::V1::DatasetService::Client.new
|
@@ -26,6 +26,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
26
26
|
optional :model_version_id, :string, 30
|
27
27
|
optional :unmanaged_container_model, :message, 28, "google.cloud.aiplatform.v1.UnmanagedContainerModel"
|
28
28
|
optional :input_config, :message, 4, "google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig"
|
29
|
+
optional :instance_config, :message, 27, "google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig"
|
29
30
|
optional :model_parameters, :message, 5, "google.protobuf.Value"
|
30
31
|
optional :output_config, :message, 6, "google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig"
|
31
32
|
optional :dedicated_resources, :message, 7, "google.cloud.aiplatform.v1.BatchDedicatedResources"
|
@@ -53,6 +54,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
53
54
|
optional :bigquery_source, :message, 3, "google.cloud.aiplatform.v1.BigQuerySource"
|
54
55
|
end
|
55
56
|
end
|
57
|
+
add_message "google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig" do
|
58
|
+
optional :instance_type, :string, 1
|
59
|
+
optional :key_field, :string, 2
|
60
|
+
repeated :included_fields, :string, 3
|
61
|
+
repeated :excluded_fields, :string, 4
|
62
|
+
end
|
56
63
|
add_message "google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig" do
|
57
64
|
optional :predictions_format, :string, 1
|
58
65
|
oneof :destination do
|
@@ -76,6 +83,7 @@ module Google
|
|
76
83
|
module V1
|
77
84
|
BatchPredictionJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchPredictionJob").msgclass
|
78
85
|
BatchPredictionJob::InputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig").msgclass
|
86
|
+
BatchPredictionJob::InstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig").msgclass
|
79
87
|
BatchPredictionJob::OutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig").msgclass
|
80
88
|
BatchPredictionJob::OutputInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchPredictionJob.OutputInfo").msgclass
|
81
89
|
end
|
@@ -39,6 +39,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
39
39
|
optional :base_output_directory, :message, 6, "google.cloud.aiplatform.v1.GcsDestination"
|
40
40
|
optional :tensorboard, :string, 7
|
41
41
|
optional :enable_web_access, :bool, 10
|
42
|
+
optional :enable_dashboard_access, :bool, 16
|
42
43
|
end
|
43
44
|
add_message "google.cloud.aiplatform.v1.WorkerPoolSpec" do
|
44
45
|
optional :machine_spec, :message, 1, "google.cloud.aiplatform.v1.MachineSpec"
|
@@ -7,6 +7,7 @@ require 'google/api/field_behavior_pb'
|
|
7
7
|
require 'google/api/resource_pb'
|
8
8
|
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
9
9
|
require 'google/cloud/aiplatform/v1/io_pb'
|
10
|
+
require 'google/cloud/aiplatform/v1/saved_query_pb'
|
10
11
|
require 'google/protobuf/struct_pb'
|
11
12
|
require 'google/protobuf/timestamp_pb'
|
12
13
|
|
@@ -22,6 +23,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
23
|
optional :update_time, :message, 5, "google.protobuf.Timestamp"
|
23
24
|
optional :etag, :string, 6
|
24
25
|
map :labels, :string, :string, 7
|
26
|
+
repeated :saved_queries, :message, 9, "google.cloud.aiplatform.v1.SavedQuery"
|
25
27
|
optional :encryption_spec, :message, 11, "google.cloud.aiplatform.v1.EncryptionSpec"
|
26
28
|
optional :metadata_artifact, :string, 17
|
27
29
|
end
|
@@ -43,7 +43,8 @@ module Google
|
|
43
43
|
rpc :UpdateIndex, ::Google::Cloud::AIPlatform::V1::UpdateIndexRequest, ::Google::Longrunning::Operation
|
44
44
|
# Deletes an Index.
|
45
45
|
# An Index can only be deleted when all its
|
46
|
-
# [DeployedIndexes][google.cloud.aiplatform.v1.Index.deployed_indexes] had
|
46
|
+
# [DeployedIndexes][google.cloud.aiplatform.v1.Index.deployed_indexes] had
|
47
|
+
# been undeployed.
|
47
48
|
rpc :DeleteIndex, ::Google::Cloud::AIPlatform::V1::DeleteIndexRequest, ::Google::Longrunning::Operation
|
48
49
|
# Add/update Datapoints into an Index.
|
49
50
|
rpc :UpsertDatapoints, ::Google::Cloud::AIPlatform::V1::UpsertDatapointsRequest, ::Google::Cloud::AIPlatform::V1::UpsertDatapointsResponse
|
@@ -45,12 +45,15 @@ module Google
|
|
45
45
|
# Cancels a CustomJob.
|
46
46
|
# Starts asynchronous cancellation on the CustomJob. The server
|
47
47
|
# makes a best effort to cancel the job, but success is not
|
48
|
-
# guaranteed. Clients can use
|
49
|
-
#
|
48
|
+
# guaranteed. Clients can use
|
49
|
+
# [JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]
|
50
|
+
# or other methods to check whether the cancellation succeeded or whether the
|
50
51
|
# job completed despite cancellation. On successful cancellation,
|
51
52
|
# the CustomJob is not deleted; instead it becomes a job with
|
52
|
-
# a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with
|
53
|
-
#
|
53
|
+
# a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with
|
54
|
+
# a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
|
55
|
+
# `Code.CANCELLED`, and
|
56
|
+
# [CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to
|
54
57
|
# `CANCELLED`.
|
55
58
|
rpc :CancelCustomJob, ::Google::Cloud::AIPlatform::V1::CancelCustomJobRequest, ::Google::Protobuf::Empty
|
56
59
|
# Creates a DataLabelingJob.
|
@@ -74,13 +77,17 @@ module Google
|
|
74
77
|
# Cancels a HyperparameterTuningJob.
|
75
78
|
# Starts asynchronous cancellation on the HyperparameterTuningJob. The server
|
76
79
|
# makes a best effort to cancel the job, but success is not
|
77
|
-
# guaranteed. Clients can use
|
78
|
-
#
|
80
|
+
# guaranteed. Clients can use
|
81
|
+
# [JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]
|
82
|
+
# or other methods to check whether the cancellation succeeded or whether the
|
79
83
|
# job completed despite cancellation. On successful cancellation,
|
80
84
|
# the HyperparameterTuningJob is not deleted; instead it becomes a job with
|
81
|
-
# a
|
82
|
-
#
|
83
|
-
# [
|
85
|
+
# a
|
86
|
+
# [HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]
|
87
|
+
# value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
|
88
|
+
# corresponding to `Code.CANCELLED`, and
|
89
|
+
# [HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]
|
90
|
+
# is set to `CANCELLED`.
|
84
91
|
rpc :CancelHyperparameterTuningJob, ::Google::Cloud::AIPlatform::V1::CancelHyperparameterTuningJobRequest, ::Google::Protobuf::Empty
|
85
92
|
# Creates a BatchPredictionJob. A BatchPredictionJob once created will
|
86
93
|
# right away be attempted to start.
|
@@ -96,12 +103,14 @@ module Google
|
|
96
103
|
#
|
97
104
|
# Starts asynchronous cancellation on the BatchPredictionJob. The server
|
98
105
|
# makes the best effort to cancel the job, but success is not
|
99
|
-
# guaranteed. Clients can use
|
100
|
-
#
|
106
|
+
# guaranteed. Clients can use
|
107
|
+
# [JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]
|
108
|
+
# or other methods to check whether the cancellation succeeded or whether the
|
101
109
|
# job completed despite cancellation. On a successful cancellation,
|
102
110
|
# the BatchPredictionJob is not deleted;instead its
|
103
|
-
# [BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]
|
104
|
-
# outputted by the job are not
|
111
|
+
# [BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]
|
112
|
+
# is set to `CANCELLED`. Any files already outputted by the job are not
|
113
|
+
# deleted.
|
105
114
|
rpc :CancelBatchPredictionJob, ::Google::Cloud::AIPlatform::V1::CancelBatchPredictionJobRequest, ::Google::Protobuf::Empty
|
106
115
|
# Creates a ModelDeploymentMonitoringJob. It will run periodically on a
|
107
116
|
# configured interval.
|
@@ -118,7 +127,8 @@ module Google
|
|
118
127
|
rpc :DeleteModelDeploymentMonitoringJob, ::Google::Cloud::AIPlatform::V1::DeleteModelDeploymentMonitoringJobRequest, ::Google::Longrunning::Operation
|
119
128
|
# Pauses a ModelDeploymentMonitoringJob. If the job is running, the server
|
120
129
|
# makes a best effort to cancel the job. Will mark
|
121
|
-
# [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state]
|
130
|
+
# [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state]
|
131
|
+
# to 'PAUSED'.
|
122
132
|
rpc :PauseModelDeploymentMonitoringJob, ::Google::Cloud::AIPlatform::V1::PauseModelDeploymentMonitoringJobRequest, ::Google::Protobuf::Empty
|
123
133
|
# Resumes a paused ModelDeploymentMonitoringJob. It will start to run from
|
124
134
|
# next scheduled time. A deleted ModelDeploymentMonitoringJob can't be
|
@@ -52,6 +52,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
52
52
|
optional :page_token, :string, 3
|
53
53
|
optional :filter, :string, 4
|
54
54
|
optional :read_mask, :message, 5, "google.protobuf.FieldMask"
|
55
|
+
optional :order_by, :string, 6
|
55
56
|
end
|
56
57
|
add_message "google.cloud.aiplatform.v1.ListModelVersionsResponse" do
|
57
58
|
repeated :models, :message, 1, "google.cloud.aiplatform.v1.Model"
|