google-apis-aiplatform_v1beta1 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dce9f109f172515a8882be0432b1ee3a04ae4e4ac2e98089bb2e39db3e56892a
4
- data.tar.gz: c0c400a9f9046cd5f30f22e6b3b98d3c7537e94716bacfc7e9776b67edfb6703
3
+ metadata.gz: cb4fa65410cb2d55e9ab55154b5ba0e3c65c66818028fa7589dc3ef85b5eac5f
4
+ data.tar.gz: ca09437eb7d44f20fcd334d9bbee81cfef693fd75f7a34fc97cf8c2fd6e2ff88
5
5
  SHA512:
6
- metadata.gz: 60c9e3ac9c837b2c7ff2ba7ca11f62d29fb2ed865b84705538b73a1431a367ba4e88baec457517daf5a7bf7cf199297384be30d660462500210acd706f9e41be
7
- data.tar.gz: 4a28822f4d28bd165393e4b0eb94e4892af74cd012b1c8dba832833143d2f48e5bb850d135c4ec0f98ca00bb8fee88ff4ab3afc5efd754dd35f98759968e2954
6
+ metadata.gz: 2881f50d63236b69b370a64b0f93c4bf771bc5d46a596af0bcecf68da6642e2829a7afc0af5441a2b0cf5716eae5ef300e10d02fb7599021561e523cc040a0db
7
+ data.tar.gz: a51077036393dd17cfcf752389134ea34cf00a09e9d80f3deed6f35b0e1f6395278cedfa5240da952355d54073ebb1b0e1ab1ea68e87f90d86c4166306b81a28
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.8.0 (2023-10-29)
4
+
5
+ * Regenerated from discovery document revision 20231023
6
+
3
7
  ### v0.7.0 (2023-10-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20231012
@@ -3078,9 +3078,8 @@ module Google
3078
3078
  attr_accessor :persistent_resource_id
3079
3079
 
3080
3080
  # The ID of the location to store protected artifacts. e.g. us-central1.
3081
- # Populate only when the location is different than CustomJob location. For
3082
- # unprotected artifacts, the value of this field is ignored. List of supported
3083
- # locations: https://cloud.google.com/vertex-ai/docs/general/locations
3081
+ # Populate only when the location is different than CustomJob location. List of
3082
+ # supported locations: https://cloud.google.com/vertex-ai/docs/general/locations
3084
3083
  # Corresponds to the JSON property `protectedArtifactLocationId`
3085
3084
  # @return [String]
3086
3085
  attr_accessor :protected_artifact_location_id
@@ -23521,7 +23520,7 @@ module Google
23521
23520
  end
23522
23521
  end
23523
23522
 
23524
- # A message representing a Study.
23523
+ # A message representing a Study. Next id: 12
23525
23524
  class GoogleCloudAiplatformV1beta1Study
23526
23525
  include Google::Apis::Core::Hashable
23527
23526
 
@@ -23639,6 +23638,12 @@ module Google
23639
23638
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpec>]
23640
23639
  attr_accessor :parameters
23641
23640
 
23641
+ # The configuration (stopping conditions) for automated stopping of a Study.
23642
+ # Conditions include trial budgets, time budgets, and convergence detection.
23643
+ # Corresponds to the JSON property `studyStoppingConfig`
23644
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig]
23645
+ attr_accessor :study_stopping_config
23646
+
23642
23647
  # This contains flag for manually disabling transfer learning for a study. The
23643
23648
  # names of prior studies being used for transfer learning (if any) are also
23644
23649
  # listed here.
@@ -23661,6 +23666,7 @@ module Google
23661
23666
  @metrics = args[:metrics] if args.key?(:metrics)
23662
23667
  @observation_noise = args[:observation_noise] if args.key?(:observation_noise)
23663
23668
  @parameters = args[:parameters] if args.key?(:parameters)
23669
+ @study_stopping_config = args[:study_stopping_config] if args.key?(:study_stopping_config)
23664
23670
  @transfer_learning_config = args[:transfer_learning_config] if args.key?(:transfer_learning_config)
23665
23671
  end
23666
23672
  end
@@ -24204,6 +24210,68 @@ module Google
24204
24210
  end
24205
24211
  end
24206
24212
 
24213
+ # The configuration (stopping conditions) for automated stopping of a Study.
24214
+ # Conditions include trial budgets, time budgets, and convergence detection.
24215
+ class GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig
24216
+ include Google::Apis::Core::Hashable
24217
+
24218
+ # If the objective value has not improved for this much time, stop the study.
24219
+ # WARNING: Effective only for single-objective studies.
24220
+ # Corresponds to the JSON property `maxDurationNoProgress`
24221
+ # @return [String]
24222
+ attr_accessor :max_duration_no_progress
24223
+
24224
+ # If there are more than this many trials, stop the study.
24225
+ # Corresponds to the JSON property `maxNumTrials`
24226
+ # @return [Fixnum]
24227
+ attr_accessor :max_num_trials
24228
+
24229
+ # If the objective value has not improved for this many consecutive trials, stop
24230
+ # the study. WARNING: Effective only for single-objective studies.
24231
+ # Corresponds to the JSON property `maxNumTrialsNoProgress`
24232
+ # @return [Fixnum]
24233
+ attr_accessor :max_num_trials_no_progress
24234
+
24235
+ # Time-based Constraint for Study
24236
+ # Corresponds to the JSON property `maximumRuntimeConstraint`
24237
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudyTimeConstraint]
24238
+ attr_accessor :maximum_runtime_constraint
24239
+
24240
+ # If there are fewer than this many COMPLETED trials, do not stop the study.
24241
+ # Corresponds to the JSON property `minNumTrials`
24242
+ # @return [Fixnum]
24243
+ attr_accessor :min_num_trials
24244
+
24245
+ # Time-based Constraint for Study
24246
+ # Corresponds to the JSON property `minimumRuntimeConstraint`
24247
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudyTimeConstraint]
24248
+ attr_accessor :minimum_runtime_constraint
24249
+
24250
+ # If true, a Study enters STOPPING_ASAP whenever it would normally enters
24251
+ # STOPPING state. The bottom line is: set to true if you want to interrupt on-
24252
+ # going evaluations of Trials as soon as the study stopping condition is met. (
24253
+ # Please see Study.State documentation for the source of truth).
24254
+ # Corresponds to the JSON property `shouldStopAsap`
24255
+ # @return [Boolean]
24256
+ attr_accessor :should_stop_asap
24257
+ alias_method :should_stop_asap?, :should_stop_asap
24258
+
24259
+ def initialize(**args)
24260
+ update!(**args)
24261
+ end
24262
+
24263
+ # Update properties of this object
24264
+ def update!(**args)
24265
+ @max_duration_no_progress = args[:max_duration_no_progress] if args.key?(:max_duration_no_progress)
24266
+ @max_num_trials = args[:max_num_trials] if args.key?(:max_num_trials)
24267
+ @max_num_trials_no_progress = args[:max_num_trials_no_progress] if args.key?(:max_num_trials_no_progress)
24268
+ @maximum_runtime_constraint = args[:maximum_runtime_constraint] if args.key?(:maximum_runtime_constraint)
24269
+ @min_num_trials = args[:min_num_trials] if args.key?(:min_num_trials)
24270
+ @minimum_runtime_constraint = args[:minimum_runtime_constraint] if args.key?(:minimum_runtime_constraint)
24271
+ @should_stop_asap = args[:should_stop_asap] if args.key?(:should_stop_asap)
24272
+ end
24273
+ end
24274
+
24207
24275
  # This contains flag for manually disabling transfer learning for a study. The
24208
24276
  # names of prior studies being used for transfer learning (if any) are also
24209
24277
  # listed here.
@@ -24234,6 +24302,31 @@ module Google
24234
24302
  end
24235
24303
  end
24236
24304
 
24305
+ # Time-based Constraint for Study
24306
+ class GoogleCloudAiplatformV1beta1StudyTimeConstraint
24307
+ include Google::Apis::Core::Hashable
24308
+
24309
+ # Compares the wallclock time to this time. Must use UTC timezone.
24310
+ # Corresponds to the JSON property `endTime`
24311
+ # @return [String]
24312
+ attr_accessor :end_time
24313
+
24314
+ # Counts the wallclock time passed since the creation of this Study.
24315
+ # Corresponds to the JSON property `maxDuration`
24316
+ # @return [String]
24317
+ attr_accessor :max_duration
24318
+
24319
+ def initialize(**args)
24320
+ update!(**args)
24321
+ end
24322
+
24323
+ # Update properties of this object
24324
+ def update!(**args)
24325
+ @end_time = args[:end_time] if args.key?(:end_time)
24326
+ @max_duration = args[:max_duration] if args.key?(:max_duration)
24327
+ end
24328
+ end
24329
+
24237
24330
  # Details of operations that perform Trials suggestion.
24238
24331
  class GoogleCloudAiplatformV1beta1SuggestTrialsMetadata
24239
24332
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1beta1
18
18
  # Version of the google-apis-aiplatform_v1beta1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231012"
25
+ REVISION = "20231023"
26
26
  end
27
27
  end
28
28
  end
@@ -4036,12 +4036,24 @@ module Google
4036
4036
  include Google::Apis::Core::JsonObjectSupport
4037
4037
  end
4038
4038
 
4039
+ class GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig
4040
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4041
+
4042
+ include Google::Apis::Core::JsonObjectSupport
4043
+ end
4044
+
4039
4045
  class GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig
4040
4046
  class Representation < Google::Apis::Core::JsonRepresentation; end
4041
4047
 
4042
4048
  include Google::Apis::Core::JsonObjectSupport
4043
4049
  end
4044
4050
 
4051
+ class GoogleCloudAiplatformV1beta1StudyTimeConstraint
4052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4053
+
4054
+ include Google::Apis::Core::JsonObjectSupport
4055
+ end
4056
+
4045
4057
  class GoogleCloudAiplatformV1beta1SuggestTrialsMetadata
4046
4058
  class Representation < Google::Apis::Core::JsonRepresentation; end
4047
4059
 
@@ -11050,6 +11062,8 @@ module Google
11050
11062
  property :observation_noise, as: 'observationNoise'
11051
11063
  collection :parameters, as: 'parameters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpec::Representation
11052
11064
 
11065
+ property :study_stopping_config, as: 'studyStoppingConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig::Representation
11066
+
11053
11067
  property :transfer_learning_config, as: 'transferLearningConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig::Representation
11054
11068
 
11055
11069
  end
@@ -11197,6 +11211,21 @@ module Google
11197
11211
  end
11198
11212
  end
11199
11213
 
11214
+ class GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig
11215
+ # @private
11216
+ class Representation < Google::Apis::Core::JsonRepresentation
11217
+ property :max_duration_no_progress, as: 'maxDurationNoProgress'
11218
+ property :max_num_trials, as: 'maxNumTrials'
11219
+ property :max_num_trials_no_progress, as: 'maxNumTrialsNoProgress'
11220
+ property :maximum_runtime_constraint, as: 'maximumRuntimeConstraint', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudyTimeConstraint, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudyTimeConstraint::Representation
11221
+
11222
+ property :min_num_trials, as: 'minNumTrials'
11223
+ property :minimum_runtime_constraint, as: 'minimumRuntimeConstraint', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudyTimeConstraint, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudyTimeConstraint::Representation
11224
+
11225
+ property :should_stop_asap, as: 'shouldStopAsap'
11226
+ end
11227
+ end
11228
+
11200
11229
  class GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig
11201
11230
  # @private
11202
11231
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11205,6 +11234,14 @@ module Google
11205
11234
  end
11206
11235
  end
11207
11236
 
11237
+ class GoogleCloudAiplatformV1beta1StudyTimeConstraint
11238
+ # @private
11239
+ class Representation < Google::Apis::Core::JsonRepresentation
11240
+ property :end_time, as: 'endTime'
11241
+ property :max_duration, as: 'maxDuration'
11242
+ end
11243
+ end
11244
+
11208
11245
  class GoogleCloudAiplatformV1beta1SuggestTrialsMetadata
11209
11246
  # @private
11210
11247
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-22 00:00:00.000000000 Z
11
+ date: 2023-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []