google-cloud-ai_platform-v1 0.19.0 → 0.21.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/README.md +2 -2
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +38 -48
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +32 -28
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +8 -8
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +179 -74
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +26 -28
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +18 -20
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +62 -78
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +54 -64
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +10 -12
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +137 -48
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +18 -22
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +2 -2
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +18 -20
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +52 -62
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +19 -23
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +14 -16
- 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/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 +2 -0
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +11 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +5 -2
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +1 -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/api/client.rb +57 -3
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -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 +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +10 -4
- 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 +129 -4
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +11 -1
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +2 -5
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +24 -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 +25 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -1
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +15 -11
|
@@ -0,0 +1,190 @@
|
|
|
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
|
+
# True positive, false positive, or false negative.
|
|
25
|
+
#
|
|
26
|
+
# EvaluatedAnnotation is only available under ModelEvaluationSlice with slice
|
|
27
|
+
# of `annotationSpec` dimension.
|
|
28
|
+
# @!attribute [r] type
|
|
29
|
+
# @return [::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation::EvaluatedAnnotationType]
|
|
30
|
+
# Output only. Type of the EvaluatedAnnotation.
|
|
31
|
+
# @!attribute [r] predictions
|
|
32
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
|
33
|
+
# Output only. The model predicted annotations.
|
|
34
|
+
#
|
|
35
|
+
# For true positive, there is one and only one prediction, which matches the
|
|
36
|
+
# only one ground truth annotation in
|
|
37
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#ground_truths ground_truths}.
|
|
38
|
+
#
|
|
39
|
+
# For false positive, there is one and only one prediction, which doesn't
|
|
40
|
+
# match any ground truth annotation of the corresponding
|
|
41
|
+
# [data_item_view_id][EvaluatedAnnotation.data_item_view_id].
|
|
42
|
+
#
|
|
43
|
+
# For false negative, there are zero or more predictions which are similar to
|
|
44
|
+
# the only ground truth annotation in
|
|
45
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#ground_truths ground_truths}
|
|
46
|
+
# but not enough for a match.
|
|
47
|
+
#
|
|
48
|
+
# The schema of the prediction is stored in
|
|
49
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluation#annotation_schema_uri ModelEvaluation.annotation_schema_uri}
|
|
50
|
+
# @!attribute [r] ground_truths
|
|
51
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
|
52
|
+
# Output only. The ground truth Annotations, i.e. the Annotations that exist
|
|
53
|
+
# in the test data the Model is evaluated on.
|
|
54
|
+
#
|
|
55
|
+
# For true positive, there is one and only one ground truth annotation, which
|
|
56
|
+
# matches the only prediction in
|
|
57
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#predictions predictions}.
|
|
58
|
+
#
|
|
59
|
+
# For false positive, there are zero or more ground truth annotations that
|
|
60
|
+
# are similar to the only prediction in
|
|
61
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#predictions predictions},
|
|
62
|
+
# but not enough for a match.
|
|
63
|
+
#
|
|
64
|
+
# For false negative, there is one and only one ground truth annotation,
|
|
65
|
+
# which doesn't match any predictions created by the model.
|
|
66
|
+
#
|
|
67
|
+
# The schema of the ground truth is stored in
|
|
68
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluation#annotation_schema_uri ModelEvaluation.annotation_schema_uri}
|
|
69
|
+
# @!attribute [r] data_item_payload
|
|
70
|
+
# @return [::Google::Protobuf::Value]
|
|
71
|
+
# Output only. The data item payload that the Model predicted this
|
|
72
|
+
# EvaluatedAnnotation on.
|
|
73
|
+
# @!attribute [r] evaluated_data_item_view_id
|
|
74
|
+
# @return [::String]
|
|
75
|
+
# Output only. ID of the EvaluatedDataItemView under the same ancestor
|
|
76
|
+
# ModelEvaluation. The EvaluatedDataItemView consists of all ground truths
|
|
77
|
+
# and predictions on
|
|
78
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#data_item_payload data_item_payload}.
|
|
79
|
+
#
|
|
80
|
+
# Can be passed in
|
|
81
|
+
# [GetEvaluatedDataItemView's][ModelService.GetEvaluatedDataItemView][]
|
|
82
|
+
# [id][GetEvaluatedDataItemViewRequest.id].
|
|
83
|
+
# @!attribute [rw] explanations
|
|
84
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::EvaluatedAnnotationExplanation>]
|
|
85
|
+
# Explanations of
|
|
86
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#predictions predictions}.
|
|
87
|
+
# Each element of the explanations indicates the explanation for one
|
|
88
|
+
# explanation Method.
|
|
89
|
+
#
|
|
90
|
+
# The attributions list in the
|
|
91
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotationExplanation#explanation EvaluatedAnnotationExplanation.explanation}
|
|
92
|
+
# object corresponds to the
|
|
93
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#predictions predictions}
|
|
94
|
+
# list. For example, the second element in the attributions list explains the
|
|
95
|
+
# second element in the predictions list.
|
|
96
|
+
# @!attribute [rw] error_analysis_annotations
|
|
97
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::ErrorAnalysisAnnotation>]
|
|
98
|
+
# Annotations of model error analysis results.
|
|
99
|
+
class EvaluatedAnnotation
|
|
100
|
+
include ::Google::Protobuf::MessageExts
|
|
101
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
102
|
+
|
|
103
|
+
# Describes the type of the EvaluatedAnnotation. The type is determined
|
|
104
|
+
module EvaluatedAnnotationType
|
|
105
|
+
# Invalid value.
|
|
106
|
+
EVALUATED_ANNOTATION_TYPE_UNSPECIFIED = 0
|
|
107
|
+
|
|
108
|
+
# The EvaluatedAnnotation is a true positive. It has a prediction created
|
|
109
|
+
# by the Model and a ground truth Annotation which the prediction matches.
|
|
110
|
+
TRUE_POSITIVE = 1
|
|
111
|
+
|
|
112
|
+
# The EvaluatedAnnotation is false positive. It has a prediction created by
|
|
113
|
+
# the Model which does not match any ground truth annotation.
|
|
114
|
+
FALSE_POSITIVE = 2
|
|
115
|
+
|
|
116
|
+
# The EvaluatedAnnotation is false negative. It has a ground truth
|
|
117
|
+
# annotation which is not matched by any of the model created predictions.
|
|
118
|
+
FALSE_NEGATIVE = 3
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Explanation result of the prediction produced by the Model.
|
|
123
|
+
# @!attribute [rw] explanation_type
|
|
124
|
+
# @return [::String]
|
|
125
|
+
# Explanation type.
|
|
126
|
+
#
|
|
127
|
+
# For AutoML Image Classification models, possible values are:
|
|
128
|
+
#
|
|
129
|
+
# * `image-integrated-gradients`
|
|
130
|
+
# * `image-xrai`
|
|
131
|
+
# @!attribute [rw] explanation
|
|
132
|
+
# @return [::Google::Cloud::AIPlatform::V1::Explanation]
|
|
133
|
+
# Explanation attribution response details.
|
|
134
|
+
class EvaluatedAnnotationExplanation
|
|
135
|
+
include ::Google::Protobuf::MessageExts
|
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Model error analysis for each annotation.
|
|
140
|
+
# @!attribute [rw] attributed_items
|
|
141
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::ErrorAnalysisAnnotation::AttributedItem>]
|
|
142
|
+
# Attributed items for a given annotation, typically representing neighbors
|
|
143
|
+
# from the training sets constrained by the query type.
|
|
144
|
+
# @!attribute [rw] query_type
|
|
145
|
+
# @return [::Google::Cloud::AIPlatform::V1::ErrorAnalysisAnnotation::QueryType]
|
|
146
|
+
# The query type used for finding the attributed items.
|
|
147
|
+
# @!attribute [rw] outlier_score
|
|
148
|
+
# @return [::Float]
|
|
149
|
+
# The outlier score of this annotated item. Usually defined as the min of all
|
|
150
|
+
# distances from attributed items.
|
|
151
|
+
# @!attribute [rw] outlier_threshold
|
|
152
|
+
# @return [::Float]
|
|
153
|
+
# The threshold used to determine if this annotation is an outlier or not.
|
|
154
|
+
class ErrorAnalysisAnnotation
|
|
155
|
+
include ::Google::Protobuf::MessageExts
|
|
156
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
157
|
+
|
|
158
|
+
# Attributed items for a given annotation, typically representing neighbors
|
|
159
|
+
# from the training sets constrained by the query type.
|
|
160
|
+
# @!attribute [rw] annotation_resource_name
|
|
161
|
+
# @return [::String]
|
|
162
|
+
# The unique ID for each annotation. Used by FE to allocate the annotation
|
|
163
|
+
# in DB.
|
|
164
|
+
# @!attribute [rw] distance
|
|
165
|
+
# @return [::Float]
|
|
166
|
+
# The distance of this item to the annotation.
|
|
167
|
+
class AttributedItem
|
|
168
|
+
include ::Google::Protobuf::MessageExts
|
|
169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# The query type used for finding the attributed items.
|
|
173
|
+
module QueryType
|
|
174
|
+
# Unspecified query type for model error analysis.
|
|
175
|
+
QUERY_TYPE_UNSPECIFIED = 0
|
|
176
|
+
|
|
177
|
+
# Query similar samples across all classes in the dataset.
|
|
178
|
+
ALL_SIMILAR = 1
|
|
179
|
+
|
|
180
|
+
# Query similar samples from the same class of the input sample.
|
|
181
|
+
SAME_CLASS_SIMILAR = 2
|
|
182
|
+
|
|
183
|
+
# Query dissimilar samples from the same class of the input sample.
|
|
184
|
+
SAME_CLASS_DISSIMILAR = 3
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
@@ -97,6 +97,15 @@ module Google
|
|
|
97
97
|
# @return [::Integer]
|
|
98
98
|
# The maximum number of nodes to scale up to. Must be greater than
|
|
99
99
|
# min_node_count, and less than or equal to 10 times of 'min_node_count'.
|
|
100
|
+
# @!attribute [rw] cpu_utilization_target
|
|
101
|
+
# @return [::Integer]
|
|
102
|
+
# Optional. The cpu utilization that the Autoscaler should be trying to
|
|
103
|
+
# achieve. This number is on a scale from 0 (no utilization) to 100
|
|
104
|
+
# (total utilization), and is limited between 10 and 80. When a cluster's
|
|
105
|
+
# CPU utilization exceeds the target that you have set, Bigtable
|
|
106
|
+
# immediately adds nodes to the cluster. When CPU utilization is
|
|
107
|
+
# substantially lower than the target, Bigtable removes nodes. If not set
|
|
108
|
+
# or set to 0, default to 50.
|
|
100
109
|
class Scaling
|
|
101
110
|
include ::Google::Protobuf::MessageExts
|
|
102
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -67,12 +67,6 @@ module Google
|
|
|
67
67
|
# @return [::Integer]
|
|
68
68
|
# Configuration of the snapshot analysis based monitoring pipeline
|
|
69
69
|
# running interval. The value indicates number of days.
|
|
70
|
-
# If both
|
|
71
|
-
# {::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::SnapshotAnalysis#monitoring_interval_days FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days}
|
|
72
|
-
# and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][]
|
|
73
|
-
# are set when creating/updating EntityTypes/Features,
|
|
74
|
-
# {::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::SnapshotAnalysis#monitoring_interval_days FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days}
|
|
75
|
-
# will be used.
|
|
76
70
|
# @!attribute [rw] staleness_days
|
|
77
71
|
# @return [::Integer]
|
|
78
72
|
# Customized export features time window for snapshot analysis. Unit is one
|
|
@@ -85,7 +79,9 @@ module Google
|
|
|
85
79
|
|
|
86
80
|
# Configuration of the Featurestore's ImportFeature Analysis Based
|
|
87
81
|
# Monitoring. This type of analysis generates statistics for values of each
|
|
88
|
-
# Feature imported by every
|
|
82
|
+
# Feature imported by every
|
|
83
|
+
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#import_feature_values ImportFeatureValues}
|
|
84
|
+
# operation.
|
|
89
85
|
# @!attribute [rw] state
|
|
90
86
|
# @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ImportFeaturesAnalysis::State]
|
|
91
87
|
# Whether to enable / disable / inherite default hebavior for import
|
|
@@ -123,7 +119,9 @@ module Google
|
|
|
123
119
|
end
|
|
124
120
|
|
|
125
121
|
# Defines the baseline to do anomaly detection for feature values imported
|
|
126
|
-
# by each
|
|
122
|
+
# by each
|
|
123
|
+
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#import_feature_values ImportFeatureValues}
|
|
124
|
+
# operation.
|
|
127
125
|
module Baseline
|
|
128
126
|
# Should not be used.
|
|
129
127
|
BASELINE_UNSPECIFIED = 0
|
|
@@ -316,10 +316,7 @@ module Google
|
|
|
316
316
|
# @!attribute [rw] entity_type_specs
|
|
317
317
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::BatchReadFeatureValuesRequest::EntityTypeSpec>]
|
|
318
318
|
# Required. Specifies EntityType grouping Features to read values of and
|
|
319
|
-
# settings.
|
|
320
|
-
# [BatchReadFeatureValuesRequest.entity_type_specs] must have a column
|
|
321
|
-
# specifying entity IDs in the EntityType in
|
|
322
|
-
# [BatchReadFeatureValuesRequest.request][] .
|
|
319
|
+
# settings.
|
|
323
320
|
# @!attribute [rw] start_time
|
|
324
321
|
# @return [::Google::Protobuf::Timestamp]
|
|
325
322
|
# Optional. Excludes Feature values with feature generation timestamp before
|
|
@@ -1009,6 +1006,15 @@ module Google
|
|
|
1009
1006
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1010
1007
|
end
|
|
1011
1008
|
|
|
1009
|
+
# Details of operations that delete Feature values.
|
|
1010
|
+
# @!attribute [rw] generic_metadata
|
|
1011
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
|
1012
|
+
# Operation metadata for Featurestore delete Features values.
|
|
1013
|
+
class DeleteFeatureValuesOperationMetadata
|
|
1014
|
+
include ::Google::Protobuf::MessageExts
|
|
1015
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1016
|
+
end
|
|
1017
|
+
|
|
1012
1018
|
# Details of operations that perform create EntityType.
|
|
1013
1019
|
# @!attribute [rw] generic_metadata
|
|
1014
1020
|
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
|
@@ -1035,6 +1041,125 @@ module Google
|
|
|
1035
1041
|
include ::Google::Protobuf::MessageExts
|
|
1036
1042
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1037
1043
|
end
|
|
1044
|
+
|
|
1045
|
+
# Request message for
|
|
1046
|
+
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#delete_feature_values FeaturestoreService.DeleteFeatureValues}.
|
|
1047
|
+
# @!attribute [rw] select_entity
|
|
1048
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest::SelectEntity]
|
|
1049
|
+
# Select feature values to be deleted by specifying entities.
|
|
1050
|
+
# @!attribute [rw] select_time_range_and_feature
|
|
1051
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest::SelectTimeRangeAndFeature]
|
|
1052
|
+
# Select feature values to be deleted by specifying time range and
|
|
1053
|
+
# features.
|
|
1054
|
+
# @!attribute [rw] entity_type
|
|
1055
|
+
# @return [::String]
|
|
1056
|
+
# Required. The resource name of the EntityType grouping the Features for
|
|
1057
|
+
# which values are being deleted from. Format:
|
|
1058
|
+
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
|
|
1059
|
+
class DeleteFeatureValuesRequest
|
|
1060
|
+
include ::Google::Protobuf::MessageExts
|
|
1061
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1062
|
+
|
|
1063
|
+
# Message to select entity.
|
|
1064
|
+
# If an entity id is selected, all the feature values corresponding to the
|
|
1065
|
+
# entity id will be deleted, including the entityId.
|
|
1066
|
+
# @!attribute [rw] entity_id_selector
|
|
1067
|
+
# @return [::Google::Cloud::AIPlatform::V1::EntityIdSelector]
|
|
1068
|
+
# Required. Selectors choosing feature values of which entity id to be
|
|
1069
|
+
# deleted from the EntityType.
|
|
1070
|
+
class SelectEntity
|
|
1071
|
+
include ::Google::Protobuf::MessageExts
|
|
1072
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1073
|
+
end
|
|
1074
|
+
|
|
1075
|
+
# Message to select time range and feature.
|
|
1076
|
+
# Values of the selected feature generated within an inclusive time range
|
|
1077
|
+
# will be deleted. Using this option permanently deletes the feature values
|
|
1078
|
+
# from the specified feature IDs within the specified time range.
|
|
1079
|
+
# This might include data from the online storage. If you want to retain
|
|
1080
|
+
# any deleted historical data in the online storage, you must re-ingest it.
|
|
1081
|
+
# @!attribute [rw] time_range
|
|
1082
|
+
# @return [::Google::Type::Interval]
|
|
1083
|
+
# Required. Select feature generated within a half-inclusive time range.
|
|
1084
|
+
# The time range is lower inclusive and upper exclusive.
|
|
1085
|
+
# @!attribute [rw] feature_selector
|
|
1086
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureSelector]
|
|
1087
|
+
# Required. Selectors choosing which feature values to be deleted from the
|
|
1088
|
+
# EntityType.
|
|
1089
|
+
# @!attribute [rw] skip_online_storage_delete
|
|
1090
|
+
# @return [::Boolean]
|
|
1091
|
+
# If set, data will not be deleted from online storage.
|
|
1092
|
+
# When time range is older than the data in online storage, setting this to
|
|
1093
|
+
# be true will make the deletion have no impact on online serving.
|
|
1094
|
+
class SelectTimeRangeAndFeature
|
|
1095
|
+
include ::Google::Protobuf::MessageExts
|
|
1096
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1097
|
+
end
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1100
|
+
# Response message for
|
|
1101
|
+
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#delete_feature_values FeaturestoreService.DeleteFeatureValues}.
|
|
1102
|
+
# @!attribute [rw] select_entity
|
|
1103
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesResponse::SelectEntity]
|
|
1104
|
+
# Response for request specifying the entities to delete
|
|
1105
|
+
# @!attribute [rw] select_time_range_and_feature
|
|
1106
|
+
# @return [::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesResponse::SelectTimeRangeAndFeature]
|
|
1107
|
+
# Response for request specifying time range and feature
|
|
1108
|
+
class DeleteFeatureValuesResponse
|
|
1109
|
+
include ::Google::Protobuf::MessageExts
|
|
1110
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1111
|
+
|
|
1112
|
+
# Response message if the request uses the SelectEntity option.
|
|
1113
|
+
# @!attribute [rw] offline_storage_deleted_entity_row_count
|
|
1114
|
+
# @return [::Integer]
|
|
1115
|
+
# The count of deleted entity rows in the offline storage.
|
|
1116
|
+
# Each row corresponds to the combination of an entity ID and a timestamp.
|
|
1117
|
+
# One entity ID can have multiple rows in the offline storage.
|
|
1118
|
+
# @!attribute [rw] online_storage_deleted_entity_count
|
|
1119
|
+
# @return [::Integer]
|
|
1120
|
+
# The count of deleted entities in the online storage.
|
|
1121
|
+
# Each entity ID corresponds to one entity.
|
|
1122
|
+
class SelectEntity
|
|
1123
|
+
include ::Google::Protobuf::MessageExts
|
|
1124
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1125
|
+
end
|
|
1126
|
+
|
|
1127
|
+
# Response message if the request uses the SelectTimeRangeAndFeature option.
|
|
1128
|
+
# @!attribute [rw] impacted_feature_count
|
|
1129
|
+
# @return [::Integer]
|
|
1130
|
+
# The count of the features or columns impacted.
|
|
1131
|
+
# This is the same as the feature count in the request.
|
|
1132
|
+
# @!attribute [rw] offline_storage_modified_entity_row_count
|
|
1133
|
+
# @return [::Integer]
|
|
1134
|
+
# The count of modified entity rows in the offline storage.
|
|
1135
|
+
# Each row corresponds to the combination of an entity ID and a timestamp.
|
|
1136
|
+
# One entity ID can have multiple rows in the offline storage.
|
|
1137
|
+
# Within each row, only the features specified in the request are
|
|
1138
|
+
# deleted.
|
|
1139
|
+
# @!attribute [rw] online_storage_modified_entity_count
|
|
1140
|
+
# @return [::Integer]
|
|
1141
|
+
# The count of modified entities in the online storage.
|
|
1142
|
+
# Each entity ID corresponds to one entity.
|
|
1143
|
+
# Within each entity, only the features specified in the request are
|
|
1144
|
+
# deleted.
|
|
1145
|
+
class SelectTimeRangeAndFeature
|
|
1146
|
+
include ::Google::Protobuf::MessageExts
|
|
1147
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1148
|
+
end
|
|
1149
|
+
end
|
|
1150
|
+
|
|
1151
|
+
# Selector for entityId. Getting ids from the given source.
|
|
1152
|
+
# @!attribute [rw] csv_source
|
|
1153
|
+
# @return [::Google::Cloud::AIPlatform::V1::CsvSource]
|
|
1154
|
+
# Source of Csv
|
|
1155
|
+
# @!attribute [rw] entity_id_field
|
|
1156
|
+
# @return [::String]
|
|
1157
|
+
# Source column that holds entity IDs. If not provided, entity IDs are
|
|
1158
|
+
# extracted from the column named `entity_id`.
|
|
1159
|
+
class EntityIdSelector
|
|
1160
|
+
include ::Google::Protobuf::MessageExts
|
|
1161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1162
|
+
end
|
|
1038
1163
|
end
|
|
1039
1164
|
end
|
|
1040
1165
|
end
|
|
@@ -92,6 +92,16 @@ module Google
|
|
|
92
92
|
# {::Google::Cloud::AIPlatform::V1::IndexEndpoint#network network} and
|
|
93
93
|
# {::Google::Cloud::AIPlatform::V1::IndexEndpoint#private_service_connect_config private_service_connect_config}
|
|
94
94
|
# are mutually exclusive.
|
|
95
|
+
# @!attribute [rw] public_endpoint_enabled
|
|
96
|
+
# @return [::Boolean]
|
|
97
|
+
# Optional. If true, the deployed index will be accessible through public
|
|
98
|
+
# endpoint.
|
|
99
|
+
# @!attribute [r] public_endpoint_domain_name
|
|
100
|
+
# @return [::String]
|
|
101
|
+
# Output only. If
|
|
102
|
+
# {::Google::Cloud::AIPlatform::V1::IndexEndpoint#public_endpoint_enabled public_endpoint_enabled}
|
|
103
|
+
# is true, this field will be populated with the domain name to use for this
|
|
104
|
+
# index endpoint.
|
|
95
105
|
class IndexEndpoint
|
|
96
106
|
include ::Google::Protobuf::MessageExts
|
|
97
107
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -198,7 +208,7 @@ module Google
|
|
|
198
208
|
# the index might be deployed to any ip ranges under the provided VPC
|
|
199
209
|
# network.
|
|
200
210
|
#
|
|
201
|
-
# The value
|
|
211
|
+
# The value should be the name of the address
|
|
202
212
|
# (https://cloud.google.com/compute/docs/reference/rest/v1/addresses)
|
|
203
213
|
# Example: 'vertex-ai-ip-range'.
|
|
204
214
|
# @!attribute [rw] deployment_group
|
|
@@ -54,11 +54,8 @@ module Google
|
|
|
54
54
|
# The job has expired.
|
|
55
55
|
JOB_STATE_EXPIRED = 9
|
|
56
56
|
|
|
57
|
-
# The job is being updated.
|
|
58
|
-
#
|
|
59
|
-
# the update operation fails, the job goes back to RUNNING state with error
|
|
60
|
-
# messages written to [ModelDeploymentMonitoringJob.partial_errors][] field
|
|
61
|
-
# if it is a ModelDeploymentMonitoringJob.
|
|
57
|
+
# The job is being updated. Only jobs in the `RUNNING` state can be updated.
|
|
58
|
+
# After updating, the job goes back to the `RUNNING` state.
|
|
62
59
|
JOB_STATE_UPDATING = 10
|
|
63
60
|
end
|
|
64
61
|
end
|
|
@@ -98,11 +98,11 @@ module Google
|
|
|
98
98
|
# deploying this Model. The specification is ingested upon
|
|
99
99
|
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#upload_model ModelService.UploadModel},
|
|
100
100
|
# and all binaries it contains are copied and stored internally by Vertex AI.
|
|
101
|
-
# Not present for AutoML Models.
|
|
101
|
+
# Not present for AutoML Models or Large Models.
|
|
102
102
|
# @!attribute [rw] artifact_uri
|
|
103
103
|
# @return [::String]
|
|
104
104
|
# Immutable. The path to the directory containing the Model artifact and any
|
|
105
|
-
# of its supporting files. Not present for AutoML Models.
|
|
105
|
+
# of its supporting files. Not present for AutoML Models or Large Models.
|
|
106
106
|
# @!attribute [r] supported_deployment_resources_types
|
|
107
107
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Model::DeploymentResourcesType>]
|
|
108
108
|
# Output only. When this Model is deployed, its prediction resources are
|
|
@@ -224,11 +224,13 @@ module Google
|
|
|
224
224
|
# @return [::Google::Cloud::AIPlatform::V1::ExplanationSpec]
|
|
225
225
|
# The default explanation specification for this Model.
|
|
226
226
|
#
|
|
227
|
-
# The Model can be used for
|
|
228
|
-
#
|
|
229
|
-
#
|
|
230
|
-
#
|
|
231
|
-
#
|
|
227
|
+
# The Model can be used for
|
|
228
|
+
# [requesting
|
|
229
|
+
# explanation][google.cloud.aiplatform.v1.PredictionService.Explain] after
|
|
230
|
+
# being {::Google::Cloud::AIPlatform::V1::EndpointService::Client#deploy_model deployed} if
|
|
231
|
+
# it is populated. The Model can be used for [batch
|
|
232
|
+
# explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation]
|
|
233
|
+
# if it is populated.
|
|
232
234
|
#
|
|
233
235
|
# All fields of the explanation_spec can be overridden by
|
|
234
236
|
# {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec}
|
|
@@ -239,13 +241,16 @@ module Google
|
|
|
239
241
|
# of {::Google::Cloud::AIPlatform::V1::BatchPredictionJob BatchPredictionJob}.
|
|
240
242
|
#
|
|
241
243
|
# If the default explanation specification is not set for this Model, this
|
|
242
|
-
# Model can still be used for
|
|
243
|
-
#
|
|
244
|
+
# Model can still be used for
|
|
245
|
+
# [requesting
|
|
246
|
+
# explanation][google.cloud.aiplatform.v1.PredictionService.Explain] by
|
|
247
|
+
# setting
|
|
244
248
|
# {::Google::Cloud::AIPlatform::V1::DeployedModel#explanation_spec explanation_spec}
|
|
245
249
|
# of
|
|
246
250
|
# {::Google::Cloud::AIPlatform::V1::DeployModelRequest#deployed_model DeployModelRequest.deployed_model}
|
|
247
|
-
# and for [batch
|
|
248
|
-
#
|
|
251
|
+
# and for [batch
|
|
252
|
+
# explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation]
|
|
253
|
+
# by setting
|
|
249
254
|
# {::Google::Cloud::AIPlatform::V1::BatchPredictionJob#explanation_spec explanation_spec}
|
|
250
255
|
# of {::Google::Cloud::AIPlatform::V1::BatchPredictionJob BatchPredictionJob}.
|
|
251
256
|
# @!attribute [rw] etag
|
|
@@ -662,6 +667,11 @@ module Google
|
|
|
662
667
|
# @!attribute [rw] source_type
|
|
663
668
|
# @return [::Google::Cloud::AIPlatform::V1::ModelSourceInfo::ModelSourceType]
|
|
664
669
|
# Type of the model source.
|
|
670
|
+
# @!attribute [rw] copy
|
|
671
|
+
# @return [::Boolean]
|
|
672
|
+
# If this Model is copy of another Model. If true then
|
|
673
|
+
# {::Google::Cloud::AIPlatform::V1::ModelSourceInfo#source_type source_type}
|
|
674
|
+
# pertains to the original.
|
|
665
675
|
class ModelSourceInfo
|
|
666
676
|
include ::Google::Protobuf::MessageExts
|
|
667
677
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -679,6 +689,9 @@ module Google
|
|
|
679
689
|
|
|
680
690
|
# The Model is registered and sync'ed from BigQuery ML.
|
|
681
691
|
BQML = 3
|
|
692
|
+
|
|
693
|
+
# The Model is saved or tuned from Model Garden.
|
|
694
|
+
MODEL_GARDEN = 4
|
|
682
695
|
end
|
|
683
696
|
end
|
|
684
697
|
end
|
|
@@ -52,8 +52,8 @@ module Google
|
|
|
52
52
|
# @return [::String]
|
|
53
53
|
# Points to a YAML file stored on Google Cloud Storage describing
|
|
54
54
|
# [EvaluatedDataItemView.data_item_payload][] and
|
|
55
|
-
#
|
|
56
|
-
# OpenAPI 3.0.2 [Schema
|
|
55
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#data_item_payload EvaluatedAnnotation.data_item_payload}.
|
|
56
|
+
# The schema is defined as an OpenAPI 3.0.2 [Schema
|
|
57
57
|
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
|
58
58
|
#
|
|
59
59
|
# This field is not populated if there are neither EvaluatedDataItemViews nor
|
|
@@ -63,9 +63,10 @@ module Google
|
|
|
63
63
|
# Points to a YAML file stored on Google Cloud Storage describing
|
|
64
64
|
# [EvaluatedDataItemView.predictions][],
|
|
65
65
|
# [EvaluatedDataItemView.ground_truths][],
|
|
66
|
-
#
|
|
67
|
-
#
|
|
68
|
-
#
|
|
66
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#predictions EvaluatedAnnotation.predictions},
|
|
67
|
+
# and
|
|
68
|
+
# {::Google::Cloud::AIPlatform::V1::EvaluatedAnnotation#ground_truths EvaluatedAnnotation.ground_truths}.
|
|
69
|
+
# The schema is defined as an OpenAPI 3.0.2 [Schema
|
|
69
70
|
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
|
70
71
|
#
|
|
71
72
|
# This field is not populated if there are neither EvaluatedDataItemViews nor
|