google-cloud-ai_platform-v1 0.16.0 → 0.17.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/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 +22 -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 +5 -5
@@ -91,12 +91,13 @@ module Google
|
|
91
91
|
# Output only. Time when the Trial was started.
|
92
92
|
# @!attribute [r] end_time
|
93
93
|
# @return [::Google::Protobuf::Timestamp]
|
94
|
-
# Output only. Time when the Trial's status changed to `SUCCEEDED` or
|
94
|
+
# Output only. Time when the Trial's status changed to `SUCCEEDED` or
|
95
|
+
# `INFEASIBLE`.
|
95
96
|
# @!attribute [r] client_id
|
96
97
|
# @return [::String]
|
97
|
-
# Output only. The identifier of the client that originally requested this
|
98
|
-
# Each client is identified by a unique client_id. When a client
|
99
|
-
#
|
98
|
+
# Output only. The identifier of the client that originally requested this
|
99
|
+
# Trial. Each client is identified by a unique client_id. When a client asks
|
100
|
+
# for a suggestion, Vertex AI Vizier will assign it a Trial. The client
|
100
101
|
# should evaluate the Trial, complete it, and report back to Vertex AI
|
101
102
|
# Vizier. If suggestion is asked again by same client_id before the Trial is
|
102
103
|
# completed, the same Trial will be returned. Multiple clients with
|
@@ -115,9 +116,11 @@ module Google
|
|
115
116
|
# Output only. URIs for accessing [interactive
|
116
117
|
# shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell)
|
117
118
|
# (one URI for each training node). Only available if this trial is part of
|
118
|
-
# a
|
119
|
-
# {::Google::Cloud::AIPlatform::V1::
|
120
|
-
#
|
119
|
+
# a
|
120
|
+
# {::Google::Cloud::AIPlatform::V1::HyperparameterTuningJob HyperparameterTuningJob}
|
121
|
+
# and the job's
|
122
|
+
# {::Google::Cloud::AIPlatform::V1::CustomJobSpec#enable_web_access trial_job_spec.enable_web_access}
|
123
|
+
# field is `true`.
|
121
124
|
#
|
122
125
|
# The keys are names of each node used for the trial; for example,
|
123
126
|
# `workerpool0-0` for the primary node, `workerpool1-0` for the first node in
|
@@ -133,7 +136,8 @@ module Google
|
|
133
136
|
# @!attribute [r] parameter_id
|
134
137
|
# @return [::String]
|
135
138
|
# Output only. The ID of the parameter. The parameter should be defined in
|
136
|
-
# [StudySpec's
|
139
|
+
# [StudySpec's
|
140
|
+
# Parameters][google.cloud.aiplatform.v1.StudySpec.parameters].
|
137
141
|
# @!attribute [r] value
|
138
142
|
# @return [::Google::Protobuf::Value]
|
139
143
|
# Output only. The value of the parameter.
|
@@ -214,8 +218,8 @@ module Google
|
|
214
218
|
# Represents a metric to optimize.
|
215
219
|
# @!attribute [rw] metric_id
|
216
220
|
# @return [::String]
|
217
|
-
# Required. The ID of the metric. Must not contain whitespaces and must be
|
218
|
-
# amongst all MetricSpecs.
|
221
|
+
# Required. The ID of the metric. Must not contain whitespaces and must be
|
222
|
+
# unique amongst all MetricSpecs.
|
219
223
|
# @!attribute [rw] goal
|
220
224
|
# @return [::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec::GoalType]
|
221
225
|
# Required. The optimization goal of the metric.
|
@@ -251,8 +255,8 @@ module Google
|
|
251
255
|
# The value spec for a 'DISCRETE' parameter.
|
252
256
|
# @!attribute [rw] parameter_id
|
253
257
|
# @return [::String]
|
254
|
-
# Required. The ID of the parameter. Must not contain whitespaces and must
|
255
|
-
# amongst all ParameterSpecs.
|
258
|
+
# Required. The ID of the parameter. Must not contain whitespaces and must
|
259
|
+
# be unique amongst all ParameterSpecs.
|
256
260
|
# @!attribute [rw] scale_type
|
257
261
|
# @return [::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ScaleType]
|
258
262
|
# How the parameter should be scaled.
|
@@ -391,8 +395,8 @@ module Google
|
|
391
395
|
# Represents the spec to match categorical values from parent parameter.
|
392
396
|
# @!attribute [rw] values
|
393
397
|
# @return [::Array<::String>]
|
394
|
-
# Required. Matches values of the parent parameter of 'CATEGORICAL'
|
395
|
-
# All values must exist in `categorical_value_spec` of parent
|
398
|
+
# Required. Matches values of the parent parameter of 'CATEGORICAL'
|
399
|
+
# type. All values must exist in `categorical_value_spec` of parent
|
396
400
|
# parameter.
|
397
401
|
class CategoricalValueCondition
|
398
402
|
include ::Google::Protobuf::MessageExts
|
@@ -427,9 +431,11 @@ module Google
|
|
427
431
|
# low probability to exceed the optimal value found so far.
|
428
432
|
# @!attribute [rw] use_elapsed_duration
|
429
433
|
# @return [::Boolean]
|
430
|
-
# True if
|
431
|
-
#
|
432
|
-
# as the x-axis.
|
434
|
+
# True if
|
435
|
+
# {::Google::Cloud::AIPlatform::V1::Measurement#elapsed_duration Measurement.elapsed_duration}
|
436
|
+
# is used as the x-axis of each Trials Decay Curve. Otherwise,
|
437
|
+
# {::Google::Cloud::AIPlatform::V1::Measurement#step_count Measurement.step_count}
|
438
|
+
# will be used as the x-axis.
|
433
439
|
class DecayCurveAutomatedStoppingSpec
|
434
440
|
include ::Google::Protobuf::MessageExts
|
435
441
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -443,9 +449,10 @@ module Google
|
|
443
449
|
# @!attribute [rw] use_elapsed_duration
|
444
450
|
# @return [::Boolean]
|
445
451
|
# True if median automated stopping rule applies on
|
446
|
-
# {::Google::Cloud::AIPlatform::V1::Measurement#elapsed_duration Measurement.elapsed_duration}.
|
447
|
-
# field of latest measurement of current
|
448
|
-
# objective value for each completed
|
452
|
+
# {::Google::Cloud::AIPlatform::V1::Measurement#elapsed_duration Measurement.elapsed_duration}.
|
453
|
+
# It means that elapsed_duration field of latest measurement of current
|
454
|
+
# Trial is used to compute median objective value for each completed
|
455
|
+
# Trials.
|
449
456
|
class MedianAutomatedStoppingSpec
|
450
457
|
include ::Google::Protobuf::MessageExts
|
451
458
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -497,6 +504,15 @@ module Google
|
|
497
504
|
# instead of steps. Also, in this case, the parameters max_num_steps and
|
498
505
|
# min_num_steps are overloaded to contain max_elapsed_seconds and
|
499
506
|
# min_elapsed_seconds.
|
507
|
+
# @!attribute [rw] update_all_stopped_trials
|
508
|
+
# @return [::Boolean]
|
509
|
+
# ConvexAutomatedStoppingSpec by default only updates the trials that needs
|
510
|
+
# to be early stopped using a newly trained auto-regressive model. When
|
511
|
+
# this flag is set to True, all stopped trials from the beginning are
|
512
|
+
# potentially updated in terms of their `final_measurement`. Also, note
|
513
|
+
# that the training logic of autoregressive models is different in this
|
514
|
+
# case. Enabling this option has shown better results and this may be the
|
515
|
+
# default option in the future.
|
500
516
|
class ConvexAutomatedStoppingSpec
|
501
517
|
include ::Google::Protobuf::MessageExts
|
502
518
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -565,15 +581,16 @@ module Google
|
|
565
581
|
# values.
|
566
582
|
# @!attribute [r] elapsed_duration
|
567
583
|
# @return [::Google::Protobuf::Duration]
|
568
|
-
# Output only. Time that the Trial has been running at the point of this
|
584
|
+
# Output only. Time that the Trial has been running at the point of this
|
585
|
+
# Measurement.
|
569
586
|
# @!attribute [r] step_count
|
570
587
|
# @return [::Integer]
|
571
|
-
# Output only. The number of steps the machine learning model has been
|
572
|
-
# Must be non-negative.
|
588
|
+
# Output only. The number of steps the machine learning model has been
|
589
|
+
# trained for. Must be non-negative.
|
573
590
|
# @!attribute [r] metrics
|
574
591
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Measurement::Metric>]
|
575
|
-
# Output only. A list of metrics got by evaluating the objective functions
|
576
|
-
# Parameter values.
|
592
|
+
# Output only. A list of metrics got by evaluating the objective functions
|
593
|
+
# using suggested Parameter values.
|
577
594
|
class Measurement
|
578
595
|
include ::Google::Protobuf::MessageExts
|
579
596
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -42,8 +42,8 @@ module Google
|
|
42
42
|
# this key.
|
43
43
|
# @!attribute [r] blob_storage_path_prefix
|
44
44
|
# @return [::String]
|
45
|
-
# Output only. Consumer project Cloud Storage path prefix used to store blob
|
46
|
-
# can either be a bucket or directory. Does not end with a '/'.
|
45
|
+
# Output only. Consumer project Cloud Storage path prefix used to store blob
|
46
|
+
# data, which can either be a bucket or directory. Does not end with a '/'.
|
47
47
|
# @!attribute [r] run_count
|
48
48
|
# @return [::Integer]
|
49
49
|
# Output only. The number of Runs stored in this Tensorboard.
|
@@ -24,12 +24,12 @@ module Google
|
|
24
24
|
# All the data stored in a TensorboardTimeSeries.
|
25
25
|
# @!attribute [rw] tensorboard_time_series_id
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The ID of the TensorboardTimeSeries, which will become the final
|
28
|
-
# of the TensorboardTimeSeries' resource name
|
27
|
+
# Required. The ID of the TensorboardTimeSeries, which will become the final
|
28
|
+
# component of the TensorboardTimeSeries' resource name
|
29
29
|
# @!attribute [rw] value_type
|
30
30
|
# @return [::Google::Cloud::AIPlatform::V1::TensorboardTimeSeries::ValueType]
|
31
|
-
# Required. Immutable. The value type of this time series. All the values in
|
32
|
-
# must match this value type.
|
31
|
+
# Required. Immutable. The value type of this time series. All the values in
|
32
|
+
# this time series data must match this value type.
|
33
33
|
# @!attribute [rw] values
|
34
34
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::TimeSeriesDataPoint>]
|
35
35
|
# Required. Data points in this time series.
|
@@ -75,7 +75,8 @@ module Google
|
|
75
75
|
# https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.proto
|
76
76
|
# @!attribute [rw] version_number
|
77
77
|
# @return [::Integer]
|
78
|
-
# Optional. Version number of TensorProto used to serialize
|
78
|
+
# Optional. Version number of TensorProto used to serialize
|
79
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardTensor#value value}.
|
79
80
|
class TensorboardTensor
|
80
81
|
include ::Google::Protobuf::MessageExts
|
81
82
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -94,8 +95,8 @@ module Google
|
|
94
95
|
# One blob (e.g, image, graph) viewable on a blob metric plot.
|
95
96
|
# @!attribute [r] id
|
96
97
|
# @return [::String]
|
97
|
-
# Output only. A URI safe key uniquely identifying a blob. Can be used to
|
98
|
-
# stored in the Cloud Storage bucket of the consumer project.
|
98
|
+
# Output only. A URI safe key uniquely identifying a blob. Can be used to
|
99
|
+
# locate the blob stored in the Cloud Storage bucket of the consumer project.
|
99
100
|
# @!attribute [rw] data
|
100
101
|
# @return [::String]
|
101
102
|
# Optional. The bytes of the blob is not present unless it's returned by the
|
@@ -62,7 +62,8 @@ module Google
|
|
62
62
|
# "overwrite" update happens.
|
63
63
|
# @!attribute [rw] source
|
64
64
|
# @return [::String]
|
65
|
-
# Immutable. Source of the TensorboardExperiment. Example: a custom training
|
65
|
+
# Immutable. Source of the TensorboardExperiment. Example: a custom training
|
66
|
+
# job.
|
66
67
|
class TensorboardExperiment
|
67
68
|
include ::Google::Protobuf::MessageExts
|
68
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|