google-cloud-ai_platform-v1 0.33.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +1796 -0
  3. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/credentials.rb +47 -0
  4. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +787 -0
  5. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/paths.rb +111 -0
  6. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +51 -0
  7. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +431 -0
  8. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/credentials.rb +47 -0
  9. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/paths.rb +54 -0
  10. data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +47 -0
  11. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +1498 -0
  12. data/lib/google/cloud/ai_platform/v1/feature_registry_service/credentials.rb +47 -0
  13. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +787 -0
  14. data/lib/google/cloud/ai_platform/v1/feature_registry_service/paths.rb +139 -0
  15. data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +51 -0
  16. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +20 -7
  17. data/lib/google/cloud/ai_platform/v1/featurestore_service/paths.rb +53 -8
  18. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  19. data/lib/google/cloud/ai_platform/v1.rb +3 -0
  20. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
  21. data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +50 -0
  22. data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +79 -0
  23. data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb +71 -0
  24. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +50 -0
  25. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +56 -0
  26. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +44 -0
  27. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
  28. data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +66 -0
  29. data/lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb +64 -0
  30. data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +51 -0
  31. data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +51 -0
  32. data/lib/google/cloud/aiplatform/v1/index_pb.rb +3 -1
  33. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
  34. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +3 -1
  35. data/lib/google/cloud/aiplatform/v1/study_pb.rb +5 -1
  36. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +6 -0
  37. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +21 -10
  38. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +91 -0
  39. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +124 -0
  40. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +458 -0
  41. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +102 -0
  42. data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +208 -0
  43. data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +131 -0
  44. data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +48 -0
  45. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +32 -7
  46. data/proto_docs/google/cloud/aiplatform/v1/index.rb +53 -0
  47. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +5 -4
  48. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +4 -0
  49. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +28 -0
  50. data/proto_docs/google/cloud/aiplatform/v1/study.rb +75 -0
  51. metadata +33 -2
@@ -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.33.0
4
+ version: 0.34.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-10-06 00:00:00.000000000 Z
11
+ date: 2023-11-20 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
@@ -326,9 +340,19 @@ files:
326
340
  - lib/google/cloud/aiplatform/v1/execution_pb.rb
327
341
  - lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb
328
342
  - lib/google/cloud/aiplatform/v1/explanation_pb.rb
343
+ - lib/google/cloud/aiplatform/v1/feature_group_pb.rb
329
344
  - lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb
345
+ - lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb
346
+ - lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb
347
+ - lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb
348
+ - lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb
349
+ - lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb
330
350
  - lib/google/cloud/aiplatform/v1/feature_pb.rb
351
+ - lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb
352
+ - lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb
331
353
  - lib/google/cloud/aiplatform/v1/feature_selector_pb.rb
354
+ - lib/google/cloud/aiplatform/v1/feature_view_pb.rb
355
+ - lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb
332
356
  - lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb
333
357
  - lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb
334
358
  - lib/google/cloud/aiplatform/v1/featurestore_online_service_services_pb.rb
@@ -432,8 +456,15 @@ files:
432
456
  - proto_docs/google/cloud/aiplatform/v1/explanation.rb
433
457
  - proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb
434
458
  - proto_docs/google/cloud/aiplatform/v1/feature.rb
459
+ - proto_docs/google/cloud/aiplatform/v1/feature_group.rb
435
460
  - proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb
461
+ - proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb
462
+ - proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb
463
+ - proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb
464
+ - proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb
436
465
  - proto_docs/google/cloud/aiplatform/v1/feature_selector.rb
466
+ - proto_docs/google/cloud/aiplatform/v1/feature_view.rb
467
+ - proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb
437
468
  - proto_docs/google/cloud/aiplatform/v1/featurestore.rb
438
469
  - proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb
439
470
  - proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb