google-cloud-ai_platform-v1 0.9.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +192 -0
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +47 -42
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +4 -1
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +18 -14
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +30 -0
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +16 -0
- data/lib/google/cloud/aiplatform/v1/index_service_services_pb.rb +4 -0
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +7 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +1 -0
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +2 -0
- data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +88 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +40 -0
- data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +47 -42
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +2 -4
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +4 -1
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +26 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +18 -13
- data/proto_docs/google/cloud/aiplatform/v1/saved_query.rb +1 -0
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +7 -7
- data/proto_docs/google/cloud/aiplatform/v1/types.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/vizier_service.rb +1 -1
- metadata +2 -2
@@ -108,7 +108,7 @@ module Google
|
|
108
108
|
end
|
109
109
|
|
110
110
|
# Represents the spec of a CustomJob.
|
111
|
-
# Next Id:
|
111
|
+
# Next Id: 15
|
112
112
|
# @!attribute [rw] worker_pool_specs
|
113
113
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::WorkerPoolSpec>]
|
114
114
|
# Required. The spec of the worker pools including machine type and Docker image.
|
@@ -126,7 +126,7 @@ module Google
|
|
126
126
|
# for the CustomJob's project is used.
|
127
127
|
# @!attribute [rw] network
|
128
128
|
# @return [::String]
|
129
|
-
# The full name of the Compute Engine
|
129
|
+
# Optional. The full name of the Compute Engine
|
130
130
|
# [network](/compute/docs/networks-and-firewalls#networks) to which the Job
|
131
131
|
# should be peered. For example, `projects/12345/global/networks/myVPC`.
|
132
132
|
# [Format](/compute/docs/reference/rest/v1/networks/insert)
|
@@ -91,6 +91,7 @@ module Google
|
|
91
91
|
# * A key including a space must be quoted. `labels."a key"`.
|
92
92
|
#
|
93
93
|
# Some examples:
|
94
|
+
#
|
94
95
|
# * `displayName="myDisplayName"`
|
95
96
|
# * `labels.myKey="myValue"`
|
96
97
|
# @!attribute [rw] page_size
|
@@ -107,6 +108,7 @@ module Google
|
|
107
108
|
# A comma-separated list of fields to order by, sorted in ascending order.
|
108
109
|
# Use "desc" after a field name for descending.
|
109
110
|
# Supported fields:
|
111
|
+
#
|
110
112
|
# * `display_name`
|
111
113
|
# * `create_time`
|
112
114
|
# * `update_time`
|
@@ -188,7 +188,7 @@ module Google
|
|
188
188
|
# Required. Parameters that configure explaining of the Model's predictions.
|
189
189
|
# @!attribute [rw] metadata
|
190
190
|
# @return [::Google::Cloud::AIPlatform::V1::ExplanationMetadata]
|
191
|
-
#
|
191
|
+
# Optional. Metadata describing the Model's input and output for explanation.
|
192
192
|
class ExplanationSpec
|
193
193
|
include ::Google::Protobuf::MessageExts
|
194
194
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -231,7 +231,7 @@ module Google
|
|
231
231
|
# explaining.
|
232
232
|
#
|
233
233
|
# If not populated, returns attributions for {::Google::Cloud::AIPlatform::V1::ExplanationParameters#top_k top_k} indices of outputs.
|
234
|
-
# If neither top_k nor
|
234
|
+
# If neither top_k nor output_indices is populated, returns the argmax
|
235
235
|
# index of the outputs.
|
236
236
|
#
|
237
237
|
# Only applicable to Models that predict multiple outputs (e,g, multi-class
|
@@ -79,6 +79,13 @@ module Google
|
|
79
79
|
# timestamp, yet that does not mean their results are not already reflected
|
80
80
|
# in the Index. Result of any successfully completed Operation on the Index
|
81
81
|
# is reflected in it.
|
82
|
+
# @!attribute [r] index_stats
|
83
|
+
# @return [::Google::Cloud::AIPlatform::V1::IndexStats]
|
84
|
+
# Output only. Stats of the index resource.
|
85
|
+
# @!attribute [rw] index_update_method
|
86
|
+
# @return [::Google::Cloud::AIPlatform::V1::Index::IndexUpdateMethod]
|
87
|
+
# Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
|
88
|
+
# used by default.
|
82
89
|
class Index
|
83
90
|
include ::Google::Protobuf::MessageExts
|
84
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -91,6 +98,87 @@ module Google
|
|
91
98
|
include ::Google::Protobuf::MessageExts
|
92
99
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
93
100
|
end
|
101
|
+
|
102
|
+
# The update method of an Index.
|
103
|
+
module IndexUpdateMethod
|
104
|
+
# Should not be used.
|
105
|
+
INDEX_UPDATE_METHOD_UNSPECIFIED = 0
|
106
|
+
|
107
|
+
# BatchUpdate: user can call UpdateIndex with files on Cloud Storage of
|
108
|
+
# datapoints to update.
|
109
|
+
BATCH_UPDATE = 1
|
110
|
+
|
111
|
+
# StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update
|
112
|
+
# the Index and the updates will be applied in corresponding
|
113
|
+
# DeployedIndexes in nearly real-time.
|
114
|
+
STREAM_UPDATE = 2
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
# A datapoint of Index.
|
119
|
+
# @!attribute [rw] datapoint_id
|
120
|
+
# @return [::String]
|
121
|
+
# Required. Unique identifier of the datapoint.
|
122
|
+
# @!attribute [rw] feature_vector
|
123
|
+
# @return [::Array<::Float>]
|
124
|
+
# Required. Feature embedding vector. An array of numbers with the length of
|
125
|
+
# [NearestNeighborSearchConfig.dimensions].
|
126
|
+
# @!attribute [rw] restricts
|
127
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint::Restriction>]
|
128
|
+
# Optional. List of Restrict of the datapoint, used to perform "restricted searches"
|
129
|
+
# where boolean rule are used to filter the subset of the database eligible
|
130
|
+
# for matching.
|
131
|
+
# See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
|
132
|
+
# @!attribute [rw] crowding_tag
|
133
|
+
# @return [::Google::Cloud::AIPlatform::V1::IndexDatapoint::CrowdingTag]
|
134
|
+
# Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
|
135
|
+
# crowding can be configured during query.
|
136
|
+
class IndexDatapoint
|
137
|
+
include ::Google::Protobuf::MessageExts
|
138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
139
|
+
|
140
|
+
# Restriction of a datapoint which describe its attributes(tokens) from each
|
141
|
+
# of several attribute categories(namespaces).
|
142
|
+
# @!attribute [rw] namespace
|
143
|
+
# @return [::String]
|
144
|
+
# The namespace of this restriction. eg: color.
|
145
|
+
# @!attribute [rw] allow_list
|
146
|
+
# @return [::Array<::String>]
|
147
|
+
# The attributes to allow in this namespace. eg: 'red'
|
148
|
+
# @!attribute [rw] deny_list
|
149
|
+
# @return [::Array<::String>]
|
150
|
+
# The attributes to deny in this namespace. eg: 'blue'
|
151
|
+
class Restriction
|
152
|
+
include ::Google::Protobuf::MessageExts
|
153
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
154
|
+
end
|
155
|
+
|
156
|
+
# Crowding tag is a constraint on a neighbor list produced by nearest
|
157
|
+
# neighbor search requiring that no more than some value k' of the k
|
158
|
+
# neighbors returned have the same value of crowding_attribute.
|
159
|
+
# @!attribute [rw] crowding_attribute
|
160
|
+
# @return [::String]
|
161
|
+
# The attribute value used for crowding. The maximum number of neighbors
|
162
|
+
# to return per crowding attribute value
|
163
|
+
# (per_crowding_attribute_num_neighbors) is configured per-query. This
|
164
|
+
# field is ignored if per_crowding_attribute_num_neighbors is larger than
|
165
|
+
# the total number of neighbors to return for a given query.
|
166
|
+
class CrowdingTag
|
167
|
+
include ::Google::Protobuf::MessageExts
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
# Stats of the Index.
|
173
|
+
# @!attribute [r] vectors_count
|
174
|
+
# @return [::Integer]
|
175
|
+
# Output only. The number of vectors in the Index.
|
176
|
+
# @!attribute [r] shards_count
|
177
|
+
# @return [::Integer]
|
178
|
+
# Output only. The number of shards in the Index.
|
179
|
+
class IndexStats
|
180
|
+
include ::Google::Protobuf::MessageExts
|
181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
94
182
|
end
|
95
183
|
end
|
96
184
|
end
|
@@ -131,6 +131,46 @@ module Google
|
|
131
131
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
132
132
|
end
|
133
133
|
|
134
|
+
# Request message for {::Google::Cloud::AIPlatform::V1::IndexService::Client#upsert_datapoints IndexService.UpsertDatapoints}
|
135
|
+
# @!attribute [rw] index
|
136
|
+
# @return [::String]
|
137
|
+
# Required. The name of the Index resource to be updated.
|
138
|
+
# Format:
|
139
|
+
# `projects/{project}/locations/{location}/indexes/{index}`
|
140
|
+
# @!attribute [rw] datapoints
|
141
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint>]
|
142
|
+
# A list of datapoints to be created/updated.
|
143
|
+
class UpsertDatapointsRequest
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
end
|
147
|
+
|
148
|
+
# Response message for {::Google::Cloud::AIPlatform::V1::IndexService::Client#upsert_datapoints IndexService.UpsertDatapoints}
|
149
|
+
class UpsertDatapointsResponse
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
end
|
153
|
+
|
154
|
+
# Request message for {::Google::Cloud::AIPlatform::V1::IndexService::Client#remove_datapoints IndexService.RemoveDatapoints}
|
155
|
+
# @!attribute [rw] index
|
156
|
+
# @return [::String]
|
157
|
+
# Required. The name of the Index resource to be updated.
|
158
|
+
# Format:
|
159
|
+
# `projects/{project}/locations/{location}/indexes/{index}`
|
160
|
+
# @!attribute [rw] datapoint_ids
|
161
|
+
# @return [::Array<::String>]
|
162
|
+
# A list of datapoint ids to be deleted.
|
163
|
+
class RemoveDatapointsRequest
|
164
|
+
include ::Google::Protobuf::MessageExts
|
165
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
166
|
+
end
|
167
|
+
|
168
|
+
# Response message for {::Google::Cloud::AIPlatform::V1::IndexService::Client#remove_datapoints IndexService.RemoveDatapoints}
|
169
|
+
class RemoveDatapointsResponse
|
170
|
+
include ::Google::Protobuf::MessageExts
|
171
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
172
|
+
end
|
173
|
+
|
134
174
|
# Runtime operation metadata with regard to Matching Engine Index.
|
135
175
|
# @!attribute [rw] content_validation_stats
|
136
176
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::NearestNeighborSearchOperationMetadata::ContentValidationStats>]
|
@@ -56,19 +56,17 @@ module Google
|
|
56
56
|
#
|
57
57
|
# Supported fields:
|
58
58
|
#
|
59
|
-
# * `display_name` supports
|
60
|
-
#
|
61
|
-
# * `
|
59
|
+
# * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
|
60
|
+
# * `state` supports `=`, `!=` comparisons.
|
61
|
+
# * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
|
62
|
+
# `create_time` must be in RFC 3339 format.
|
62
63
|
#
|
63
64
|
# Some examples of using the filter are:
|
64
65
|
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
# * `NOT display_name="my_job"`
|
70
|
-
#
|
71
|
-
# * `state="JOB_STATE_FAILED"`
|
66
|
+
# * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
|
67
|
+
# * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
|
68
|
+
# * `NOT display_name="my_job"`
|
69
|
+
# * `create_time>"2021-05-18T00:00:00Z"`
|
72
70
|
# @!attribute [rw] page_size
|
73
71
|
# @return [::Integer]
|
74
72
|
# The standard list page size.
|
@@ -156,19 +154,17 @@ module Google
|
|
156
154
|
#
|
157
155
|
# Supported fields:
|
158
156
|
#
|
159
|
-
# * `display_name` supports
|
160
|
-
#
|
161
|
-
# * `
|
157
|
+
# * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
|
158
|
+
# * `state` supports `=`, `!=` comparisons.
|
159
|
+
# * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
|
160
|
+
# `create_time` must be in RFC 3339 format.
|
162
161
|
#
|
163
162
|
# Some examples of using the filter are:
|
164
163
|
#
|
165
|
-
#
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
# * `NOT display_name="my_job"`
|
170
|
-
#
|
171
|
-
# * `state="JOB_STATE_FAILED"`
|
164
|
+
# * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
|
165
|
+
# * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
|
166
|
+
# * `NOT display_name="my_job"`
|
167
|
+
# * `create_time>"2021-05-18T00:00:00Z"`
|
172
168
|
# @!attribute [rw] page_size
|
173
169
|
# @return [::Integer]
|
174
170
|
# The standard list page size.
|
@@ -261,19 +257,17 @@ module Google
|
|
261
257
|
#
|
262
258
|
# Supported fields:
|
263
259
|
#
|
264
|
-
# * `display_name` supports
|
265
|
-
#
|
266
|
-
# * `
|
260
|
+
# * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
|
261
|
+
# * `state` supports `=`, `!=` comparisons.
|
262
|
+
# * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
|
263
|
+
# `create_time` must be in RFC 3339 format.
|
267
264
|
#
|
268
265
|
# Some examples of using the filter are:
|
269
266
|
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
#
|
274
|
-
# * `NOT display_name="my_job"`
|
275
|
-
#
|
276
|
-
# * `state="JOB_STATE_FAILED"`
|
267
|
+
# * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
|
268
|
+
# * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
|
269
|
+
# * `NOT display_name="my_job"`
|
270
|
+
# * `create_time>"2021-05-18T00:00:00Z"`
|
277
271
|
# @!attribute [rw] page_size
|
278
272
|
# @return [::Integer]
|
279
273
|
# The standard list page size.
|
@@ -363,21 +357,18 @@ module Google
|
|
363
357
|
#
|
364
358
|
# Supported fields:
|
365
359
|
#
|
366
|
-
# * `display_name` supports
|
367
|
-
#
|
368
|
-
# * `state` supports
|
369
|
-
#
|
370
|
-
#
|
360
|
+
# * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
|
361
|
+
# * `model_display_name` supports `=`, `!=` comparisons.
|
362
|
+
# * `state` supports `=`, `!=` comparisons.
|
363
|
+
# * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
|
364
|
+
# `create_time` must be in RFC 3339 format.
|
371
365
|
#
|
372
366
|
# Some examples of using the filter are:
|
373
367
|
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
# * `NOT display_name="my_job"`
|
379
|
-
#
|
380
|
-
# * `state="JOB_STATE_FAILED"`
|
368
|
+
# * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
|
369
|
+
# * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
|
370
|
+
# * `NOT display_name="my_job"`
|
371
|
+
# * `create_time>"2021-05-18T00:00:00Z"`
|
381
372
|
# @!attribute [rw] page_size
|
382
373
|
# @return [::Integer]
|
383
374
|
# The standard list page size.
|
@@ -541,6 +532,20 @@ module Google
|
|
541
532
|
# @!attribute [rw] filter
|
542
533
|
# @return [::String]
|
543
534
|
# The standard list filter.
|
535
|
+
#
|
536
|
+
# Supported fields:
|
537
|
+
#
|
538
|
+
# * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
|
539
|
+
# * `state` supports `=`, `!=` comparisons.
|
540
|
+
# * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
|
541
|
+
# `create_time` must be in RFC 3339 format.
|
542
|
+
#
|
543
|
+
# Some examples of using the filter are:
|
544
|
+
#
|
545
|
+
# * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
|
546
|
+
# * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
|
547
|
+
# * `NOT display_name="my_job"`
|
548
|
+
# * `create_time>"2021-05-18T00:00:00Z"`
|
544
549
|
# @!attribute [rw] page_size
|
545
550
|
# @return [::Integer]
|
546
551
|
# The standard list page size.
|
@@ -313,6 +313,10 @@ module Google
|
|
313
313
|
# Resources that to large degree are decided by Vertex AI, and require
|
314
314
|
# only a modest additional configuration.
|
315
315
|
AUTOMATIC_RESOURCES = 2
|
316
|
+
|
317
|
+
# Resources that can be shared by multiple {::Google::Cloud::AIPlatform::V1::DeployedModel DeployedModels}.
|
318
|
+
# A pre-configured [DeploymentResourcePool][] is required.
|
319
|
+
SHARED_RESOURCES = 3
|
316
320
|
end
|
317
321
|
end
|
318
322
|
|
@@ -21,7 +21,8 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AIPlatform
|
23
23
|
module V1
|
24
|
-
#
|
24
|
+
# The objective configuration for model monitoring, including the information
|
25
|
+
# needed to detect anomalies for one particular model.
|
25
26
|
# @!attribute [rw] training_dataset
|
26
27
|
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig::TrainingDataset]
|
27
28
|
# Training dataset for models. This field has to be set only if
|
@@ -202,7 +203,6 @@ module Google
|
|
202
203
|
end
|
203
204
|
end
|
204
205
|
|
205
|
-
# Next ID: 3
|
206
206
|
# @!attribute [rw] email_alert_config
|
207
207
|
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringAlertConfig::EmailAlertConfig]
|
208
208
|
# Email alert config.
|
@@ -228,7 +228,6 @@ module Google
|
|
228
228
|
end
|
229
229
|
|
230
230
|
# The config for feature monitoring threshold.
|
231
|
-
# Next ID: 3
|
232
231
|
# @!attribute [rw] value
|
233
232
|
# @return [::Float]
|
234
233
|
# Specify a threshold value that can trigger the alert.
|
@@ -246,7 +245,6 @@ module Google
|
|
246
245
|
|
247
246
|
# Sampling Strategy for logging, can be for both training and prediction
|
248
247
|
# dataset.
|
249
|
-
# Next ID: 2
|
250
248
|
# @!attribute [rw] random_sample_config
|
251
249
|
# @return [::Google::Cloud::AIPlatform::V1::SamplingStrategy::RandomSampleConfig]
|
252
250
|
# Random sample config. Will support more sampling strategies later.
|
@@ -106,6 +106,7 @@ module Google
|
|
106
106
|
# * A key including a space must be quoted. `labels."a key"`.
|
107
107
|
#
|
108
108
|
# Some examples:
|
109
|
+
#
|
109
110
|
# * `model=1234`
|
110
111
|
# * `displayName="myDisplayName"`
|
111
112
|
# * `labels.myKey="myValue"`
|
@@ -126,6 +127,7 @@ module Google
|
|
126
127
|
# A comma-separated list of fields to order by, sorted in ascending order.
|
127
128
|
# Use "desc" after a field name for descending.
|
128
129
|
# Supported fields:
|
130
|
+
#
|
129
131
|
# * `display_name`
|
130
132
|
# * `create_time`
|
131
133
|
# * `update_time`
|
@@ -173,6 +175,7 @@ module Google
|
|
173
175
|
# * A key including a space must be quoted. `labels."a key"`.
|
174
176
|
#
|
175
177
|
# Some examples:
|
178
|
+
#
|
176
179
|
# * `labels.myKey="myValue"`
|
177
180
|
# @!attribute [rw] read_mask
|
178
181
|
# @return [::Google::Protobuf::FieldMask]
|
@@ -260,7 +263,7 @@ module Google
|
|
260
263
|
# @return [::Array<::String>]
|
261
264
|
# Required. The set of version aliases to merge.
|
262
265
|
# The alias should be at most 128 characters, and match
|
263
|
-
# `[a-z][a-
|
266
|
+
# `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
|
264
267
|
# Add the `-` prefix to an alias means removing that alias from the version.
|
265
268
|
# `-` is NOT counted in the 128 characters. Example: `-golden` means removing
|
266
269
|
# the `golden` alias from the version.
|
@@ -142,10 +142,27 @@ module Google
|
|
142
142
|
# However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it
|
143
143
|
# will stop scheduling any new tasks when a task has failed. Any scheduled
|
144
144
|
# tasks will continue to completion.
|
145
|
+
# @!attribute [rw] input_artifacts
|
146
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::PipelineJob::RuntimeConfig::InputArtifact}]
|
147
|
+
# The runtime artifacts of the PipelineJob. The key will be the input
|
148
|
+
# artifact name and the value would be one of the InputArtifact.
|
145
149
|
class RuntimeConfig
|
146
150
|
include ::Google::Protobuf::MessageExts
|
147
151
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
148
152
|
|
153
|
+
# The type of an input artifact.
|
154
|
+
# @!attribute [rw] artifact_id
|
155
|
+
# @return [::String]
|
156
|
+
# Artifact resource id from MLMD. Which is the last portion of an
|
157
|
+
# artifact resource
|
158
|
+
# name(projects/\\{project}/locations/\\{location}/metadataStores/default/artifacts/\\{artifact_id}).
|
159
|
+
# The artifact must stay within the same project, location and default
|
160
|
+
# metadatastore as the pipeline.
|
161
|
+
class InputArtifact
|
162
|
+
include ::Google::Protobuf::MessageExts
|
163
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
164
|
+
end
|
165
|
+
|
149
166
|
# @!attribute [rw] key
|
150
167
|
# @return [::String]
|
151
168
|
# @!attribute [rw] value
|
@@ -163,6 +180,15 @@ module Google
|
|
163
180
|
include ::Google::Protobuf::MessageExts
|
164
181
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
165
182
|
end
|
183
|
+
|
184
|
+
# @!attribute [rw] key
|
185
|
+
# @return [::String]
|
186
|
+
# @!attribute [rw] value
|
187
|
+
# @return [::Google::Cloud::AIPlatform::V1::PipelineJob::RuntimeConfig::InputArtifact]
|
188
|
+
class InputArtifactsEntry
|
189
|
+
include ::Google::Protobuf::MessageExts
|
190
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
191
|
+
end
|
166
192
|
end
|
167
193
|
|
168
194
|
# @!attribute [rw] key
|
@@ -53,21 +53,22 @@ module Google
|
|
53
53
|
# @!attribute [rw] filter
|
54
54
|
# @return [::String]
|
55
55
|
# The standard list filter.
|
56
|
-
# Supported fields:
|
57
56
|
#
|
58
|
-
#
|
57
|
+
# Supported fields:
|
59
58
|
#
|
60
|
-
# * `
|
59
|
+
# * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
|
60
|
+
# * `state` supports `=`, `!=` comparisons.
|
61
|
+
# * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard.
|
62
|
+
# * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
|
63
|
+
# `create_time` must be in RFC 3339 format.
|
61
64
|
#
|
62
65
|
# Some examples of using the filter are:
|
63
66
|
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
# * `state="PIPELINE_STATE_FAILED"`
|
67
|
+
# * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"`
|
68
|
+
# * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"`
|
69
|
+
# * `NOT display_name="my_pipeline"`
|
70
|
+
# * `create_time>"2021-05-18T00:00:00Z"`
|
71
|
+
# * `training_task_definition:"*automl_text_classification*"`
|
71
72
|
# @!attribute [rw] page_size
|
72
73
|
# @return [::Integer]
|
73
74
|
# The standard list page size.
|
@@ -165,8 +166,8 @@ module Google
|
|
165
166
|
# * `pipeline_name`: Supports `=` and `!=` comparisons.
|
166
167
|
# * `display_name`: Supports `=`, `!=` comparisons, and `:` wildcard.
|
167
168
|
# * `pipeline_job_user_id`: Supports `=`, `!=` comparisons, and `:` wildcard.
|
168
|
-
#
|
169
|
-
# display_name:\"*step*\"
|
169
|
+
# for example, can check if pipeline's display_name contains *step* by
|
170
|
+
# doing display_name:\"*step*\"
|
170
171
|
# * `state`: Supports `=` and `!=` comparisons.
|
171
172
|
# * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons.
|
172
173
|
# Values must be in RFC 3339 format.
|
@@ -177,7 +178,7 @@ module Google
|
|
177
178
|
# * `labels`: Supports key-value equality and key presence.
|
178
179
|
# * `template_uri`: Supports `=`, `!=` comparisons, and `:` wildcard.
|
179
180
|
# * `template_metadata.version`: Supports `=`, `!=` comparisons, and `:`
|
180
|
-
#
|
181
|
+
# wildcard.
|
181
182
|
#
|
182
183
|
# Filter expressions can be combined together using logical operators
|
183
184
|
# (`AND` & `OR`).
|
@@ -212,10 +213,14 @@ module Google
|
|
212
213
|
# there are multiple jobs having the same create time, order them by the end
|
213
214
|
# time in ascending order. if order_by is not specified, it will order by
|
214
215
|
# default order is create time in descending order. Supported fields:
|
216
|
+
#
|
215
217
|
# * `create_time`
|
216
218
|
# * `update_time`
|
217
219
|
# * `end_time`
|
218
220
|
# * `start_time`
|
221
|
+
# @!attribute [rw] read_mask
|
222
|
+
# @return [::Google::Protobuf::FieldMask]
|
223
|
+
# Mask specifying which fields to read.
|
219
224
|
class ListPipelineJobsRequest
|
220
225
|
include ::Google::Protobuf::MessageExts
|
221
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,7 +203,7 @@ module Google
|
|
203
203
|
# @return [::Google::Cloud::AIPlatform::V1::StudySpec::ObservationNoise]
|
204
204
|
# The observation noise level of the study.
|
205
205
|
# Currently only supported by the Vertex AI Vizier service. Not supported by
|
206
|
-
#
|
206
|
+
# HyperparameterTuningJob or TrainingPipeline.
|
207
207
|
# @!attribute [rw] measurement_selection_type
|
208
208
|
# @return [::Google::Cloud::AIPlatform::V1::StudySpec::MeasurementSelectionType]
|
209
209
|
# Describe which measurement selection type will be used
|
@@ -282,7 +282,7 @@ module Google
|
|
282
282
|
# offered starting point.
|
283
283
|
#
|
284
284
|
# Currently only supported by the Vertex AI Vizier service. Not supported
|
285
|
-
# by
|
285
|
+
# by HyperparameterTuningJob or TrainingPipeline.
|
286
286
|
class DoubleValueSpec
|
287
287
|
include ::Google::Protobuf::MessageExts
|
288
288
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -302,7 +302,7 @@ module Google
|
|
302
302
|
# offered starting point.
|
303
303
|
#
|
304
304
|
# Currently only supported by the Vertex AI Vizier service. Not supported
|
305
|
-
# by
|
305
|
+
# by HyperparameterTuningJob or TrainingPipeline.
|
306
306
|
class IntegerValueSpec
|
307
307
|
include ::Google::Protobuf::MessageExts
|
308
308
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -318,8 +318,8 @@ module Google
|
|
318
318
|
# relatively good starting point. Unset value signals that there is no
|
319
319
|
# offered starting point.
|
320
320
|
#
|
321
|
-
# Currently only supported by the Vizier service. Not supported
|
322
|
-
#
|
321
|
+
# Currently only supported by the Vertex AI Vizier service. Not supported
|
322
|
+
# by HyperparameterTuningJob or TrainingPipeline.
|
323
323
|
class CategoricalValueSpec
|
324
324
|
include ::Google::Protobuf::MessageExts
|
325
325
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -339,8 +339,8 @@ module Google
|
|
339
339
|
# offered starting point. It automatically rounds to the
|
340
340
|
# nearest feasible discrete point.
|
341
341
|
#
|
342
|
-
# Currently only supported by the Vizier service. Not supported
|
343
|
-
#
|
342
|
+
# Currently only supported by the Vertex AI Vizier service. Not supported
|
343
|
+
# by HyperparameterTuningJob or TrainingPipeline.
|
344
344
|
class DiscreteValueSpec
|
345
345
|
include ::Google::Protobuf::MessageExts
|
346
346
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
# A list of double values.
|
34
34
|
# @!attribute [rw] values
|
35
35
|
# @return [::Array<::Float>]
|
36
|
-
# A list of
|
36
|
+
# A list of double values.
|
37
37
|
class DoubleArray
|
38
38
|
include ::Google::Protobuf::MessageExts
|
39
39
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -106,7 +106,7 @@ module Google
|
|
106
106
|
# Format: `projects/{project}/locations/{location}/studies/{study}`
|
107
107
|
# @!attribute [rw] suggestion_count
|
108
108
|
# @return [::Integer]
|
109
|
-
# Required. The number of suggestions requested.
|
109
|
+
# Required. The number of suggestions requested. It must be positive.
|
110
110
|
# @!attribute [rw] client_id
|
111
111
|
# @return [::String]
|
112
112
|
# Required. The identifier of the client that is requesting the suggestion.
|
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.12.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-
|
11
|
+
date: 2022-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|