google-cloud-ai_platform-v1 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +733 -0
  3. data/lib/google/cloud/ai_platform/v1/job_service/credentials.rb +2 -1
  4. data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +40 -0
  5. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +123 -0
  6. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  7. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -0
  8. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +46 -0
  9. data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +26 -0
  10. data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -0
  11. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +20 -0
  12. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +7 -0
  13. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +123 -0
  14. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -0
  15. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +25 -0
  16. data/lib/google/cloud/aiplatform/v1/study_pb.rb +6 -0
  17. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +3 -1
  18. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +10 -3
  19. data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +166 -0
  20. data/proto_docs/google/cloud/aiplatform/v1/model.rb +15 -0
  21. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +58 -0
  22. data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +306 -0
  23. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +5 -0
  24. data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +39 -0
  25. data/proto_docs/google/cloud/aiplatform/v1/study.rb +22 -0
  26. metadata +6 -2
@@ -223,10 +223,32 @@ module Google
223
223
  # @!attribute [rw] goal
224
224
  # @return [::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec::GoalType]
225
225
  # Required. The optimization goal of the metric.
226
+ # @!attribute [rw] safety_config
227
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec::SafetyMetricConfig]
228
+ # Used for safe search. In the case, the metric will be a safety
229
+ # metric. You must provide a separate metric for objective metric.
226
230
  class MetricSpec
227
231
  include ::Google::Protobuf::MessageExts
228
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
229
233
 
234
+ # Used in safe optimization to specify threshold levels and risk tolerance.
235
+ # @!attribute [rw] safety_threshold
236
+ # @return [::Float]
237
+ # Safety threshold (boundary value between safe and unsafe). NOTE that if
238
+ # you leave SafetyMetricConfig unset, a default value of 0 will be used.
239
+ # @!attribute [rw] desired_min_safe_trials_fraction
240
+ # @return [::Float]
241
+ # Desired minimum fraction of safe trials (over total number of trials)
242
+ # that should be targeted by the algorithm at any time during the
243
+ # study (best effort). This should be between 0.0 and 1.0 and a value of
244
+ # 0.0 means that there is no minimum and an algorithm proceeds without
245
+ # targeting any specific fraction. A value of 1.0 means that the
246
+ # algorithm attempts to only Suggest safe Trials.
247
+ class SafetyMetricConfig
248
+ include ::Google::Protobuf::MessageExts
249
+ extend ::Google::Protobuf::MessageExts::ClassMethods
250
+ end
251
+
230
252
  # The available types of optimization goals.
231
253
  module GoalType
232
254
  # Goal Type will default to maximize.
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.18.0
4
+ version: 0.19.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-01-20 00:00:00.000000000 Z
11
+ date: 2023-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -348,6 +348,7 @@ files:
348
348
  - lib/google/cloud/aiplatform/v1/model_pb.rb
349
349
  - lib/google/cloud/aiplatform/v1/model_service_pb.rb
350
350
  - lib/google/cloud/aiplatform/v1/model_service_services_pb.rb
351
+ - lib/google/cloud/aiplatform/v1/nas_job_pb.rb
351
352
  - lib/google/cloud/aiplatform/v1/operation_pb.rb
352
353
  - lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb
353
354
  - lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb
@@ -357,6 +358,7 @@ files:
357
358
  - lib/google/cloud/aiplatform/v1/prediction_service_pb.rb
358
359
  - lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb
359
360
  - lib/google/cloud/aiplatform/v1/saved_query_pb.rb
361
+ - lib/google/cloud/aiplatform/v1/service_networking_pb.rb
360
362
  - lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb
361
363
  - lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb
362
364
  - lib/google/cloud/aiplatform/v1/specialist_pool_service_services_pb.rb
@@ -433,6 +435,7 @@ files:
433
435
  - proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb
434
436
  - proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb
435
437
  - proto_docs/google/cloud/aiplatform/v1/model_service.rb
438
+ - proto_docs/google/cloud/aiplatform/v1/nas_job.rb
436
439
  - proto_docs/google/cloud/aiplatform/v1/operation.rb
437
440
  - proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb
438
441
  - proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb
@@ -476,6 +479,7 @@ files:
476
479
  - proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.rb
477
480
  - proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.rb
478
481
  - proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.rb
482
+ - proto_docs/google/cloud/aiplatform/v1/service_networking.rb
479
483
  - proto_docs/google/cloud/aiplatform/v1/specialist_pool.rb
480
484
  - proto_docs/google/cloud/aiplatform/v1/specialist_pool_service.rb
481
485
  - proto_docs/google/cloud/aiplatform/v1/study.rb