google-cloud-ai_platform-v1 0.33.0 → 0.35.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/feature_online_store_admin_service/client.rb +1796 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +787 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/paths.rb +111 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +431 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/paths.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +1498 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +787 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/paths.rb +139 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +20 -7
- data/lib/google/cloud/ai_platform/v1/featurestore_service/paths.rb +53 -8
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +528 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/paths.rb +78 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service.rb +49 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +374 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +5 -1
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +79 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb +71 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +56 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +44 -0
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +66 -0
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb +64 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/llm_utility_service_pb.rb +52 -0
- data/lib/google/cloud/aiplatform/v1/llm_utility_service_services_pb.rb +47 -0
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +9 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +10 -0
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +5 -1
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +21 -10
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +91 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +124 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +458 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +102 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +208 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +131 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +48 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +32 -7
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +53 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +5 -4
- data/proto_docs/google/cloud/aiplatform/v1/llm_utility_service.rb +64 -0
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +61 -0
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +140 -2
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +75 -0
- metadata +40 -2
@@ -45,6 +45,10 @@ module Google
|
|
45
45
|
# @!attribute [rw] accelerator_count
|
46
46
|
# @return [::Integer]
|
47
47
|
# The number of accelerators to attach to the machine.
|
48
|
+
# @!attribute [rw] tpu_topology
|
49
|
+
# @return [::String]
|
50
|
+
# Immutable. The topology of the TPUs. Corresponds to the TPU topologies
|
51
|
+
# available from GKE. (Example: tpu_topology: "2x2x1").
|
48
52
|
class MachineSpec
|
49
53
|
include ::Google::Protobuf::MessageExts
|
50
54
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -663,6 +663,31 @@ module Google
|
|
663
663
|
# (Vertex AI makes this value available to your container code as the
|
664
664
|
# [`AIP_DEPLOYED_MODEL_ID` environment
|
665
665
|
# variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)
|
666
|
+
# @!attribute [rw] grpc_ports
|
667
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Port>]
|
668
|
+
# Immutable. List of ports to expose from the container. Vertex AI sends gRPC
|
669
|
+
# prediction requests that it receives to the first port on this list. Vertex
|
670
|
+
# AI also sends liveness and health checks to this port.
|
671
|
+
#
|
672
|
+
# If you do not specify this field, gRPC requests to the container will be
|
673
|
+
# disabled.
|
674
|
+
#
|
675
|
+
# Vertex AI does not use ports other than the first one listed. This field
|
676
|
+
# corresponds to the `ports` field of the Kubernetes Containers v1 core API.
|
677
|
+
# @!attribute [rw] deployment_timeout
|
678
|
+
# @return [::Google::Protobuf::Duration]
|
679
|
+
# Immutable. Deployment timeout.
|
680
|
+
# Limit for deployment timeout is 2 hours.
|
681
|
+
# @!attribute [rw] shared_memory_size_mb
|
682
|
+
# @return [::Integer]
|
683
|
+
# Immutable. The amount of the VM memory to reserve as the shared memory for
|
684
|
+
# the model in megabytes.
|
685
|
+
# @!attribute [rw] startup_probe
|
686
|
+
# @return [::Google::Cloud::AIPlatform::V1::Probe]
|
687
|
+
# Immutable. Specification for Kubernetes startup probe.
|
688
|
+
# @!attribute [rw] health_probe
|
689
|
+
# @return [::Google::Cloud::AIPlatform::V1::Probe]
|
690
|
+
# Immutable. Specification for Kubernetes readiness probe.
|
666
691
|
class ModelContainerSpec
|
667
692
|
include ::Google::Protobuf::MessageExts
|
668
693
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -712,6 +737,42 @@ module Google
|
|
712
737
|
GENIE = 5
|
713
738
|
end
|
714
739
|
end
|
740
|
+
|
741
|
+
# Probe describes a health check to be performed against a container to
|
742
|
+
# determine whether it is alive or ready to receive traffic.
|
743
|
+
# @!attribute [rw] exec
|
744
|
+
# @return [::Google::Cloud::AIPlatform::V1::Probe::ExecAction]
|
745
|
+
# Exec specifies the action to take.
|
746
|
+
# @!attribute [rw] period_seconds
|
747
|
+
# @return [::Integer]
|
748
|
+
# How often (in seconds) to perform the probe. Default to 10 seconds.
|
749
|
+
# Minimum value is 1. Must be less than timeout_seconds.
|
750
|
+
#
|
751
|
+
# Maps to Kubernetes probe argument 'periodSeconds'.
|
752
|
+
# @!attribute [rw] timeout_seconds
|
753
|
+
# @return [::Integer]
|
754
|
+
# Number of seconds after which the probe times out. Defaults to 1 second.
|
755
|
+
# Minimum value is 1. Must be greater or equal to period_seconds.
|
756
|
+
#
|
757
|
+
# Maps to Kubernetes probe argument 'timeoutSeconds'.
|
758
|
+
class Probe
|
759
|
+
include ::Google::Protobuf::MessageExts
|
760
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
761
|
+
|
762
|
+
# ExecAction specifies a command to execute.
|
763
|
+
# @!attribute [rw] command
|
764
|
+
# @return [::Array<::String>]
|
765
|
+
# Command is the command line to execute inside the container, the working
|
766
|
+
# directory for the command is root ('/') in the container's filesystem.
|
767
|
+
# The command is simply exec'd, it is not run inside a shell, so
|
768
|
+
# traditional shell instructions ('|', etc) won't work. To use a shell, you
|
769
|
+
# need to explicitly call out to that shell. Exit status of 0 is treated as
|
770
|
+
# live/healthy and non-zero is unhealthy.
|
771
|
+
class ExecAction
|
772
|
+
include ::Google::Protobuf::MessageExts
|
773
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
774
|
+
end
|
775
|
+
end
|
715
776
|
end
|
716
777
|
end
|
717
778
|
end
|
@@ -115,7 +115,72 @@ module Google
|
|
115
115
|
end
|
116
116
|
|
117
117
|
# Request message for
|
118
|
-
#
|
118
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#direct_predict PredictionService.DirectPredict}.
|
119
|
+
# @!attribute [rw] endpoint
|
120
|
+
# @return [::String]
|
121
|
+
# Required. The name of the Endpoint requested to serve the prediction.
|
122
|
+
# Format:
|
123
|
+
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
124
|
+
# @!attribute [rw] inputs
|
125
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Tensor>]
|
126
|
+
# The prediction input.
|
127
|
+
# @!attribute [rw] parameters
|
128
|
+
# @return [::Google::Cloud::AIPlatform::V1::Tensor]
|
129
|
+
# The parameters that govern the prediction.
|
130
|
+
class DirectPredictRequest
|
131
|
+
include ::Google::Protobuf::MessageExts
|
132
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
133
|
+
end
|
134
|
+
|
135
|
+
# Response message for
|
136
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#direct_predict PredictionService.DirectPredict}.
|
137
|
+
# @!attribute [rw] outputs
|
138
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Tensor>]
|
139
|
+
# The prediction output.
|
140
|
+
# @!attribute [rw] parameters
|
141
|
+
# @return [::Google::Cloud::AIPlatform::V1::Tensor]
|
142
|
+
# The parameters that govern the prediction.
|
143
|
+
class DirectPredictResponse
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
end
|
147
|
+
|
148
|
+
# Request message for
|
149
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#direct_raw_predict PredictionService.DirectRawPredict}.
|
150
|
+
# @!attribute [rw] endpoint
|
151
|
+
# @return [::String]
|
152
|
+
# Required. The name of the Endpoint requested to serve the prediction.
|
153
|
+
# Format:
|
154
|
+
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
155
|
+
# @!attribute [rw] method_name
|
156
|
+
# @return [::String]
|
157
|
+
# Fully qualified name of the API method being invoked to perform
|
158
|
+
# predictions.
|
159
|
+
#
|
160
|
+
# Format:
|
161
|
+
# `/namespace.Service/Method/`
|
162
|
+
# Example:
|
163
|
+
# `/tensorflow.serving.PredictionService/Predict`
|
164
|
+
# @!attribute [rw] input
|
165
|
+
# @return [::String]
|
166
|
+
# The prediction input.
|
167
|
+
class DirectRawPredictRequest
|
168
|
+
include ::Google::Protobuf::MessageExts
|
169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
170
|
+
end
|
171
|
+
|
172
|
+
# Response message for
|
173
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#direct_raw_predict PredictionService.DirectRawPredict}.
|
174
|
+
# @!attribute [rw] output
|
175
|
+
# @return [::String]
|
176
|
+
# The prediction output.
|
177
|
+
class DirectRawPredictResponse
|
178
|
+
include ::Google::Protobuf::MessageExts
|
179
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
|
+
end
|
181
|
+
|
182
|
+
# Request message for
|
183
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#streaming_predict PredictionService.StreamingPredict}.
|
119
184
|
#
|
120
185
|
# The first message must contain
|
121
186
|
# {::Google::Cloud::AIPlatform::V1::StreamingPredictRequest#endpoint endpoint} field
|
@@ -137,7 +202,7 @@ module Google
|
|
137
202
|
end
|
138
203
|
|
139
204
|
# Response message for
|
140
|
-
#
|
205
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#streaming_predict PredictionService.StreamingPredict}.
|
141
206
|
# @!attribute [rw] outputs
|
142
207
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Tensor>]
|
143
208
|
# The prediction output.
|
@@ -149,6 +214,51 @@ module Google
|
|
149
214
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
150
215
|
end
|
151
216
|
|
217
|
+
# Request message for
|
218
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#streaming_raw_predict PredictionService.StreamingRawPredict}.
|
219
|
+
#
|
220
|
+
# The first message must contain
|
221
|
+
# {::Google::Cloud::AIPlatform::V1::StreamingRawPredictRequest#endpoint endpoint}
|
222
|
+
# and
|
223
|
+
# {::Google::Cloud::AIPlatform::V1::StreamingRawPredictRequest#method_name method_name}
|
224
|
+
# fields and optionally
|
225
|
+
# {::Google::Cloud::AIPlatform::V1::StreamingRawPredictRequest#input input}. The
|
226
|
+
# subsequent messages must contain
|
227
|
+
# {::Google::Cloud::AIPlatform::V1::StreamingRawPredictRequest#input input}.
|
228
|
+
# {::Google::Cloud::AIPlatform::V1::StreamingRawPredictRequest#method_name method_name}
|
229
|
+
# in the subsequent messages have no effect.
|
230
|
+
# @!attribute [rw] endpoint
|
231
|
+
# @return [::String]
|
232
|
+
# Required. The name of the Endpoint requested to serve the prediction.
|
233
|
+
# Format:
|
234
|
+
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
235
|
+
# @!attribute [rw] method_name
|
236
|
+
# @return [::String]
|
237
|
+
# Fully qualified name of the API method being invoked to perform
|
238
|
+
# predictions.
|
239
|
+
#
|
240
|
+
# Format:
|
241
|
+
# `/namespace.Service/Method/`
|
242
|
+
# Example:
|
243
|
+
# `/tensorflow.serving.PredictionService/Predict`
|
244
|
+
# @!attribute [rw] input
|
245
|
+
# @return [::String]
|
246
|
+
# The prediction input.
|
247
|
+
class StreamingRawPredictRequest
|
248
|
+
include ::Google::Protobuf::MessageExts
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
|
+
end
|
251
|
+
|
252
|
+
# Response message for
|
253
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#streaming_raw_predict PredictionService.StreamingRawPredict}.
|
254
|
+
# @!attribute [rw] output
|
255
|
+
# @return [::String]
|
256
|
+
# The prediction output.
|
257
|
+
class StreamingRawPredictResponse
|
258
|
+
include ::Google::Protobuf::MessageExts
|
259
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
260
|
+
end
|
261
|
+
|
152
262
|
# Request message for
|
153
263
|
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#explain PredictionService.Explain}.
|
154
264
|
# @!attribute [rw] endpoint
|
@@ -216,6 +326,34 @@ module Google
|
|
216
326
|
include ::Google::Protobuf::MessageExts
|
217
327
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
328
|
end
|
329
|
+
|
330
|
+
# Request message for [PredictionService.CountTokens][].
|
331
|
+
# @!attribute [rw] endpoint
|
332
|
+
# @return [::String]
|
333
|
+
# Required. The name of the Endpoint requested to perform token counting.
|
334
|
+
# Format:
|
335
|
+
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
336
|
+
# @!attribute [rw] instances
|
337
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
338
|
+
# Required. The instances that are the input to token counting call.
|
339
|
+
# Schema is identical to the prediction schema of the underlying model.
|
340
|
+
class CountTokensRequest
|
341
|
+
include ::Google::Protobuf::MessageExts
|
342
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
343
|
+
end
|
344
|
+
|
345
|
+
# Response message for [PredictionService.CountTokens][].
|
346
|
+
# @!attribute [rw] total_tokens
|
347
|
+
# @return [::Integer]
|
348
|
+
# The total number of tokens counted across all instances from the request.
|
349
|
+
# @!attribute [rw] total_billable_characters
|
350
|
+
# @return [::Integer]
|
351
|
+
# The total number of billable characters counted across all instances from
|
352
|
+
# the request.
|
353
|
+
class CountTokensResponse
|
354
|
+
include ::Google::Protobuf::MessageExts
|
355
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
356
|
+
end
|
219
357
|
end
|
220
358
|
end
|
221
359
|
end
|
@@ -205,6 +205,18 @@ module Google
|
|
205
205
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
206
206
|
end
|
207
207
|
|
208
|
+
# Time-based Constraint for Study
|
209
|
+
# @!attribute [rw] max_duration
|
210
|
+
# @return [::Google::Protobuf::Duration]
|
211
|
+
# Counts the wallclock time passed since the creation of this Study.
|
212
|
+
# @!attribute [rw] end_time
|
213
|
+
# @return [::Google::Protobuf::Timestamp]
|
214
|
+
# Compares the wallclock time to this time. Must use UTC timezone.
|
215
|
+
class StudyTimeConstraint
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
219
|
+
|
208
220
|
# Represents specification of a Study.
|
209
221
|
# @!attribute [rw] decay_curve_stopping_spec
|
210
222
|
# @return [::Google::Cloud::AIPlatform::V1::StudySpec::DecayCurveAutomatedStoppingSpec]
|
@@ -232,6 +244,10 @@ module Google
|
|
232
244
|
# @!attribute [rw] measurement_selection_type
|
233
245
|
# @return [::Google::Cloud::AIPlatform::V1::StudySpec::MeasurementSelectionType]
|
234
246
|
# Describe which measurement selection type will be used
|
247
|
+
# @!attribute [rw] study_stopping_config
|
248
|
+
# @return [::Google::Cloud::AIPlatform::V1::StudySpec::StudyStoppingConfig]
|
249
|
+
# Conditions for automated stopping of a Study. Enable automated stopping by
|
250
|
+
# configuring at least one condition.
|
235
251
|
class StudySpec
|
236
252
|
include ::Google::Protobuf::MessageExts
|
237
253
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -561,6 +577,65 @@ module Google
|
|
561
577
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
562
578
|
end
|
563
579
|
|
580
|
+
# The configuration (stopping conditions) for automated stopping of a Study.
|
581
|
+
# Conditions include trial budgets, time budgets, and convergence detection.
|
582
|
+
# @!attribute [rw] should_stop_asap
|
583
|
+
# @return [::Google::Protobuf::BoolValue]
|
584
|
+
# If true, a Study enters STOPPING_ASAP whenever it would normally enters
|
585
|
+
# STOPPING state.
|
586
|
+
#
|
587
|
+
# The bottom line is: set to true if you want to interrupt on-going
|
588
|
+
# evaluations of Trials as soon as the study stopping condition is met.
|
589
|
+
# (Please see Study.State documentation for the source of truth).
|
590
|
+
# @!attribute [rw] minimum_runtime_constraint
|
591
|
+
# @return [::Google::Cloud::AIPlatform::V1::StudyTimeConstraint]
|
592
|
+
# Each "stopping rule" in this proto specifies an "if" condition. Before
|
593
|
+
# Vizier would generate a new suggestion, it first checks each specified
|
594
|
+
# stopping rule, from top to bottom in this list.
|
595
|
+
# Note that the first few rules (e.g. minimum_runtime_constraint,
|
596
|
+
# min_num_trials) will prevent other stopping rules from being evaluated
|
597
|
+
# until they are met. For example, setting `min_num_trials=5` and
|
598
|
+
# `always_stop_after= 1 hour` means that the Study will ONLY stop after it
|
599
|
+
# has 5 COMPLETED trials, even if more than an hour has passed since its
|
600
|
+
# creation. It follows the first applicable rule (whose "if" condition is
|
601
|
+
# satisfied) to make a stopping decision. If none of the specified rules
|
602
|
+
# are applicable, then Vizier decides that the study should not stop.
|
603
|
+
# If Vizier decides that the study should stop, the study enters
|
604
|
+
# STOPPING state (or STOPPING_ASAP if should_stop_asap = true).
|
605
|
+
# IMPORTANT: The automatic study state transition happens precisely as
|
606
|
+
# described above; that is, deleting trials or updating StudyConfig NEVER
|
607
|
+
# automatically moves the study state back to ACTIVE. If you want to
|
608
|
+
# _resume_ a Study that was stopped, 1) change the stopping conditions if
|
609
|
+
# necessary, 2) activate the study, and then 3) ask for suggestions.
|
610
|
+
# If the specified time or duration has not passed, do not stop the
|
611
|
+
# study.
|
612
|
+
# @!attribute [rw] maximum_runtime_constraint
|
613
|
+
# @return [::Google::Cloud::AIPlatform::V1::StudyTimeConstraint]
|
614
|
+
# If the specified time or duration has passed, stop the study.
|
615
|
+
# @!attribute [rw] min_num_trials
|
616
|
+
# @return [::Google::Protobuf::Int32Value]
|
617
|
+
# If there are fewer than this many COMPLETED trials, do not stop the
|
618
|
+
# study.
|
619
|
+
# @!attribute [rw] max_num_trials
|
620
|
+
# @return [::Google::Protobuf::Int32Value]
|
621
|
+
# If there are more than this many trials, stop the study.
|
622
|
+
# @!attribute [rw] max_num_trials_no_progress
|
623
|
+
# @return [::Google::Protobuf::Int32Value]
|
624
|
+
# If the objective value has not improved for this many consecutive
|
625
|
+
# trials, stop the study.
|
626
|
+
#
|
627
|
+
# WARNING: Effective only for single-objective studies.
|
628
|
+
# @!attribute [rw] max_duration_no_progress
|
629
|
+
# @return [::Google::Protobuf::Duration]
|
630
|
+
# If the objective value has not improved for this much time, stop the
|
631
|
+
# study.
|
632
|
+
#
|
633
|
+
# WARNING: Effective only for single-objective studies.
|
634
|
+
class StudyStoppingConfig
|
635
|
+
include ::Google::Protobuf::MessageExts
|
636
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
637
|
+
end
|
638
|
+
|
564
639
|
# The available search algorithms for the Study.
|
565
640
|
module Algorithm
|
566
641
|
# The default algorithm used by Vertex AI for [hyperparameter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -222,6 +222,20 @@ files:
|
|
222
222
|
- lib/google/cloud/ai_platform/v1/endpoint_service/credentials.rb
|
223
223
|
- lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb
|
224
224
|
- lib/google/cloud/ai_platform/v1/endpoint_service/paths.rb
|
225
|
+
- lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb
|
226
|
+
- lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb
|
227
|
+
- lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/credentials.rb
|
228
|
+
- lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb
|
229
|
+
- lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/paths.rb
|
230
|
+
- lib/google/cloud/ai_platform/v1/feature_online_store_service.rb
|
231
|
+
- lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb
|
232
|
+
- lib/google/cloud/ai_platform/v1/feature_online_store_service/credentials.rb
|
233
|
+
- lib/google/cloud/ai_platform/v1/feature_online_store_service/paths.rb
|
234
|
+
- lib/google/cloud/ai_platform/v1/feature_registry_service.rb
|
235
|
+
- lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb
|
236
|
+
- lib/google/cloud/ai_platform/v1/feature_registry_service/credentials.rb
|
237
|
+
- lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb
|
238
|
+
- lib/google/cloud/ai_platform/v1/feature_registry_service/paths.rb
|
225
239
|
- lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb
|
226
240
|
- lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb
|
227
241
|
- lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/credentials.rb
|
@@ -246,6 +260,10 @@ files:
|
|
246
260
|
- lib/google/cloud/ai_platform/v1/job_service/credentials.rb
|
247
261
|
- lib/google/cloud/ai_platform/v1/job_service/operations.rb
|
248
262
|
- lib/google/cloud/ai_platform/v1/job_service/paths.rb
|
263
|
+
- lib/google/cloud/ai_platform/v1/llm_utility_service.rb
|
264
|
+
- lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb
|
265
|
+
- lib/google/cloud/ai_platform/v1/llm_utility_service/credentials.rb
|
266
|
+
- lib/google/cloud/ai_platform/v1/llm_utility_service/paths.rb
|
249
267
|
- lib/google/cloud/ai_platform/v1/match_service.rb
|
250
268
|
- lib/google/cloud/ai_platform/v1/match_service/client.rb
|
251
269
|
- lib/google/cloud/ai_platform/v1/match_service/credentials.rb
|
@@ -326,9 +344,19 @@ files:
|
|
326
344
|
- lib/google/cloud/aiplatform/v1/execution_pb.rb
|
327
345
|
- lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb
|
328
346
|
- lib/google/cloud/aiplatform/v1/explanation_pb.rb
|
347
|
+
- lib/google/cloud/aiplatform/v1/feature_group_pb.rb
|
329
348
|
- lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb
|
349
|
+
- lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb
|
350
|
+
- lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb
|
351
|
+
- lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb
|
352
|
+
- lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb
|
353
|
+
- lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb
|
330
354
|
- lib/google/cloud/aiplatform/v1/feature_pb.rb
|
355
|
+
- lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb
|
356
|
+
- lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb
|
331
357
|
- lib/google/cloud/aiplatform/v1/feature_selector_pb.rb
|
358
|
+
- lib/google/cloud/aiplatform/v1/feature_view_pb.rb
|
359
|
+
- lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb
|
332
360
|
- lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb
|
333
361
|
- lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb
|
334
362
|
- lib/google/cloud/aiplatform/v1/featurestore_online_service_services_pb.rb
|
@@ -347,6 +375,8 @@ files:
|
|
347
375
|
- lib/google/cloud/aiplatform/v1/job_service_services_pb.rb
|
348
376
|
- lib/google/cloud/aiplatform/v1/job_state_pb.rb
|
349
377
|
- lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb
|
378
|
+
- lib/google/cloud/aiplatform/v1/llm_utility_service_pb.rb
|
379
|
+
- lib/google/cloud/aiplatform/v1/llm_utility_service_services_pb.rb
|
350
380
|
- lib/google/cloud/aiplatform/v1/machine_resources_pb.rb
|
351
381
|
- lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb
|
352
382
|
- lib/google/cloud/aiplatform/v1/match_service_pb.rb
|
@@ -432,8 +462,15 @@ files:
|
|
432
462
|
- proto_docs/google/cloud/aiplatform/v1/explanation.rb
|
433
463
|
- proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb
|
434
464
|
- proto_docs/google/cloud/aiplatform/v1/feature.rb
|
465
|
+
- proto_docs/google/cloud/aiplatform/v1/feature_group.rb
|
435
466
|
- proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb
|
467
|
+
- proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb
|
468
|
+
- proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb
|
469
|
+
- proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb
|
470
|
+
- proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb
|
436
471
|
- proto_docs/google/cloud/aiplatform/v1/feature_selector.rb
|
472
|
+
- proto_docs/google/cloud/aiplatform/v1/feature_view.rb
|
473
|
+
- proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb
|
437
474
|
- proto_docs/google/cloud/aiplatform/v1/featurestore.rb
|
438
475
|
- proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb
|
439
476
|
- proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb
|
@@ -447,6 +484,7 @@ files:
|
|
447
484
|
- proto_docs/google/cloud/aiplatform/v1/job_service.rb
|
448
485
|
- proto_docs/google/cloud/aiplatform/v1/job_state.rb
|
449
486
|
- proto_docs/google/cloud/aiplatform/v1/lineage_subgraph.rb
|
487
|
+
- proto_docs/google/cloud/aiplatform/v1/llm_utility_service.rb
|
450
488
|
- proto_docs/google/cloud/aiplatform/v1/machine_resources.rb
|
451
489
|
- proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb
|
452
490
|
- proto_docs/google/cloud/aiplatform/v1/match_service.rb
|