Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 1e6dcb6

Browse files
feat: add display_name and metadata to ModelEvaluation in aiplatform model_evaluation.proto (#297)
PiperOrigin-RevId: 447082691 Source-Link: googleapis/googleapis@02b3022 Source-Link: https://github.com/googleapis/googleapis-gen/commit/753e1acf0deda59bc451482e6278c7dab4908b9c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzUzZTFhY2YwZGVkYTU5YmM0NTE0ODJlNjI3OGM3ZGFiNDkwOGI5YyJ9 PiperOrigin-RevId: 448116670 Source-Link: googleapis/googleapis@914bc52 Source-Link: https://github.com/googleapis/googleapis-gen/commit/db499206c1ede59f599ca2b05699e86bd4ee152e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGI0OTkyMDZjMWVkZTU5ZjU5OWNhMmIwNTY5OWU4NmJkNGVlMTUyZSJ9 See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md PiperOrigin-RevId: 448160148 Source-Link: googleapis/googleapis@936ab35 Source-Link: https://github.com/googleapis/googleapis-gen/commit/f841b8e23d816e998f9e8e6c0e04ba92b7f6b835 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjg0MWI4ZTIzZDgxNmU5OThmOWU4ZTZjMGUwNGJhOTJiN2Y2YjgzNSJ9
1 parent ffc9a3f commit 1e6dcb6

49 files changed

Lines changed: 683 additions & 5 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

protos/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
}

protos/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
}

protos/google/cloud/aiplatform/v1beta1/pipeline_job.proto

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,27 @@ message PipelineJob {
150150
string network = 18 [(google.api.resource_reference) = {
151151
type: "compute.googleapis.com/Network"
152152
}];
153+
154+
// A template uri from where the [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec], if empty, will
155+
// be downloaded.
156+
string template_uri = 19;
157+
158+
// Output only. Pipeline template metadata. Will fill up fields if
159+
// [PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri] is from supported template registry.
160+
PipelineTemplateMetadata template_metadata = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
161+
}
162+
163+
// Pipeline template metadata if [PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri] is from supported
164+
// template registry. Currently, the only supported registry is Artifact
165+
// Registry.
166+
message PipelineTemplateMetadata {
167+
// The version_name in artifact registry.
168+
//
169+
// Will always be presented in output if the [PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri] is
170+
// from supported template registry.
171+
//
172+
// Format is "sha256:abcdef123456...".
173+
string version = 3;
153174
}
154175

155176
// The runtime detail of PipelineJob.

protos/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ import "google/cloud/aiplatform/v1beta1/schema/geometry.proto";
2121
import "google/protobuf/duration.proto";
2222
import "google/api/annotations.proto";
2323

24+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema";
2425
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema";
2526
option java_multiple_files = true;
2627
option java_outer_classname = "AnnotationPayloadProto";
2728
option java_package = "com.google.cloud.aiplatform.v1beta1.schema";
29+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1\\Schema";
30+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1::Schema";
2831

2932
// Annotation details specific to image classification.
3033
message ImageClassificationAnnotation {

protos/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ package google.cloud.aiplatform.v1beta1.schema;
1919
import "google/type/color.proto";
2020
import "google/api/annotations.proto";
2121

22+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema";
2223
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema";
2324
option java_multiple_files = true;
2425
option java_outer_classname = "AnnotationSpecColorProto";
2526
option java_package = "com.google.cloud.aiplatform.v1beta1.schema";
27+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1\\Schema";
28+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1::Schema";
2629

2730
// An entry of mapping between color and AnnotationSpec. The mapping is used in
2831
// segmentation mask.

protos/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ import "google/api/field_behavior.proto";
2020
import "google/protobuf/duration.proto";
2121
import "google/api/annotations.proto";
2222

23+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema";
2324
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema";
2425
option java_multiple_files = true;
2526
option java_outer_classname = "DataItemPayloadProto";
2627
option java_package = "com.google.cloud.aiplatform.v1beta1.schema";
28+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1\\Schema";
29+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1::Schema";
2730

2831
// Payload of Image DataItem.
2932
message ImageDataItem {

protos/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ package google.cloud.aiplatform.v1beta1.schema;
1818

1919
import "google/api/annotations.proto";
2020

21+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema";
2122
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema";
2223
option java_multiple_files = true;
2324
option java_outer_classname = "DatasetMetadataProto";
2425
option java_package = "com.google.cloud.aiplatform.v1beta1.schema";
26+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1\\Schema";
27+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1::Schema";
2528

2629
// The metadata of Datasets that contain Image DataItems.
2730
message ImageDatasetMetadata {

protos/google/cloud/aiplatform/v1beta1/schema/geometry.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ package google.cloud.aiplatform.v1beta1.schema;
1818

1919
import "google/api/annotations.proto";
2020

21+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema";
2122
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema";
2223
option java_multiple_files = true;
2324
option java_outer_classname = "GeometryProto";
2425
option java_package = "com.google.cloud.aiplatform.v1beta1.schema";
26+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1\\Schema";
27+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1::Schema";
2528

2629
// A vertex represents a 2D point in the image.
2730
// NOTE: the normalized vertex coordinates are relative to the original image

protos/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance;
1818

1919
import "google/api/annotations.proto";
2020

21+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance";
2122
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance";
2223
option java_multiple_files = true;
2324
option java_outer_classname = "ImageClassificationPredictionInstanceProto";
2425
option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance";
26+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict\\Instance";
27+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1::Schema::Predict::Instance";
2528

2629
// Prediction input format for Image Classification.
2730
message ImageClassificationPredictionInstance {

protos/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance;
1818

1919
import "google/api/annotations.proto";
2020

21+
option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance";
2122
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance";
2223
option java_multiple_files = true;
2324
option java_outer_classname = "ImageObjectDetectionPredictionInstanceProto";
2425
option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance";
26+
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict\\Instance";
27+
option ruby_package = "Google::Cloud::AIPlatform::V1beta1::Schema::Predict::Instance";
2528

2629
// Prediction input format for Image Object Detection.
2730
message ImageObjectDetectionPredictionInstance {

0 commit comments

Comments
 (0)