Skip to content

Commit 936ab35

Browse files
Google APIscopybara-github
authored andcommitted
feat: add display_name and metadata to ModelEvaluation in aiplatform model_evaluation.proto
PiperOrigin-RevId: 448160148
1 parent c4f5b62 commit 936ab35

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/model_evaluation.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ message ModelEvaluation {
5454
// Output only. The resource name of the ModelEvaluation.
5555
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
5656

57+
// The display name of the ModelEvaluation.
58+
string display_name = 10;
59+
5760
// Points to a YAML file stored on Google Cloud Storage describing the
5861
// [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
5962
// defined as an OpenAPI 3.0.2 [Schema
@@ -104,4 +107,10 @@ message ModelEvaluation {
104107
// Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
105108
// the predicted values on the evaluated data.
106109
repeated ModelEvaluationExplanationSpec explanation_specs = 9;
110+
111+
// The metadata of the ModelEvaluation.
112+
// For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a
113+
// structured value with keys of "pipeline_job_id", "evaluation_dataset_type",
114+
// "evaluation_dataset_path".
115+
google.protobuf.Value metadata = 11;
107116
}

google/cloud/aiplatform/v1beta1/model_evaluation.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ message ModelEvaluation {
5454
// Output only. The resource name of the ModelEvaluation.
5555
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
5656

57+
// The display name of the ModelEvaluation.
58+
string display_name = 10;
59+
5760
// Points to a YAML file stored on Google Cloud Storage describing the
5861
// [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
5962
// defined as an OpenAPI 3.0.2 [Schema
@@ -82,4 +85,10 @@ message ModelEvaluation {
8285
// Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
8386
// the predicted values on the evaluated data.
8487
repeated ModelEvaluationExplanationSpec explanation_specs = 9;
88+
89+
// The metadata of the ModelEvaluation.
90+
// For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a
91+
// structured value with keys of "pipeline_job_id", "evaluation_dataset_type",
92+
// "evaluation_dataset_path".
93+
google.protobuf.Value metadata = 11;
8594
}

0 commit comments

Comments
 (0)