google-cloud-ai_platform-v1 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +10 -4
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +95 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/context_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +0 -3
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +7 -3
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/event_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/execution_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +13 -1
- data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +56 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +1 -2
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/io_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +8 -1
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +0 -2
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +5 -2
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/operation_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +0 -3
- data/lib/google/cloud/aiplatform/v1/types_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +0 -1
- data/lib/google/cloud/aiplatform/v1/value_pb.rb +0 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +24 -0
- data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +11 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +45 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +164 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +10 -3
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +50 -8
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +13 -0
- metadata +4 -2
@@ -210,6 +210,9 @@ module Google
|
|
210
210
|
# serving. The value must be positive, and less than or equal to 100.
|
211
211
|
# If not set, defaults to using 1 worker. The low count ensures minimal
|
212
212
|
# impact on online serving performance.
|
213
|
+
# @!attribute [rw] disable_ingestion_analysis
|
214
|
+
# @return [::Boolean]
|
215
|
+
# If true, API doesn't start ingestion analysis pipeline.
|
213
216
|
class ImportFeatureValuesRequest
|
214
217
|
include ::Google::Protobuf::MessageExts
|
215
218
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -578,7 +581,12 @@ module Google
|
|
578
581
|
# * `description`
|
579
582
|
# * `labels`
|
580
583
|
# * `monitoring_config.snapshot_analysis.disabled`
|
581
|
-
# * `monitoring_config.snapshot_analysis.
|
584
|
+
# * `monitoring_config.snapshot_analysis.monitoring_interval_days`
|
585
|
+
# * `monitoring_config.snapshot_analysis.staleness_days`
|
586
|
+
# * `monitoring_config.import_features_analysis.state`
|
587
|
+
# * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
|
588
|
+
# * `monitoring_config.numerical_threshold_config.value`
|
589
|
+
# * `monitoring_config.categorical_threshold_config.value`
|
582
590
|
class UpdateEntityTypeRequest
|
583
591
|
include ::Google::Protobuf::MessageExts
|
584
592
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -870,8 +878,7 @@ module Google
|
|
870
878
|
#
|
871
879
|
# * `description`
|
872
880
|
# * `labels`
|
873
|
-
# * `
|
874
|
-
# * `monitoring_config.snapshot_analysis.monitoring_interval`
|
881
|
+
# * `disable_monitoring`
|
875
882
|
class UpdateFeatureRequest
|
876
883
|
include ::Google::Protobuf::MessageExts
|
877
884
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -26,33 +26,75 @@ module Google
|
|
26
26
|
# @!attribute [r] name
|
27
27
|
# @return [::String]
|
28
28
|
# Output only. The resource name of the ModelEvaluation.
|
29
|
-
# @!attribute [
|
29
|
+
# @!attribute [rw] metrics_schema_uri
|
30
30
|
# @return [::String]
|
31
|
-
#
|
31
|
+
# Points to a YAML file stored on Google Cloud Storage describing the
|
32
32
|
# {::Google::Cloud::AIPlatform::V1::ModelEvaluation#metrics metrics} of this ModelEvaluation. The schema is
|
33
33
|
# defined as an OpenAPI 3.0.2 [Schema
|
34
34
|
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
35
|
-
# @!attribute [
|
35
|
+
# @!attribute [rw] metrics
|
36
36
|
# @return [::Google::Protobuf::Value]
|
37
|
-
#
|
37
|
+
# Evaluation metrics of the Model. The schema of the metrics is stored in
|
38
38
|
# {::Google::Cloud::AIPlatform::V1::ModelEvaluation#metrics_schema_uri metrics_schema_uri}
|
39
39
|
# @!attribute [r] create_time
|
40
40
|
# @return [::Google::Protobuf::Timestamp]
|
41
41
|
# Output only. Timestamp when this ModelEvaluation was created.
|
42
|
-
# @!attribute [
|
42
|
+
# @!attribute [rw] slice_dimensions
|
43
43
|
# @return [::Array<::String>]
|
44
|
-
#
|
44
|
+
# All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
|
45
45
|
# ModelEvaluationSlices. The dimensions can be used as the filter of the
|
46
46
|
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluation_slices ModelService.ListModelEvaluationSlices} request, in the form of
|
47
47
|
# `slice.dimension = <dimension>`.
|
48
|
-
# @!attribute [
|
48
|
+
# @!attribute [rw] data_item_schema_uri
|
49
|
+
# @return [::String]
|
50
|
+
# Points to a YAML file stored on Google Cloud Storage describing
|
51
|
+
# [EvaluatedDataItemView.data_item_payload][] and
|
52
|
+
# [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
|
53
|
+
# OpenAPI 3.0.2 [Schema
|
54
|
+
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
55
|
+
#
|
56
|
+
# This field is not populated if there are neither EvaluatedDataItemViews nor
|
57
|
+
# EvaluatedAnnotations under this ModelEvaluation.
|
58
|
+
# @!attribute [rw] annotation_schema_uri
|
59
|
+
# @return [::String]
|
60
|
+
# Points to a YAML file stored on Google Cloud Storage describing
|
61
|
+
# [EvaluatedDataItemView.predictions][],
|
62
|
+
# [EvaluatedDataItemView.ground_truths][],
|
63
|
+
# [EvaluatedAnnotation.predictions][], and
|
64
|
+
# [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
|
65
|
+
# OpenAPI 3.0.2 [Schema
|
66
|
+
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
67
|
+
#
|
68
|
+
# This field is not populated if there are neither EvaluatedDataItemViews nor
|
69
|
+
# EvaluatedAnnotations under this ModelEvaluation.
|
70
|
+
# @!attribute [rw] model_explanation
|
49
71
|
# @return [::Google::Cloud::AIPlatform::V1::ModelExplanation]
|
50
|
-
#
|
72
|
+
# Aggregated explanation metrics for the Model's prediction output over the
|
51
73
|
# data this ModelEvaluation uses. This field is populated only if the Model
|
52
74
|
# is evaluated with explanations, and only for AutoML tabular Models.
|
75
|
+
# @!attribute [rw] explanation_specs
|
76
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::ModelEvaluation::ModelEvaluationExplanationSpec>]
|
77
|
+
# Describes the values of {::Google::Cloud::AIPlatform::V1::ExplanationSpec ExplanationSpec} that are used for explaining
|
78
|
+
# the predicted values on the evaluated data.
|
53
79
|
class ModelEvaluation
|
54
80
|
include ::Google::Protobuf::MessageExts
|
55
81
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
82
|
+
|
83
|
+
# @!attribute [rw] explanation_type
|
84
|
+
# @return [::String]
|
85
|
+
# Explanation type.
|
86
|
+
#
|
87
|
+
# For AutoML Image Classification models, possible values are:
|
88
|
+
#
|
89
|
+
# * `image-integrated-gradients`
|
90
|
+
# * `image-xrai`
|
91
|
+
# @!attribute [rw] explanation_spec
|
92
|
+
# @return [::Google::Cloud::AIPlatform::V1::ExplanationSpec]
|
93
|
+
# Explanation spec details.
|
94
|
+
class ModelEvaluationExplanationSpec
|
95
|
+
include ::Google::Protobuf::MessageExts
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
end
|
56
98
|
end
|
57
99
|
end
|
58
100
|
end
|
@@ -21,7 +21,7 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AIPlatform
|
23
23
|
module V1
|
24
|
-
# Next ID:
|
24
|
+
# Next ID: 7
|
25
25
|
# @!attribute [rw] training_dataset
|
26
26
|
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig::TrainingDataset]
|
27
27
|
# Training dataset for models. This field has to be set only if
|
@@ -222,6 +222,19 @@ module Google
|
|
222
222
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
223
223
|
end
|
224
224
|
|
225
|
+
# Request message for {::Google::Cloud::AIPlatform::V1::ModelService::Client#import_model_evaluation ModelService.ImportModelEvaluation}
|
226
|
+
# @!attribute [rw] parent
|
227
|
+
# @return [::String]
|
228
|
+
# Required. The name of the parent model resource.
|
229
|
+
# Format: `projects/{project}/locations/{location}/models/{model}`
|
230
|
+
# @!attribute [rw] model_evaluation
|
231
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelEvaluation]
|
232
|
+
# Required. Model evaluation resource to be imported.
|
233
|
+
class ImportModelEvaluationRequest
|
234
|
+
include ::Google::Protobuf::MessageExts
|
235
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
236
|
+
end
|
237
|
+
|
225
238
|
# Request message for {::Google::Cloud::AIPlatform::V1::ModelService::Client#get_model_evaluation ModelService.GetModelEvaluation}.
|
226
239
|
# @!attribute [rw] name
|
227
240
|
# @return [::String]
|
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.2.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-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -274,6 +274,7 @@ files:
|
|
274
274
|
- lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb
|
275
275
|
- lib/google/cloud/aiplatform/v1/feature_pb.rb
|
276
276
|
- lib/google/cloud/aiplatform/v1/feature_selector_pb.rb
|
277
|
+
- lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb
|
277
278
|
- lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb
|
278
279
|
- lib/google/cloud/aiplatform/v1/featurestore_online_service_services_pb.rb
|
279
280
|
- lib/google/cloud/aiplatform/v1/featurestore_pb.rb
|
@@ -363,6 +364,7 @@ files:
|
|
363
364
|
- proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb
|
364
365
|
- proto_docs/google/cloud/aiplatform/v1/feature_selector.rb
|
365
366
|
- proto_docs/google/cloud/aiplatform/v1/featurestore.rb
|
367
|
+
- proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb
|
366
368
|
- proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb
|
367
369
|
- proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb
|
368
370
|
- proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb
|