google-cloud-ai_platform-v1 0.16.0 → 0.18.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/dataset_service/client.rb +10 -7
- data/lib/google/cloud/ai_platform/v1/dataset_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +28 -21
- data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +10 -9
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +53 -50
- data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +18 -14
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +8 -4
- data/lib/google/cloud/ai_platform/v1/index_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +53 -36
- data/lib/google/cloud/ai_platform/v1/job_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +33 -36
- data/lib/google/cloud/ai_platform/v1/metadata_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +3 -4
- data/lib/google/cloud/ai_platform/v1/migration_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +44 -22
- data/lib/google/cloud/ai_platform/v1/model_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +28 -17
- data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +28 -19
- data/lib/google/cloud/ai_platform/v1/prediction_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +5 -3
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +165 -71
- data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +2 -2
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +8 -0
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/index_service_services_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +24 -14
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +10 -5
- data/lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb +16 -9
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +10 -6
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +17 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_services_pb.rb +8 -8
- data/proto_docs/google/cloud/aiplatform/v1/annotation.rb +9 -6
- data/proto_docs/google/cloud/aiplatform/v1/annotation_spec.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +183 -50
- data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +8 -7
- data/proto_docs/google/cloud/aiplatform/v1/context.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +34 -17
- data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +6 -5
- data/proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb +16 -16
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +33 -17
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +59 -32
- data/proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +38 -23
- data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +57 -35
- data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +8 -6
- data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +111 -75
- data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +58 -38
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +9 -6
- data/proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +12 -11
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -2
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +27 -19
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +138 -99
- data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +9 -7
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +18 -17
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +36 -24
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint_service.rb +49 -29
- data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +35 -17
- data/proto_docs/google/cloud/aiplatform/v1/io.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +94 -57
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +53 -43
- data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +5 -5
- data/proto_docs/google/cloud/aiplatform/v1/metadata_schema.rb +3 -3
- data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +141 -91
- data/proto_docs/google/cloud/aiplatform/v1/migratable_resource.rb +3 -3
- data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +18 -15
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +179 -132
- data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +21 -17
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +7 -6
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +11 -7
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +4 -2
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +110 -54
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +56 -42
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +42 -22
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +42 -28
- data/proto_docs/google/cloud/aiplatform/v1/saved_query.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/specialist_pool_service.rb +19 -11
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +42 -25
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_data.rb +8 -7
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +203 -109
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_time_series.rb +8 -6
- data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +84 -59
- data/proto_docs/google/cloud/aiplatform/v1/unmanaged_container_model.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/vizier_service.rb +40 -20
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +9 -9
@@ -52,8 +52,8 @@ module Google
|
|
52
52
|
# Output only. Latest triggered monitoring pipeline metadata.
|
53
53
|
# @!attribute [rw] model_deployment_monitoring_objective_configs
|
54
54
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringObjectiveConfig>]
|
55
|
-
# Required. The config for monitoring objectives. This is a per DeployedModel
|
56
|
-
# Each DeployedModel needs to be configured separately.
|
55
|
+
# Required. The config for monitoring objectives. This is a per DeployedModel
|
56
|
+
# config. Each DeployedModel needs to be configured separately.
|
57
57
|
# @!attribute [rw] model_deployment_monitoring_schedule_config
|
58
58
|
# @return [::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringScheduleConfig]
|
59
59
|
# Required. Schedule config for running the monitoring job.
|
@@ -71,10 +71,12 @@ module Google
|
|
71
71
|
# requests.
|
72
72
|
# @!attribute [rw] sample_predict_instance
|
73
73
|
# @return [::Google::Protobuf::Value]
|
74
|
-
# Sample Predict instance, same format as
|
74
|
+
# Sample Predict instance, same format as
|
75
|
+
# {::Google::Cloud::AIPlatform::V1::PredictRequest#instances PredictRequest.instances},
|
75
76
|
# this can be set as a replacement of
|
76
|
-
# {::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob#predict_instance_schema_uri ModelDeploymentMonitoringJob.predict_instance_schema_uri}.
|
77
|
-
# we will generate predict schema from collected predict
|
77
|
+
# {::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob#predict_instance_schema_uri ModelDeploymentMonitoringJob.predict_instance_schema_uri}.
|
78
|
+
# If not set, we will generate predict schema from collected predict
|
79
|
+
# requests.
|
78
80
|
# @!attribute [rw] analysis_instance_schema_uri
|
79
81
|
# @return [::String]
|
80
82
|
# YAML schema file uri describing the format of a single instance that you
|
@@ -90,9 +92,9 @@ module Google
|
|
90
92
|
# fields in predict instance formatted as string.
|
91
93
|
# @!attribute [r] bigquery_tables
|
92
94
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringBigQueryTable>]
|
93
|
-
# Output only. The created bigquery tables for the job under customer
|
94
|
-
# could do their own query & analysis. There could be 4 log
|
95
|
-
# maximum:
|
95
|
+
# Output only. The created bigquery tables for the job under customer
|
96
|
+
# project. Customer could do their own query & analysis. There could be 4 log
|
97
|
+
# tables in maximum:
|
96
98
|
# 1. Training data logging predict request/response
|
97
99
|
# 2. Serving data logging predict request/response
|
98
100
|
# @!attribute [rw] log_ttl
|
@@ -115,11 +117,12 @@ module Google
|
|
115
117
|
# Output only. Timestamp when this ModelDeploymentMonitoringJob was created.
|
116
118
|
# @!attribute [r] update_time
|
117
119
|
# @return [::Google::Protobuf::Timestamp]
|
118
|
-
# Output only. Timestamp when this ModelDeploymentMonitoringJob was updated
|
120
|
+
# Output only. Timestamp when this ModelDeploymentMonitoringJob was updated
|
121
|
+
# most recently.
|
119
122
|
# @!attribute [r] next_schedule_time
|
120
123
|
# @return [::Google::Protobuf::Timestamp]
|
121
|
-
# Output only. Timestamp when this monitoring pipeline will be scheduled to
|
122
|
-
# next round.
|
124
|
+
# Output only. Timestamp when this monitoring pipeline will be scheduled to
|
125
|
+
# run for the next round.
|
123
126
|
# @!attribute [rw] stats_anomalies_base_directory
|
124
127
|
# @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
|
125
128
|
# Stats anomalies base folder path.
|
@@ -238,17 +241,18 @@ module Google
|
|
238
241
|
# The config for scheduling monitoring job.
|
239
242
|
# @!attribute [rw] monitor_interval
|
240
243
|
# @return [::Google::Protobuf::Duration]
|
241
|
-
# Required. The model monitoring job scheduling interval. It will be rounded
|
242
|
-
# full hour. This defines how often the monitoring jobs are
|
244
|
+
# Required. The model monitoring job scheduling interval. It will be rounded
|
245
|
+
# up to next full hour. This defines how often the monitoring jobs are
|
246
|
+
# triggered.
|
243
247
|
# @!attribute [rw] monitor_window
|
244
248
|
# @return [::Google::Protobuf::Duration]
|
245
249
|
# The time window of the prediction data being included in each prediction
|
246
250
|
# dataset. This window specifies how long the data should be collected from
|
247
251
|
# historical model results for each run. If not set,
|
248
|
-
# {::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringScheduleConfig#monitor_interval ModelDeploymentMonitoringScheduleConfig.monitor_interval}
|
249
|
-
# e.g. If currently the cutoff time is 2022-01-08 14:30:00 and
|
250
|
-
# monitor_window is set to be 3600, then data from 2022-01-08 13:30:00
|
251
|
-
#
|
252
|
+
# {::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringScheduleConfig#monitor_interval ModelDeploymentMonitoringScheduleConfig.monitor_interval}
|
253
|
+
# will be used. e.g. If currently the cutoff time is 2022-01-08 14:30:00 and
|
254
|
+
# the monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 to
|
255
|
+
# 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the
|
252
256
|
# monitoring statistics.
|
253
257
|
class ModelDeploymentMonitoringScheduleConfig
|
254
258
|
include ::Google::Protobuf::MessageExts
|
@@ -32,8 +32,8 @@ module Google
|
|
32
32
|
# @!attribute [rw] metrics_schema_uri
|
33
33
|
# @return [::String]
|
34
34
|
# Points to a YAML file stored on Google Cloud Storage describing the
|
35
|
-
# {::Google::Cloud::AIPlatform::V1::ModelEvaluation#metrics metrics} of this
|
36
|
-
# defined as an OpenAPI 3.0.2 [Schema
|
35
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluation#metrics metrics} of this
|
36
|
+
# ModelEvaluation. The schema is defined as an OpenAPI 3.0.2 [Schema
|
37
37
|
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
38
38
|
# @!attribute [rw] metrics
|
39
39
|
# @return [::Google::Protobuf::Value]
|
@@ -46,8 +46,8 @@ module Google
|
|
46
46
|
# @return [::Array<::String>]
|
47
47
|
# All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
|
48
48
|
# ModelEvaluationSlices. The dimensions can be used as the filter of the
|
49
|
-
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluation_slices ModelService.ListModelEvaluationSlices}
|
50
|
-
# `slice.dimension = <dimension>`.
|
49
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluation_slices ModelService.ListModelEvaluationSlices}
|
50
|
+
# request, in the form of `slice.dimension = <dimension>`.
|
51
51
|
# @!attribute [rw] data_item_schema_uri
|
52
52
|
# @return [::String]
|
53
53
|
# Points to a YAML file stored on Google Cloud Storage describing
|
@@ -77,8 +77,9 @@ module Google
|
|
77
77
|
# is evaluated with explanations, and only for AutoML tabular Models.
|
78
78
|
# @!attribute [rw] explanation_specs
|
79
79
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::ModelEvaluation::ModelEvaluationExplanationSpec>]
|
80
|
-
# Describes the values of
|
81
|
-
#
|
80
|
+
# Describes the values of
|
81
|
+
# {::Google::Cloud::AIPlatform::V1::ExplanationSpec ExplanationSpec} that are used
|
82
|
+
# for explaining the predicted values on the evaluated data.
|
82
83
|
# @!attribute [rw] metadata
|
83
84
|
# @return [::Google::Protobuf::Value]
|
84
85
|
# The metadata of the ModelEvaluation.
|
@@ -31,14 +31,16 @@ module Google
|
|
31
31
|
# Output only. The slice of the test data that is used to evaluate the Model.
|
32
32
|
# @!attribute [r] metrics_schema_uri
|
33
33
|
# @return [::String]
|
34
|
-
# Output only. Points to a YAML file stored on Google Cloud Storage
|
35
|
-
#
|
36
|
-
#
|
34
|
+
# Output only. Points to a YAML file stored on Google Cloud Storage
|
35
|
+
# describing the
|
36
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice#metrics metrics} of this
|
37
|
+
# ModelEvaluationSlice. The schema is defined as an OpenAPI 3.0.2 [Schema
|
37
38
|
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
38
39
|
# @!attribute [r] metrics
|
39
40
|
# @return [::Google::Protobuf::Value]
|
40
|
-
# Output only. Sliced evaluation metrics of the Model. The schema of the
|
41
|
-
#
|
41
|
+
# Output only. Sliced evaluation metrics of the Model. The schema of the
|
42
|
+
# metrics is stored in
|
43
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice#metrics_schema_uri metrics_schema_uri}
|
42
44
|
# @!attribute [r] create_time
|
43
45
|
# @return [::Google::Protobuf::Timestamp]
|
44
46
|
# Output only. Timestamp when this ModelEvaluationSlice was created.
|
@@ -52,8 +54,10 @@ module Google
|
|
52
54
|
# Output only. The dimension of the slice.
|
53
55
|
# Well-known dimensions are:
|
54
56
|
# * `annotationSpec`: This slice is on the test data that has either
|
55
|
-
# ground truth or prediction with
|
56
|
-
#
|
57
|
+
# ground truth or prediction with
|
58
|
+
# {::Google::Cloud::AIPlatform::V1::AnnotationSpec#display_name AnnotationSpec.display_name}
|
59
|
+
# equals to
|
60
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice#value value}.
|
57
61
|
# @!attribute [r] value
|
58
62
|
# @return [::String]
|
59
63
|
# Output only. The value of the dimension in this slice.
|
@@ -173,8 +173,10 @@ module Google
|
|
173
173
|
include ::Google::Protobuf::MessageExts
|
174
174
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
175
175
|
|
176
|
-
# Output from
|
177
|
-
#
|
176
|
+
# Output from
|
177
|
+
# {::Google::Cloud::AIPlatform::V1::BatchPredictionJob BatchPredictionJob} for
|
178
|
+
# Model Monitoring baseline dataset, which can be used to generate baseline
|
179
|
+
# attribution scores.
|
178
180
|
# @!attribute [rw] gcs
|
179
181
|
# @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
|
180
182
|
# Cloud Storage location for BatchExplain output.
|
@@ -21,15 +21,16 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AIPlatform
|
23
23
|
module V1
|
24
|
-
# Request message for
|
24
|
+
# Request message for
|
25
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#upload_model ModelService.UploadModel}.
|
25
26
|
# @!attribute [rw] parent
|
26
27
|
# @return [::String]
|
27
28
|
# Required. The resource name of the Location into which to upload the Model.
|
28
29
|
# Format: `projects/{project}/locations/{location}`
|
29
30
|
# @!attribute [rw] parent_model
|
30
31
|
# @return [::String]
|
31
|
-
# Optional. The resource name of the model into which to upload the version.
|
32
|
-
# specify this field when uploading a new version.
|
32
|
+
# Optional. The resource name of the model into which to upload the version.
|
33
|
+
# Only specify this field when uploading a new version.
|
33
34
|
# @!attribute [rw] model_id
|
34
35
|
# @return [::String]
|
35
36
|
# Optional. The ID to use for the uploaded Model, which will become the final
|
@@ -54,7 +55,9 @@ module Google
|
|
54
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
56
|
end
|
56
57
|
|
57
|
-
# Details of
|
58
|
+
# Details of
|
59
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#upload_model ModelService.UploadModel}
|
60
|
+
# operation.
|
58
61
|
# @!attribute [rw] generic_metadata
|
59
62
|
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
60
63
|
# The common part of the operation metadata.
|
@@ -63,7 +66,9 @@ module Google
|
|
63
66
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
67
|
end
|
65
68
|
|
66
|
-
# Response message of
|
69
|
+
# Response message of
|
70
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#upload_model ModelService.UploadModel}
|
71
|
+
# operation.
|
67
72
|
# @!attribute [rw] model
|
68
73
|
# @return [::String]
|
69
74
|
# The name of the uploaded Model resource.
|
@@ -76,7 +81,8 @@ module Google
|
|
76
81
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
82
|
end
|
78
83
|
|
79
|
-
# Request message for
|
84
|
+
# Request message for
|
85
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#get_model ModelService.GetModel}.
|
80
86
|
# @!attribute [rw] name
|
81
87
|
# @return [::String]
|
82
88
|
# Required. The name of the Model resource.
|
@@ -96,7 +102,8 @@ module Google
|
|
96
102
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
103
|
end
|
98
104
|
|
99
|
-
# Request message for
|
105
|
+
# Request message for
|
106
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_models ModelService.ListModels}.
|
100
107
|
# @!attribute [rw] parent
|
101
108
|
# @return [::String]
|
102
109
|
# Required. The resource name of the Location to list the Models from.
|
@@ -107,7 +114,8 @@ module Google
|
|
107
114
|
# both snake_case and camelCase are supported.
|
108
115
|
#
|
109
116
|
# * `model` supports = and !=. `model` represents the Model ID,
|
110
|
-
# i.e. the last segment of the Model's
|
117
|
+
# i.e. the last segment of the Model's [resource
|
118
|
+
# name][google.cloud.aiplatform.v1.Model.name].
|
111
119
|
# * `display_name` supports = and !=
|
112
120
|
# * `labels` supports general map functions that is:
|
113
121
|
# * `labels.key=value` - key:value equality
|
@@ -126,8 +134,10 @@ module Google
|
|
126
134
|
# @return [::String]
|
127
135
|
# The standard list page token.
|
128
136
|
# Typically obtained via
|
129
|
-
# {::Google::Cloud::AIPlatform::V1::ListModelsResponse#next_page_token ListModelsResponse.next_page_token}
|
130
|
-
#
|
137
|
+
# {::Google::Cloud::AIPlatform::V1::ListModelsResponse#next_page_token ListModelsResponse.next_page_token}
|
138
|
+
# of the previous
|
139
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_models ModelService.ListModels}
|
140
|
+
# call.
|
131
141
|
# @!attribute [rw] read_mask
|
132
142
|
# @return [::Google::Protobuf::FieldMask]
|
133
143
|
# Mask specifying which fields to read.
|
@@ -147,20 +157,24 @@ module Google
|
|
147
157
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
148
158
|
end
|
149
159
|
|
150
|
-
# Response message for
|
160
|
+
# Response message for
|
161
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_models ModelService.ListModels}
|
151
162
|
# @!attribute [rw] models
|
152
163
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Model>]
|
153
164
|
# List of Models in the requested page.
|
154
165
|
# @!attribute [rw] next_page_token
|
155
166
|
# @return [::String]
|
156
167
|
# A token to retrieve next page of results.
|
157
|
-
# Pass to
|
168
|
+
# Pass to
|
169
|
+
# {::Google::Cloud::AIPlatform::V1::ListModelsRequest#page_token ListModelsRequest.page_token}
|
170
|
+
# to obtain that page.
|
158
171
|
class ListModelsResponse
|
159
172
|
include ::Google::Protobuf::MessageExts
|
160
173
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
174
|
end
|
162
175
|
|
163
|
-
# Request message for
|
176
|
+
# Request message for
|
177
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_versions ModelService.ListModelVersions}.
|
164
178
|
# @!attribute [rw] name
|
165
179
|
# @return [::String]
|
166
180
|
# Required. The name of the model to list versions for.
|
@@ -171,8 +185,8 @@ module Google
|
|
171
185
|
# @return [::String]
|
172
186
|
# The standard list page token.
|
173
187
|
# Typically obtained via
|
174
|
-
# {::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse#next_page_token ListModelVersionsResponse.next_page_token}
|
175
|
-
# [ModelService.ListModelversions][] call.
|
188
|
+
# {::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse#next_page_token ListModelVersionsResponse.next_page_token}
|
189
|
+
# of the previous [ModelService.ListModelversions][] call.
|
176
190
|
# @!attribute [rw] filter
|
177
191
|
# @return [::String]
|
178
192
|
# An expression for filtering the results of the request. For field names
|
@@ -189,12 +203,23 @@ module Google
|
|
189
203
|
# @!attribute [rw] read_mask
|
190
204
|
# @return [::Google::Protobuf::FieldMask]
|
191
205
|
# Mask specifying which fields to read.
|
206
|
+
# @!attribute [rw] order_by
|
207
|
+
# @return [::String]
|
208
|
+
# A comma-separated list of fields to order by, sorted in ascending order.
|
209
|
+
# Use "desc" after a field name for descending.
|
210
|
+
# Supported fields:
|
211
|
+
#
|
212
|
+
# * `create_time`
|
213
|
+
# * `update_time`
|
214
|
+
#
|
215
|
+
# Example: `update_time asc, create_time desc`.
|
192
216
|
class ListModelVersionsRequest
|
193
217
|
include ::Google::Protobuf::MessageExts
|
194
218
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
195
219
|
end
|
196
220
|
|
197
|
-
# Response message for
|
221
|
+
# Response message for
|
222
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_versions ModelService.ListModelVersions}
|
198
223
|
# @!attribute [rw] models
|
199
224
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Model>]
|
200
225
|
# List of Model versions in the requested page.
|
@@ -203,13 +228,16 @@ module Google
|
|
203
228
|
# @!attribute [rw] next_page_token
|
204
229
|
# @return [::String]
|
205
230
|
# A token to retrieve the next page of results.
|
206
|
-
# Pass to
|
231
|
+
# Pass to
|
232
|
+
# {::Google::Cloud::AIPlatform::V1::ListModelVersionsRequest#page_token ListModelVersionsRequest.page_token}
|
233
|
+
# to obtain that page.
|
207
234
|
class ListModelVersionsResponse
|
208
235
|
include ::Google::Protobuf::MessageExts
|
209
236
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
210
237
|
end
|
211
238
|
|
212
|
-
# Request message for
|
239
|
+
# Request message for
|
240
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#update_model ModelService.UpdateModel}.
|
213
241
|
# @!attribute [rw] model
|
214
242
|
# @return [::Google::Cloud::AIPlatform::V1::Model]
|
215
243
|
# Required. The Model which replaces the resource on the server.
|
@@ -233,13 +261,15 @@ module Google
|
|
233
261
|
# @!attribute [rw] update_mask
|
234
262
|
# @return [::Google::Protobuf::FieldMask]
|
235
263
|
# Required. The update mask applies to the resource.
|
236
|
-
# For the `FieldMask` definition, see
|
264
|
+
# For the `FieldMask` definition, see
|
265
|
+
# {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
|
237
266
|
class UpdateModelRequest
|
238
267
|
include ::Google::Protobuf::MessageExts
|
239
268
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
240
269
|
end
|
241
270
|
|
242
|
-
# Request message for
|
271
|
+
# Request message for
|
272
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#delete_model ModelService.DeleteModel}.
|
243
273
|
# @!attribute [rw] name
|
244
274
|
# @return [::String]
|
245
275
|
# Required. The name of the Model resource to be deleted.
|
@@ -249,11 +279,12 @@ module Google
|
|
249
279
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
280
|
end
|
251
281
|
|
252
|
-
# Request message for
|
282
|
+
# Request message for
|
283
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#delete_model_version ModelService.DeleteModelVersion}.
|
253
284
|
# @!attribute [rw] name
|
254
285
|
# @return [::String]
|
255
|
-
# Required. The name of the model version to be deleted, with a version ID
|
256
|
-
# included.
|
286
|
+
# Required. The name of the model version to be deleted, with a version ID
|
287
|
+
# explicitly included.
|
257
288
|
#
|
258
289
|
# Example: `projects/{project}/locations/{location}/models/{model}@1234`
|
259
290
|
class DeleteModelVersionRequest
|
@@ -261,7 +292,8 @@ module Google
|
|
261
292
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
293
|
end
|
263
294
|
|
264
|
-
# Request message for
|
295
|
+
# Request message for
|
296
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#merge_version_aliases ModelService.MergeVersionAliases}.
|
265
297
|
# @!attribute [rw] name
|
266
298
|
# @return [::String]
|
267
299
|
# Required. The name of the model version to merge aliases, with a version ID
|
@@ -287,7 +319,8 @@ module Google
|
|
287
319
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
288
320
|
end
|
289
321
|
|
290
|
-
# Request message for
|
322
|
+
# Request message for
|
323
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#export_model ModelService.ExportModel}.
|
291
324
|
# @!attribute [rw] name
|
292
325
|
# @return [::String]
|
293
326
|
# Required. The resource name of the Model to export.
|
@@ -304,8 +337,9 @@ module Google
|
|
304
337
|
# @!attribute [rw] export_format_id
|
305
338
|
# @return [::String]
|
306
339
|
# The ID of the format in which the Model must be exported. Each Model
|
307
|
-
# lists the
|
308
|
-
# If
|
340
|
+
# lists the [export formats it
|
341
|
+
# supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If
|
342
|
+
# no value is provided here, then the first from the list of the Model's
|
309
343
|
# supported formats is used by default.
|
310
344
|
# @!attribute [rw] artifact_destination
|
311
345
|
# @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
|
@@ -329,13 +363,16 @@ module Google
|
|
329
363
|
end
|
330
364
|
end
|
331
365
|
|
332
|
-
# Details of
|
366
|
+
# Details of
|
367
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#export_model ModelService.ExportModel}
|
368
|
+
# operation.
|
333
369
|
# @!attribute [rw] generic_metadata
|
334
370
|
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
335
371
|
# The common part of the operation metadata.
|
336
372
|
# @!attribute [r] output_info
|
337
373
|
# @return [::Google::Cloud::AIPlatform::V1::ExportModelOperationMetadata::OutputInfo]
|
338
|
-
# Output only. Information further describing the output of this Model
|
374
|
+
# Output only. Information further describing the output of this Model
|
375
|
+
# export.
|
339
376
|
class ExportModelOperationMetadata
|
340
377
|
include ::Google::Protobuf::MessageExts
|
341
378
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -344,26 +381,29 @@ module Google
|
|
344
381
|
# {::Google::Cloud::AIPlatform::V1::ExportModelRequest::OutputConfig ExportModelRequest.OutputConfig}.
|
345
382
|
# @!attribute [r] artifact_output_uri
|
346
383
|
# @return [::String]
|
347
|
-
# Output only. If the Model artifact is being exported to Google Cloud
|
348
|
-
# the full path of the directory created, into which the
|
349
|
-
# being written to.
|
384
|
+
# Output only. If the Model artifact is being exported to Google Cloud
|
385
|
+
# Storage this is the full path of the directory created, into which the
|
386
|
+
# Model files are being written to.
|
350
387
|
# @!attribute [r] image_output_uri
|
351
388
|
# @return [::String]
|
352
|
-
# Output only. If the Model image is being exported to Google Container
|
353
|
-
# Artifact Registry this is the full path of the image created.
|
389
|
+
# Output only. If the Model image is being exported to Google Container
|
390
|
+
# Registry or Artifact Registry this is the full path of the image created.
|
354
391
|
class OutputInfo
|
355
392
|
include ::Google::Protobuf::MessageExts
|
356
393
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
357
394
|
end
|
358
395
|
end
|
359
396
|
|
360
|
-
# Response message of
|
397
|
+
# Response message of
|
398
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#export_model ModelService.ExportModel}
|
399
|
+
# operation.
|
361
400
|
class ExportModelResponse
|
362
401
|
include ::Google::Protobuf::MessageExts
|
363
402
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
364
403
|
end
|
365
404
|
|
366
|
-
# Request message for
|
405
|
+
# Request message for
|
406
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#import_model_evaluation ModelService.ImportModelEvaluation}
|
367
407
|
# @!attribute [rw] parent
|
368
408
|
# @return [::String]
|
369
409
|
# Required. The name of the parent model resource.
|
@@ -376,7 +416,8 @@ module Google
|
|
376
416
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
377
417
|
end
|
378
418
|
|
379
|
-
# Request message for
|
419
|
+
# Request message for
|
420
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#batch_import_model_evaluation_slices ModelService.BatchImportModelEvaluationSlices}
|
380
421
|
# @!attribute [rw] parent
|
381
422
|
# @return [::String]
|
382
423
|
# Required. The name of the parent ModelEvaluation resource.
|
@@ -390,16 +431,19 @@ module Google
|
|
390
431
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
391
432
|
end
|
392
433
|
|
393
|
-
# Response message for
|
434
|
+
# Response message for
|
435
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#batch_import_model_evaluation_slices ModelService.BatchImportModelEvaluationSlices}
|
394
436
|
# @!attribute [r] imported_model_evaluation_slices
|
395
437
|
# @return [::Array<::String>]
|
396
|
-
# Output only. List of imported
|
438
|
+
# Output only. List of imported
|
439
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice#name ModelEvaluationSlice.name}.
|
397
440
|
class BatchImportModelEvaluationSlicesResponse
|
398
441
|
include ::Google::Protobuf::MessageExts
|
399
442
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
400
443
|
end
|
401
444
|
|
402
|
-
# Request message for
|
445
|
+
# Request message for
|
446
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#get_model_evaluation ModelService.GetModelEvaluation}.
|
403
447
|
# @!attribute [rw] name
|
404
448
|
# @return [::String]
|
405
449
|
# Required. The name of the ModelEvaluation resource.
|
@@ -410,7 +454,8 @@ module Google
|
|
410
454
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
411
455
|
end
|
412
456
|
|
413
|
-
# Request message for
|
457
|
+
# Request message for
|
458
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluations ModelService.ListModelEvaluations}.
|
414
459
|
# @!attribute [rw] parent
|
415
460
|
# @return [::String]
|
416
461
|
# Required. The resource name of the Model to list the ModelEvaluations from.
|
@@ -425,8 +470,10 @@ module Google
|
|
425
470
|
# @return [::String]
|
426
471
|
# The standard list page token.
|
427
472
|
# Typically obtained via
|
428
|
-
# {::Google::Cloud::AIPlatform::V1::ListModelEvaluationsResponse#next_page_token ListModelEvaluationsResponse.next_page_token}
|
429
|
-
#
|
473
|
+
# {::Google::Cloud::AIPlatform::V1::ListModelEvaluationsResponse#next_page_token ListModelEvaluationsResponse.next_page_token}
|
474
|
+
# of the previous
|
475
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluations ModelService.ListModelEvaluations}
|
476
|
+
# call.
|
430
477
|
# @!attribute [rw] read_mask
|
431
478
|
# @return [::Google::Protobuf::FieldMask]
|
432
479
|
# Mask specifying which fields to read.
|
@@ -435,20 +482,24 @@ module Google
|
|
435
482
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
436
483
|
end
|
437
484
|
|
438
|
-
# Response message for
|
485
|
+
# Response message for
|
486
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluations ModelService.ListModelEvaluations}.
|
439
487
|
# @!attribute [rw] model_evaluations
|
440
488
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::ModelEvaluation>]
|
441
489
|
# List of ModelEvaluations in the requested page.
|
442
490
|
# @!attribute [rw] next_page_token
|
443
491
|
# @return [::String]
|
444
492
|
# A token to retrieve next page of results.
|
445
|
-
# Pass to
|
493
|
+
# Pass to
|
494
|
+
# {::Google::Cloud::AIPlatform::V1::ListModelEvaluationsRequest#page_token ListModelEvaluationsRequest.page_token}
|
495
|
+
# to obtain that page.
|
446
496
|
class ListModelEvaluationsResponse
|
447
497
|
include ::Google::Protobuf::MessageExts
|
448
498
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
449
499
|
end
|
450
500
|
|
451
|
-
# Request message for
|
501
|
+
# Request message for
|
502
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#get_model_evaluation_slice ModelService.GetModelEvaluationSlice}.
|
452
503
|
# @!attribute [rw] name
|
453
504
|
# @return [::String]
|
454
505
|
# Required. The name of the ModelEvaluationSlice resource.
|
@@ -459,11 +510,12 @@ module Google
|
|
459
510
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
460
511
|
end
|
461
512
|
|
462
|
-
# Request message for
|
513
|
+
# Request message for
|
514
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluation_slices ModelService.ListModelEvaluationSlices}.
|
463
515
|
# @!attribute [rw] parent
|
464
516
|
# @return [::String]
|
465
|
-
# Required. The resource name of the ModelEvaluation to list the
|
466
|
-
# from. Format:
|
517
|
+
# Required. The resource name of the ModelEvaluation to list the
|
518
|
+
# ModelEvaluationSlices from. Format:
|
467
519
|
# `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}`
|
468
520
|
# @!attribute [rw] filter
|
469
521
|
# @return [::String]
|
@@ -477,8 +529,10 @@ module Google
|
|
477
529
|
# @return [::String]
|
478
530
|
# The standard list page token.
|
479
531
|
# Typically obtained via
|
480
|
-
# {::Google::Cloud::AIPlatform::V1::ListModelEvaluationSlicesResponse#next_page_token ListModelEvaluationSlicesResponse.next_page_token}
|
481
|
-
#
|
532
|
+
# {::Google::Cloud::AIPlatform::V1::ListModelEvaluationSlicesResponse#next_page_token ListModelEvaluationSlicesResponse.next_page_token}
|
533
|
+
# of the previous
|
534
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluation_slices ModelService.ListModelEvaluationSlices}
|
535
|
+
# call.
|
482
536
|
# @!attribute [rw] read_mask
|
483
537
|
# @return [::Google::Protobuf::FieldMask]
|
484
538
|
# Mask specifying which fields to read.
|
@@ -487,15 +541,17 @@ module Google
|
|
487
541
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
488
542
|
end
|
489
543
|
|
490
|
-
# Response message for
|
544
|
+
# Response message for
|
545
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluation_slices ModelService.ListModelEvaluationSlices}.
|
491
546
|
# @!attribute [rw] model_evaluation_slices
|
492
547
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice>]
|
493
548
|
# List of ModelEvaluations in the requested page.
|
494
549
|
# @!attribute [rw] next_page_token
|
495
550
|
# @return [::String]
|
496
551
|
# A token to retrieve next page of results.
|
497
|
-
# Pass to
|
498
|
-
#
|
552
|
+
# Pass to
|
553
|
+
# {::Google::Cloud::AIPlatform::V1::ListModelEvaluationSlicesRequest#page_token ListModelEvaluationSlicesRequest.page_token}
|
554
|
+
# to obtain that page.
|
499
555
|
class ListModelEvaluationSlicesResponse
|
500
556
|
include ::Google::Protobuf::MessageExts
|
501
557
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|