google-cloud-ai_platform-v1 0.18.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +36 -46
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +20 -22
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +6 -6
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +176 -68
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +24 -26
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +16 -18
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +777 -60
- data/lib/google/cloud/ai_platform/v1/job_service/credentials.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +40 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +52 -62
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +8 -10
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +254 -42
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +16 -20
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +16 -18
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +50 -60
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +12 -14
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +17 -21
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +12 -14
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +9 -0
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +63 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +49 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_services_pb.rb +11 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +46 -0
- data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +26 -0
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -0
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -0
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +31 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +12 -2
- data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +123 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +25 -0
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +6 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +14 -1
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +8 -2
- data/proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb +190 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +9 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -8
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +128 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +10 -3
- data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +166 -0
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +2 -5
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +31 -11
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +6 -5
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +131 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +83 -0
- data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +306 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +5 -0
- data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +39 -0
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +22 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -1
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +19 -11
@@ -0,0 +1,306 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AIPlatform
|
23
|
+
module V1
|
24
|
+
# Represents a Neural Architecture Search (NAS) job.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. Resource name of the NasJob.
|
28
|
+
# @!attribute [rw] display_name
|
29
|
+
# @return [::String]
|
30
|
+
# Required. The display name of the NasJob.
|
31
|
+
# The name can be up to 128 characters long and can consist of any UTF-8
|
32
|
+
# characters.
|
33
|
+
# @!attribute [rw] nas_job_spec
|
34
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasJobSpec]
|
35
|
+
# Required. The specification of a NasJob.
|
36
|
+
# @!attribute [r] nas_job_output
|
37
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasJobOutput]
|
38
|
+
# Output only. Output of the NasJob.
|
39
|
+
# @!attribute [r] state
|
40
|
+
# @return [::Google::Cloud::AIPlatform::V1::JobState]
|
41
|
+
# Output only. The detailed state of the job.
|
42
|
+
# @!attribute [r] create_time
|
43
|
+
# @return [::Google::Protobuf::Timestamp]
|
44
|
+
# Output only. Time when the NasJob was created.
|
45
|
+
# @!attribute [r] start_time
|
46
|
+
# @return [::Google::Protobuf::Timestamp]
|
47
|
+
# Output only. Time when the NasJob for the first time entered the
|
48
|
+
# `JOB_STATE_RUNNING` state.
|
49
|
+
# @!attribute [r] end_time
|
50
|
+
# @return [::Google::Protobuf::Timestamp]
|
51
|
+
# Output only. Time when the NasJob entered any of the following states:
|
52
|
+
# `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
|
53
|
+
# @!attribute [r] update_time
|
54
|
+
# @return [::Google::Protobuf::Timestamp]
|
55
|
+
# Output only. Time when the NasJob was most recently updated.
|
56
|
+
# @!attribute [r] error
|
57
|
+
# @return [::Google::Rpc::Status]
|
58
|
+
# Output only. Only populated when job's state is JOB_STATE_FAILED or
|
59
|
+
# JOB_STATE_CANCELLED.
|
60
|
+
# @!attribute [rw] labels
|
61
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
62
|
+
# The labels with user-defined metadata to organize NasJobs.
|
63
|
+
#
|
64
|
+
# Label keys and values can be no longer than 64 characters
|
65
|
+
# (Unicode codepoints), can only contain lowercase letters, numeric
|
66
|
+
# characters, underscores and dashes. International characters are allowed.
|
67
|
+
#
|
68
|
+
# See https://goo.gl/xmQnxf for more information and examples of labels.
|
69
|
+
# @!attribute [rw] encryption_spec
|
70
|
+
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
71
|
+
# Customer-managed encryption key options for a NasJob.
|
72
|
+
# If this is set, then all resources created by the NasJob
|
73
|
+
# will be encrypted with the provided encryption key.
|
74
|
+
# @!attribute [rw] enable_restricted_image_training
|
75
|
+
# @return [::Boolean]
|
76
|
+
# Optional. Enable a separation of Custom model training
|
77
|
+
# and restricted image training for tenant project.
|
78
|
+
class NasJob
|
79
|
+
include ::Google::Protobuf::MessageExts
|
80
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
81
|
+
|
82
|
+
# @!attribute [rw] key
|
83
|
+
# @return [::String]
|
84
|
+
# @!attribute [rw] value
|
85
|
+
# @return [::String]
|
86
|
+
class LabelsEntry
|
87
|
+
include ::Google::Protobuf::MessageExts
|
88
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# Represents a NasTrial details along with it's parameters. If there is a
|
93
|
+
# corresponding train NasTrial, the train NasTrial is also returned.
|
94
|
+
# @!attribute [r] name
|
95
|
+
# @return [::String]
|
96
|
+
# Output only. Resource name of the NasTrialDetail.
|
97
|
+
# @!attribute [rw] parameters
|
98
|
+
# @return [::String]
|
99
|
+
# The parameters for the NasJob NasTrial.
|
100
|
+
# @!attribute [rw] search_trial
|
101
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasTrial]
|
102
|
+
# The requested search NasTrial.
|
103
|
+
# @!attribute [rw] train_trial
|
104
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasTrial]
|
105
|
+
# The train NasTrial corresponding to
|
106
|
+
# {::Google::Cloud::AIPlatform::V1::NasTrialDetail#search_trial search_trial}.
|
107
|
+
# Only populated if
|
108
|
+
# {::Google::Cloud::AIPlatform::V1::NasTrialDetail#search_trial search_trial} is
|
109
|
+
# used for training.
|
110
|
+
class NasTrialDetail
|
111
|
+
include ::Google::Protobuf::MessageExts
|
112
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
|
+
end
|
114
|
+
|
115
|
+
# Represents the spec of a NasJob.
|
116
|
+
# @!attribute [rw] multi_trial_algorithm_spec
|
117
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec]
|
118
|
+
# The spec of multi-trial algorithms.
|
119
|
+
# @!attribute [rw] resume_nas_job_id
|
120
|
+
# @return [::String]
|
121
|
+
# The ID of the existing NasJob in the same Project and Location
|
122
|
+
# which will be used to resume search. search_space_spec and
|
123
|
+
# nas_algorithm_spec are obtained from previous NasJob hence should not
|
124
|
+
# provide them again for this NasJob.
|
125
|
+
# @!attribute [rw] search_space_spec
|
126
|
+
# @return [::String]
|
127
|
+
# It defines the search space for Neural Architecture Search (NAS).
|
128
|
+
class NasJobSpec
|
129
|
+
include ::Google::Protobuf::MessageExts
|
130
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
131
|
+
|
132
|
+
# The spec of multi-trial Neural Architecture Search (NAS).
|
133
|
+
# @!attribute [rw] multi_trial_algorithm
|
134
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::MultiTrialAlgorithm]
|
135
|
+
# The multi-trial Neural Architecture Search (NAS) algorithm
|
136
|
+
# type. Defaults to `REINFORCEMENT_LEARNING`.
|
137
|
+
# @!attribute [rw] metric
|
138
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::MetricSpec]
|
139
|
+
# Metric specs for the NAS job.
|
140
|
+
# Validation for this field is done at `multi_trial_algorithm_spec` field.
|
141
|
+
# @!attribute [rw] search_trial_spec
|
142
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::SearchTrialSpec]
|
143
|
+
# Required. Spec for search trials.
|
144
|
+
# @!attribute [rw] train_trial_spec
|
145
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::TrainTrialSpec]
|
146
|
+
# Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
|
147
|
+
# search trials will be trained for every M
|
148
|
+
# [TrainTrialSpec.frequency] trials searched.
|
149
|
+
class MultiTrialAlgorithmSpec
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
|
153
|
+
# Represents a metric to optimize.
|
154
|
+
# @!attribute [rw] metric_id
|
155
|
+
# @return [::String]
|
156
|
+
# Required. The ID of the metric. Must not contain whitespaces.
|
157
|
+
# @!attribute [rw] goal
|
158
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::MetricSpec::GoalType]
|
159
|
+
# Required. The optimization goal of the metric.
|
160
|
+
class MetricSpec
|
161
|
+
include ::Google::Protobuf::MessageExts
|
162
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
163
|
+
|
164
|
+
# The available types of optimization goals.
|
165
|
+
module GoalType
|
166
|
+
# Goal Type will default to maximize.
|
167
|
+
GOAL_TYPE_UNSPECIFIED = 0
|
168
|
+
|
169
|
+
# Maximize the goal metric.
|
170
|
+
MAXIMIZE = 1
|
171
|
+
|
172
|
+
# Minimize the goal metric.
|
173
|
+
MINIMIZE = 2
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
# Represent spec for search trials.
|
178
|
+
# @!attribute [rw] search_trial_job_spec
|
179
|
+
# @return [::Google::Cloud::AIPlatform::V1::CustomJobSpec]
|
180
|
+
# Required. The spec of a search trial job. The same spec applies to
|
181
|
+
# all search trials.
|
182
|
+
# @!attribute [rw] max_trial_count
|
183
|
+
# @return [::Integer]
|
184
|
+
# Required. The maximum number of Neural Architecture Search (NAS) trials
|
185
|
+
# to run.
|
186
|
+
# @!attribute [rw] max_parallel_trial_count
|
187
|
+
# @return [::Integer]
|
188
|
+
# Required. The maximum number of trials to run in parallel.
|
189
|
+
# @!attribute [rw] max_failed_trial_count
|
190
|
+
# @return [::Integer]
|
191
|
+
# The number of failed trials that need to be seen before failing
|
192
|
+
# the NasJob.
|
193
|
+
#
|
194
|
+
# If set to 0, Vertex AI decides how many trials must fail
|
195
|
+
# before the whole job fails.
|
196
|
+
class SearchTrialSpec
|
197
|
+
include ::Google::Protobuf::MessageExts
|
198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
199
|
+
end
|
200
|
+
|
201
|
+
# Represent spec for train trials.
|
202
|
+
# @!attribute [rw] train_trial_job_spec
|
203
|
+
# @return [::Google::Cloud::AIPlatform::V1::CustomJobSpec]
|
204
|
+
# Required. The spec of a train trial job. The same spec applies to
|
205
|
+
# all train trials.
|
206
|
+
# @!attribute [rw] max_parallel_trial_count
|
207
|
+
# @return [::Integer]
|
208
|
+
# Required. The maximum number of trials to run in parallel.
|
209
|
+
# @!attribute [rw] frequency
|
210
|
+
# @return [::Integer]
|
211
|
+
# Required. Frequency of search trials to start train stage. Top N
|
212
|
+
# [TrainTrialSpec.max_parallel_trial_count]
|
213
|
+
# search trials will be trained for every M
|
214
|
+
# [TrainTrialSpec.frequency] trials searched.
|
215
|
+
class TrainTrialSpec
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
219
|
+
|
220
|
+
# The available types of multi-trial algorithms.
|
221
|
+
module MultiTrialAlgorithm
|
222
|
+
# Defaults to `REINFORCEMENT_LEARNING`.
|
223
|
+
MULTI_TRIAL_ALGORITHM_UNSPECIFIED = 0
|
224
|
+
|
225
|
+
# The Reinforcement Learning Algorithm for Multi-trial Neural
|
226
|
+
# Architecture Search (NAS).
|
227
|
+
REINFORCEMENT_LEARNING = 1
|
228
|
+
|
229
|
+
# The Grid Search Algorithm for Multi-trial Neural
|
230
|
+
# Architecture Search (NAS).
|
231
|
+
GRID_SEARCH = 2
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
# Represents a uCAIP NasJob output.
|
237
|
+
# @!attribute [r] multi_trial_job_output
|
238
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasJobOutput::MultiTrialJobOutput]
|
239
|
+
# Output only. The output of this multi-trial Neural Architecture Search
|
240
|
+
# (NAS) job.
|
241
|
+
class NasJobOutput
|
242
|
+
include ::Google::Protobuf::MessageExts
|
243
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
244
|
+
|
245
|
+
# The output of a multi-trial Neural Architecture Search (NAS) jobs.
|
246
|
+
# @!attribute [r] search_trials
|
247
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::NasTrial>]
|
248
|
+
# Output only. List of NasTrials that were started as part of search stage.
|
249
|
+
# @!attribute [r] train_trials
|
250
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::NasTrial>]
|
251
|
+
# Output only. List of NasTrials that were started as part of train stage.
|
252
|
+
class MultiTrialJobOutput
|
253
|
+
include ::Google::Protobuf::MessageExts
|
254
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
# Represents a uCAIP NasJob trial.
|
259
|
+
# @!attribute [r] id
|
260
|
+
# @return [::String]
|
261
|
+
# Output only. The identifier of the NasTrial assigned by the service.
|
262
|
+
# @!attribute [r] state
|
263
|
+
# @return [::Google::Cloud::AIPlatform::V1::NasTrial::State]
|
264
|
+
# Output only. The detailed state of the NasTrial.
|
265
|
+
# @!attribute [r] final_measurement
|
266
|
+
# @return [::Google::Cloud::AIPlatform::V1::Measurement]
|
267
|
+
# Output only. The final measurement containing the objective value.
|
268
|
+
# @!attribute [r] start_time
|
269
|
+
# @return [::Google::Protobuf::Timestamp]
|
270
|
+
# Output only. Time when the NasTrial was started.
|
271
|
+
# @!attribute [r] end_time
|
272
|
+
# @return [::Google::Protobuf::Timestamp]
|
273
|
+
# Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
|
274
|
+
# `INFEASIBLE`.
|
275
|
+
class NasTrial
|
276
|
+
include ::Google::Protobuf::MessageExts
|
277
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
278
|
+
|
279
|
+
# Describes a NasTrial state.
|
280
|
+
module State
|
281
|
+
# The NasTrial state is unspecified.
|
282
|
+
STATE_UNSPECIFIED = 0
|
283
|
+
|
284
|
+
# Indicates that a specific NasTrial has been requested, but it has not yet
|
285
|
+
# been suggested by the service.
|
286
|
+
REQUESTED = 1
|
287
|
+
|
288
|
+
# Indicates that the NasTrial has been suggested.
|
289
|
+
ACTIVE = 2
|
290
|
+
|
291
|
+
# Indicates that the NasTrial should stop according to the service.
|
292
|
+
STOPPING = 3
|
293
|
+
|
294
|
+
# Indicates that the NasTrial is completed successfully.
|
295
|
+
SUCCEEDED = 4
|
296
|
+
|
297
|
+
# Indicates that the NasTrial should not be attempted again.
|
298
|
+
# The service will set a NasTrial to INFEASIBLE when it's done but missing
|
299
|
+
# the final_measurement.
|
300
|
+
INFEASIBLE = 5
|
301
|
+
end
|
302
|
+
end
|
303
|
+
end
|
304
|
+
end
|
305
|
+
end
|
306
|
+
end
|
@@ -419,6 +419,11 @@ module Google
|
|
419
419
|
# @return [::String]
|
420
420
|
# Output only. The name of the
|
421
421
|
# {::Google::Cloud::AIPlatform::V1::CustomJob CustomJob}.
|
422
|
+
# @!attribute [r] failed_jobs
|
423
|
+
# @return [::Array<::String>]
|
424
|
+
# Output only. The names of the previously failed
|
425
|
+
# {::Google::Cloud::AIPlatform::V1::CustomJob CustomJob}. The list includes the
|
426
|
+
# all attempts in chronological order.
|
422
427
|
class CustomJobDetail
|
423
428
|
include ::Google::Protobuf::MessageExts
|
424
429
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AIPlatform
|
23
|
+
module V1
|
24
|
+
# Represents configuration for private service connect.
|
25
|
+
# @!attribute [rw] enable_private_service_connect
|
26
|
+
# @return [::Boolean]
|
27
|
+
# Required. If true, expose the IndexEndpoint via private service connect.
|
28
|
+
# @!attribute [rw] project_allowlist
|
29
|
+
# @return [::Array<::String>]
|
30
|
+
# A list of Projects from which the forwarding rule will target the service
|
31
|
+
# attachment.
|
32
|
+
class PrivateServiceConnectConfig
|
33
|
+
include ::Google::Protobuf::MessageExts
|
34
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -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.
|
@@ -58,7 +58,8 @@ module Google
|
|
58
58
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
59
|
end
|
60
60
|
|
61
|
-
# Response message for
|
61
|
+
# Response message for
|
62
|
+
# {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#read_tensorboard_usage TensorboardService.ReadTensorboardUsage}.
|
62
63
|
# @!attribute [rw] monthly_usage_data
|
63
64
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse::PerMonthUsageData}]
|
64
65
|
# Maps year-month (YYYYMM) string to per month usage data.
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
23
|
+
# Timestamp end (exclusive).
|
24
|
+
#
|
25
|
+
# The start must be less than or equal to the end.
|
26
|
+
# When the start equals the end, the interval is empty (matches no time).
|
27
|
+
# When both start and end are unspecified, the interval matches any time.
|
28
|
+
# @!attribute [rw] start_time
|
29
|
+
# @return [::Google::Protobuf::Timestamp]
|
30
|
+
# Optional. Inclusive start of the interval.
|
31
|
+
#
|
32
|
+
# If specified, a Timestamp matching this interval will have to be the same
|
33
|
+
# or after the start.
|
34
|
+
# @!attribute [rw] end_time
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
36
|
+
# Optional. Exclusive end of the interval.
|
37
|
+
#
|
38
|
+
# If specified, a Timestamp matching this interval will have to be before the
|
39
|
+
# end.
|
40
|
+
class Interval
|
41
|
+
include ::Google::Protobuf::MessageExts
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
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.20.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-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.4'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.a
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
63
|
+
version: '0.4'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
@@ -70,7 +70,7 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '0.
|
73
|
+
version: '0.4'
|
74
74
|
- - "<"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 2.a
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0.
|
83
|
+
version: '0.4'
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 2.a
|
@@ -90,14 +90,14 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.26.
|
93
|
+
version: 1.26.3
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: 1.26.
|
100
|
+
version: 1.26.3
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: minitest
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -307,6 +307,7 @@ files:
|
|
307
307
|
- lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb
|
308
308
|
- lib/google/cloud/aiplatform/v1/entity_type_pb.rb
|
309
309
|
- lib/google/cloud/aiplatform/v1/env_var_pb.rb
|
310
|
+
- lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb
|
310
311
|
- lib/google/cloud/aiplatform/v1/event_pb.rb
|
311
312
|
- lib/google/cloud/aiplatform/v1/execution_pb.rb
|
312
313
|
- lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb
|
@@ -348,6 +349,7 @@ files:
|
|
348
349
|
- lib/google/cloud/aiplatform/v1/model_pb.rb
|
349
350
|
- lib/google/cloud/aiplatform/v1/model_service_pb.rb
|
350
351
|
- lib/google/cloud/aiplatform/v1/model_service_services_pb.rb
|
352
|
+
- lib/google/cloud/aiplatform/v1/nas_job_pb.rb
|
351
353
|
- lib/google/cloud/aiplatform/v1/operation_pb.rb
|
352
354
|
- lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb
|
353
355
|
- lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb
|
@@ -357,6 +359,7 @@ files:
|
|
357
359
|
- lib/google/cloud/aiplatform/v1/prediction_service_pb.rb
|
358
360
|
- lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb
|
359
361
|
- lib/google/cloud/aiplatform/v1/saved_query_pb.rb
|
362
|
+
- lib/google/cloud/aiplatform/v1/service_networking_pb.rb
|
360
363
|
- lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb
|
361
364
|
- lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb
|
362
365
|
- lib/google/cloud/aiplatform/v1/specialist_pool_service_services_pb.rb
|
@@ -400,6 +403,7 @@ files:
|
|
400
403
|
- proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb
|
401
404
|
- proto_docs/google/cloud/aiplatform/v1/entity_type.rb
|
402
405
|
- proto_docs/google/cloud/aiplatform/v1/env_var.rb
|
406
|
+
- proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb
|
403
407
|
- proto_docs/google/cloud/aiplatform/v1/event.rb
|
404
408
|
- proto_docs/google/cloud/aiplatform/v1/execution.rb
|
405
409
|
- proto_docs/google/cloud/aiplatform/v1/explanation.rb
|
@@ -433,6 +437,7 @@ files:
|
|
433
437
|
- proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb
|
434
438
|
- proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb
|
435
439
|
- proto_docs/google/cloud/aiplatform/v1/model_service.rb
|
440
|
+
- proto_docs/google/cloud/aiplatform/v1/nas_job.rb
|
436
441
|
- proto_docs/google/cloud/aiplatform/v1/operation.rb
|
437
442
|
- proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb
|
438
443
|
- proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb
|
@@ -476,6 +481,7 @@ files:
|
|
476
481
|
- proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.rb
|
477
482
|
- proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.rb
|
478
483
|
- proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.rb
|
484
|
+
- proto_docs/google/cloud/aiplatform/v1/service_networking.rb
|
479
485
|
- proto_docs/google/cloud/aiplatform/v1/specialist_pool.rb
|
480
486
|
- proto_docs/google/cloud/aiplatform/v1/specialist_pool_service.rb
|
481
487
|
- proto_docs/google/cloud/aiplatform/v1/study.rb
|
@@ -501,6 +507,7 @@ files:
|
|
501
507
|
- proto_docs/google/protobuf/wrappers.rb
|
502
508
|
- proto_docs/google/rpc/status.rb
|
503
509
|
- proto_docs/google/type/expr.rb
|
510
|
+
- proto_docs/google/type/interval.rb
|
504
511
|
- proto_docs/google/type/money.rb
|
505
512
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
506
513
|
licenses:
|
@@ -524,5 +531,6 @@ requirements: []
|
|
524
531
|
rubygems_version: 3.4.2
|
525
532
|
signing_key:
|
526
533
|
specification_version: 4
|
527
|
-
summary:
|
534
|
+
summary: Train high-quality custom machine learning models with minimal machine learning
|
535
|
+
expertise and effort.
|
528
536
|
test_files: []
|