google-cloud-ai_platform-v1 0.2.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -0
  3. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +3 -3
  4. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +17 -0
  5. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +3 -0
  6. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  7. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +2 -1
  8. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +2 -1
  9. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +2 -1
  10. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +2 -1
  11. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +2 -1
  12. data/lib/google/cloud/aiplatform/v1/context_pb.rb +2 -1
  13. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +4 -1
  14. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +2 -1
  15. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +2 -1
  16. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +2 -1
  17. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +2 -1
  18. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +2 -1
  19. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +2 -1
  20. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +2 -1
  21. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +2 -1
  22. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +2 -1
  23. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +2 -1
  24. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +2 -1
  25. data/lib/google/cloud/aiplatform/v1/event_pb.rb +2 -1
  26. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +2 -1
  27. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +3 -1
  28. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +2 -1
  29. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +2 -1
  30. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +2 -1
  31. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +2 -1
  32. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +2 -1
  33. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +8 -1
  34. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +2 -1
  35. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +2 -1
  36. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -1
  37. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +2 -1
  38. data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -1
  39. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +2 -1
  40. data/lib/google/cloud/aiplatform/v1/io_pb.rb +2 -1
  41. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +2 -1
  42. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +1 -0
  43. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +2 -1
  44. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +8 -1
  45. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +2 -1
  46. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +2 -1
  47. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +2 -1
  48. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -1
  49. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +2 -1
  50. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +2 -1
  51. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +8 -1
  52. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +4 -1
  53. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +2 -1
  54. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +2 -1
  55. data/lib/google/cloud/aiplatform/v1/model_pb.rb +2 -1
  56. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +2 -1
  57. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +2 -1
  58. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -0
  59. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +10 -1
  60. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +2 -1
  61. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +2 -1
  62. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +2 -1
  63. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +2 -1
  64. data/lib/google/cloud/aiplatform/v1/study_pb.rb +11 -1
  65. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +2 -1
  66. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +2 -1
  67. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +2 -1
  68. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +2 -1
  69. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +2 -1
  70. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +2 -1
  71. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +2 -1
  72. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +2 -1
  73. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +2 -1
  74. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +13 -0
  75. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +4 -4
  76. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +3 -4
  77. data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +3 -0
  78. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +6 -9
  79. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +39 -16
  80. data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +2 -6
  81. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +1 -1
  82. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +4 -4
  83. data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +7 -0
  84. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +23 -0
  85. data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +1 -1
  86. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +3 -3
  87. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +16 -0
  88. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +9 -0
  89. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +3 -1
  90. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +17 -0
  91. data/proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb +45 -0
  92. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +33 -1
  93. data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +3 -0
  94. data/proto_docs/google/cloud/aiplatform/v1/study.rb +54 -0
  95. data/proto_docs/google/protobuf/any.rb +3 -3
  96. data/proto_docs/google/protobuf/struct.rb +2 -2
  97. metadata +5 -3
@@ -187,6 +187,9 @@ module Google
187
187
  # @!attribute [rw] median_automated_stopping_spec
188
188
  # @return [::Google::Cloud::AIPlatform::V1::StudySpec::MedianAutomatedStoppingSpec]
189
189
  # The automated early stopping spec using median rule.
190
+ # @!attribute [rw] convex_automated_stopping_spec
191
+ # @return [::Google::Cloud::AIPlatform::V1::StudySpec::ConvexAutomatedStoppingSpec]
192
+ # The automated early stopping spec using convex stopping rule.
190
193
  # @!attribute [rw] metrics
191
194
  # @return [::Array<::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec>]
192
195
  # Required. Metric specs for the Study.
@@ -448,6 +451,57 @@ module Google
448
451
  extend ::Google::Protobuf::MessageExts::ClassMethods
449
452
  end
450
453
 
454
+ # Configuration for ConvexAutomatedStoppingSpec.
455
+ # When there are enough completed trials (configured by
456
+ # min_measurement_count), for pending trials with enough measurements and
457
+ # steps, the policy first computes an overestimate of the objective value at
458
+ # max_num_steps according to the slope of the incomplete objective value
459
+ # curve. No prediction can be made if the curve is completely flat. If the
460
+ # overestimation is worse than the best objective value of the completed
461
+ # trials, this pending trial will be early-stopped, but a last measurement
462
+ # will be added to the pending trial with max_num_steps and predicted
463
+ # objective value from the autoregression model.
464
+ # @!attribute [rw] max_step_count
465
+ # @return [::Integer]
466
+ # Steps used in predicting the final objective for early stopped trials. In
467
+ # general, it's set to be the same as the defined steps in training /
468
+ # tuning. If not defined, it will learn it from the completed trials. When
469
+ # use_steps is false, this field is set to the maximum elapsed seconds.
470
+ # @!attribute [rw] min_step_count
471
+ # @return [::Integer]
472
+ # Minimum number of steps for a trial to complete. Trials which do not have
473
+ # a measurement with step_count > min_step_count won't be considered for
474
+ # early stopping. It's ok to set it to 0, and a trial can be early stopped
475
+ # at any stage. By default, min_step_count is set to be one-tenth of the
476
+ # max_step_count.
477
+ # When use_elapsed_duration is true, this field is set to the minimum
478
+ # elapsed seconds.
479
+ # @!attribute [rw] min_measurement_count
480
+ # @return [::Integer]
481
+ # The minimal number of measurements in a Trial. Early-stopping checks
482
+ # will not trigger if less than min_measurement_count+1 completed trials or
483
+ # pending trials with less than min_measurement_count measurements. If not
484
+ # defined, the default value is 5.
485
+ # @!attribute [rw] learning_rate_parameter_name
486
+ # @return [::String]
487
+ # The hyper-parameter name used in the tuning job that stands for learning
488
+ # rate. Leave it blank if learning rate is not in a parameter in tuning.
489
+ # The learning_rate is used to estimate the objective value of the ongoing
490
+ # trial.
491
+ # @!attribute [rw] use_elapsed_duration
492
+ # @return [::Boolean]
493
+ # This bool determines whether or not the rule is applied based on
494
+ # elapsed_secs or steps. If use_elapsed_duration==false, the early stopping
495
+ # decision is made according to the predicted objective values according to
496
+ # the target steps. If use_elapsed_duration==true, elapsed_secs is used
497
+ # instead of steps. Also, in this case, the parameters max_num_steps and
498
+ # min_num_steps are overloaded to contain max_elapsed_seconds and
499
+ # min_elapsed_seconds.
500
+ class ConvexAutomatedStoppingSpec
501
+ include ::Google::Protobuf::MessageExts
502
+ extend ::Google::Protobuf::MessageExts::ClassMethods
503
+ end
504
+
451
505
  # The available search algorithms for the Study.
452
506
  module Algorithm
453
507
  # The default algorithm used by Vertex AI for [hyperparameter
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
@@ -46,8 +46,8 @@ module Google
46
46
 
47
47
  # `Value` represents a dynamically typed value which can be either
48
48
  # null, a number, a string, a boolean, a recursive struct value, or a
49
- # list of values. A producer of value is expected to set one of that
50
- # variants, absence of any variant indicates an error.
49
+ # list of values. A producer of value is expected to set one of these
50
+ # variants. Absence of any variant indicates an error.
51
51
  #
52
52
  # The JSON representation for `Value` is JSON value.
53
53
  # @!attribute [rw] null_value
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.2.0
4
+ version: 0.5.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: 2022-03-30 00:00:00.000000000 Z
11
+ date: 2022-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -309,6 +309,7 @@ files:
309
309
  - lib/google/cloud/aiplatform/v1/model_service_pb.rb
310
310
  - lib/google/cloud/aiplatform/v1/model_service_services_pb.rb
311
311
  - lib/google/cloud/aiplatform/v1/operation_pb.rb
312
+ - lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb
312
313
  - lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb
313
314
  - lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb
314
315
  - lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb
@@ -390,6 +391,7 @@ files:
390
391
  - proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb
391
392
  - proto_docs/google/cloud/aiplatform/v1/model_service.rb
392
393
  - proto_docs/google/cloud/aiplatform/v1/operation.rb
394
+ - proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb
393
395
  - proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb
394
396
  - proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb
395
397
  - proto_docs/google/cloud/aiplatform/v1/pipeline_state.rb
@@ -474,7 +476,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
474
476
  - !ruby/object:Gem::Version
475
477
  version: '0'
476
478
  requirements: []
477
- rubygems_version: 3.3.5
479
+ rubygems_version: 3.3.14
478
480
  signing_key:
479
481
  specification_version: 4
480
482
  summary: API Client library for the Vertex AI V1 API